Hi,

I am trying to build cross-toolchain with linuxheaders 2.6.16.16, GCC
4.10, Glibc 2.4 and Binutils 2.16.92 for mipsel platform.
I am following the steps for cross-compilation as per the book at clfs site.

I was able to build binutils and static gcc but got stuck at glibc
build with following error message:

************************************************************************************************
In file included from ../ports/sysdeps/mips/libc-tls.c:20:
../csu/libc-tls.c: In function '__libc_setup_tls':
../csu/libc-tls.c:192: error: '__NR_set_thread_area' undeclared (first
use in this function)
../csu/libc-tls.c:192: error: (Each undeclared identifier is reported only once
../csu/libc-tls.c:192: error: for each function it appears in.)
make[2]: *** [/home/hda6/sources/glibc-build/csu/libc-tls.o] Error 1
make[2]: Leaving directory `/home/hda6/sources/glibc-2.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/hda6/sources/glibc-2.4'
make: *** [all] Error 2

**************************************************************************************************

Can anyone please comment on this issue?

Thanks and Regards,
Shyamal

_______________________________________________
Clfs-support mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support

Reply via email to