On Wed, Oct 15, 2008 at 11:58 AM, Robert Connolly <[EMAIL PROTECTED]> wrote: > > --disable-libssp in GCC pass1 is best. Last time I looked at the test in > gcc/configure, it checks "/usr/include/features.h" for the Glibc version. So > you will probably need --disable-libssp in GCC pass2 too, because > gcc/configure is going to check your host again, and you'll run into the same > conflict in the chroot. --disable-libssp prevents libssp from being built, > and removes -lssp from gcc specs, so -fstack-protector will only work if you > have libssp built in to libc.
Alternatively, you can skip the check by setting the cache value: gcc_cv_libc_provides_ssp=yes/no http://gcc.gnu.org/viewcvs/branches/gcc-4_3-branch/gcc/configure.ac?view=markup This shows that it will set the glibc header dir to /usr/include and search for features.h there unless you use --with-sysroot. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page