Hi Jim,

In the meantime, I tried glibc configure enable-add-ons option with
linuxthreads as an add-on only with the following script:

tar xjf glibc-2.4.tar.bz2
cd glibc-2.4
tar -jxvf ../glibc-ports-2.4.tar.bz2
mv -v glibc-ports-2.4 ports
patch -Np1 -i ../glibc-2.4-mips_fixes-1.patch
patch -Np1 -i ../glibc-2.4-libgcc_eh-1.patch
patch -Np1 -i ../glibc-2.4-localedef_segfault-1.patch
cp -v nscd/Makefile{,.orig}
sed -e "/nscd_stat.o: sysincludes = # nothing/d" nscd/Makefile.orig > \
 nscd/Makefile
tar -jxvf ../glibc-linuxthreads-2.3.6.tar.bz2
mkdir -v ../glibc-linuxthreads-2.3.6 linuxthreads
echo "libc_add_on_canonical=linuxthreads" >> Makeconfig
mkdir ../glibc-build
cd ../glibc-build
echo "libc_cv_forced_unwind=yes" > config.cache
echo "libc_cv_c_cleanup=yes" >> config.cache
BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
 ../glibc-2.4/configure --prefix=/tools \
 --host=${LFS_TARGET} --build=${LFS_HOST} \
 --disable-profile --enable-add-ons=linuxthreads \
 --with-tls --enable-kernel=2.6.0 --with-__thread \
 --with-binutils=/cross-tools/bin --with-headers=/tools/include \
 --cache-file=config.cache > glibc_config.log 2 >&1

but I end up with configure error message as below:

***************************************************************************
configure: error: fragment must set $libc_add_on_canonical
**************************************************************************
What should be the value set to libc_add_on_canonical variable to
overcome this error?

Is it possible to continue  with the glibc build with bypassing the
NPTL add on option at the moment?

Thanks and Regards,
Shyamal

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

Reply via email to