This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I have been trying to build glibc 2.4 for MIPS platform but am facing some problems. First of all, I tried to build the library with following command:
[root@sshyamal glibc-build]# ../glibc-2.4/configure --target=$TARGET --prefix=$PREFIX CC=${TARGET}-gcc --with-headers=/home/shyamal/linux-2.6.16/include --enable-add-ons=glibc-ports-2.4,nptl --with-binutils=${PREFIX}/bin --without-fp --disable-shared
I am getting following warning a finally a error message: configure: WARNING: *** These auxiliary programs are missing or incompatible versions: autoconf *** some features will be disabled. ****************************************************************************************** running configure fragment for nptl/sysdeps/pthread configure: error: compiler support for __thread is required ************************************************************************************************* However, my present autoconf version is 2.57 which is higher than mentioned in INSTALL notes.
The thread model problem could be due to the fact that the compiler was built with --disable-thread option.
I removed the nptl option from enable add ons list and added disable-sanity-checks option to overcome this error.
However, when I installed the glibc, I got the following error messages cc1: error: invalid option `preferred-stack-boundary=4' make[2]: *** [/tmp/mipsel-unknown-linux-gnu-toolchain/glibc-build/csu/init-first.o] Error 1 make[2]: Leaving directory `/tmp/mipsel-unknown-linux-gnu-toolchain/glibc-2.4/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/tmp/mipsel-unknown-linux-gnu-toolchain/glibc-2.4' make: *** [install] Error 2
Thanks and Regards, Shyamal
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |