Hi,
Linux From Scratch - Version
7.0-cross-lfs-20050902-x86_64-Multilib
Host Distribution - Slackware 10.1 with
kernel-2.6.13-x86_64
Section - 10.3. Glibc-2.3.5 32 Bit Libraries
Configuring Glibc causes the following error:
configure: error: compiler support for __thread is
required
Here is the output of gcc -v:
root:/sources/glibc-build# gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-4.0.1/configure
--prefix=/tools --libdir=/tools/lib64
--build=i486-slackware-linux-gnu
--host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --libexecdir=/tools/lib64
--with-local-prefix=/tools --enable-long-long
--enable-c99 --enable-shared --enable-threads=posix
--enable-__cxa_atexit --disable-nls
--enable-languages=c,c++ --disable-libstdcxx-pch
Thread model: posix
gcc version 4.0.1
I used the same command as the book to run Glibc
configurations:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
../glibc-2.3.5/configure --prefix=/usr \
--disable-profile --enable-add-ons
--enable-kernel=2.6.0 \
--libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}
Thanks,
Basel
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page