Saturday, 16 July 2022

Re: [gccsdk] [PATCH] UnixLib: support for POSIX.1-2008 extendedlocaleAPIs

On Jul 16 2022, at 10:23 pm, David Pitt <pittdj@pittdj.co.uk> wrote:

> Revision 7703 supplies the missing locale_t header but a gcc4 build now
> fails with :-
>
> /home/djp/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/scl-module/hard/fpa/libunixlib.a(stricmp.o):
> In function `strcasecmp_l':
> /home/djp/gccsdk/gcc4/srcdir/gcc/libunixlib/string/stricmp.c:43: undefined
> reference to `tolower_l'
> /home/djp/gccsdk/gcc4/srcdir/gcc/libunixlib/string/stricmp.c:43: undefined
> reference to `tolower_l'

Apologies, I failed to svn add the bits/locale_t.h file from the patch.
I committed that in 7703.

I did a fresh checkout of 7703 and it built for me (Ubuntu 21.10 amd64).
Perhaps you need to clean your build if there are files left over from a
previous revision?

Theo

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment