Hi, in libc/strings/Makefile.in, it seems that wcsxfrm is included only if UCLIBC_HAS_LOCALE is selected.
But the test case test/locale-mbwc/tst_wcsxfrm.c is run if UCLIBC_HAS_WCHAR is selected. So, if WCHAR is enabled, but LOCALE disabled, the testsuite fails: gcc -Wall -Wstrict-prototypes -Os -funit-at-a-time -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -Os -D_GNU_SOURCE -I../../test -mlittle-endian -nostdinc -I../../install_dir/usr/include -I/usr/lib/gcc/armv5l-unknown-linux-uclibceabi/4.3.3//include-fixed -I/usr/lib/gcc/armv5l-unknown-linux-uclibceabi/4.3.3/include -D__USE_GNU -fno-builtin -c tst_wcsxfrm.c -o tst_wcsxfrm.o gcc -s -B../../lib -Wl,-rpath,../../lib -Wl,-rpath-link,../../lib -Wl,--dynamic-linker,/tmp/build/uclibc-0.9.30/build/test/locale-mbwc/../../lib/ld-uClibc.so.0 tst_wcsxfrm.o -o tst_wcsxfrm tst_wcsxfrm.o: In function `tst_wcsxfrm': tst_wcsxfrm.c:(.text+0x208): undefined reference to `wcsxfrm' tst_wcsxfrm.c:(.text+0x2c4): undefined reference to `wcsxfrm' collect2: ld returned 1 exit status make[2]: *** [tst_wcsxfrm] Error 1 T. _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
