Hi,
Trying to a CLFS-Embedded build I noticed that uClibc enters in a never-ending
loop when running "make oldconfig" at this point:
*
* String and Stdio Support
*
Use glibc generic string functions (UCLIBC_HAS_STRING_GENERIC_OPT) [Y/n/?] y
Use arch-specific string functions (UCLIBC_HAS_STRING_ARCH_OPT) [Y/n/?] y
Use Table Versions Of 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_TABLES) [Y/n/?] y
Support Signed Characters In 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_SIGNED)
[Y/n/?] y
ctype argument checking
> 1. Do not check -- unsafe (UCLIBC_HAS_CTYPE_UNSAFE)
2. Detect and handle appropriately (UCLIBC_HAS_CTYPE_CHECKED)
3. Issue a diagnostic and abort() (UCLIBC_HAS_CTYPE_ENFORCED)
choice[1-3?]:
That is due "make defconfig ARCH=i386" sets
UCLIBC_HAS_CTYPE_UNSAFE=y
And later we set, via a sed command
UCLIBC_HAS_CTYPE_CHECKED=y
That gets fools the extra/config/conf uClibc binary that parses .config file.
IMHO we should add
-e "s/UCLIBC_HAS_CTYPE_UNSAFE=y/# UCLIBC_HAS_CTYPE_UNSAFE is not set/"
to the set of sed commads.
--
Manuel Canales Esparcia
Usuario de LFS nÂș2886: http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES: http://es.tldp.org
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev