[Buildroot] [PATCH] package/uclibc: fix ctype.h is*_l definitions

Yann E. MORIN yann.morin.1998 at free.fr
Sun Feb 9 16:38:42 UTC 2020


Max, All,

On 2020-02-08 09:32 +0100, Peter Korsgaard spake thusly:
> >>>>> "Max" == Max Filippov <jcmvbkbc at gmail.com> writes:
> 
>  > ctype locale-specific macro definitions are broken because they result
>  > in dereference of pointer to structure of incomplete type.
>  > Drop these macros since they are optional and let applications use
>  > functions with the same names.
> 
>  > Backported from:
>  >   https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=d1a3ca7ca56630fddde7311a0474eed4a21335a7
>  > Fixes:
>  >   http://autobuild.buildroot.net/results/b7ba1210d5aa184b133f0171da621d2b0083ec39
> 
>  > Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> 
> Committed, thanks.

uClibc now fails to build:
    http://autobuild.buildroot.org/results/124/124e8ad32e1dbaf131749456f4b59333623cd91f/build-end.log

    home/test/autobuild/run/instance-3/output-1/host/lib/gcc/xtensa-build
    root-linux-uclibc/8.3.0/../../../../xtensa-buildroot-linux-uclibc/bin
    /ld: libc/libc_so.a(isalnum_l.os):(.text+0x0): undefined reference to
    `__isctype_l'

Care to have a look, please?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list