Should libc/locale/lnumeric.c be in GENERAL_SOURCES (EL/IX level 1)?

Roger Sayle
Thu Aug 19 16:26:13 GMT 2021


I believe that newlib/libc/locale/ should place lnumeric.c

in GENERAL_SOURCES [EL/IX level 1].  The motivation for doing this is

that both stdlib/strtod.c and stdlib/gdtoa-gethex.c unconditionally

call __get_numeric_locale, and they themselves are in GENERAL_SOURCES

(i.e. EL/IX level 1).


This would fix another unresolved symbol problem on nvptx-none.


Many thanks in advance,

Best regards,



Roger Sayle

NextMove Software

Cambridge, UK


More information about the Newlib mailing list