glibc-2.8-20080929 build fails in Chapter 5

Bruce Dubbs bruce.dubbs at
Wed Oct 15 14:35:44 PDT 2008

Greg Schafer wrote:
> Bruce Dubbs wrote:
>> LFS SVN-20081015
>> I tried jhalfs and a manual build but glibc fails for me in exactly the same place:
>> /mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libssp/../../../gcc-4.3.2/libssp/ssp.c:175: 
>> multiple definition of `__stack_chk_fail_local'
>> /mnt/lfs/sources/glibc-build/libc_nonshared.a(stack_chk_fail_local.oS):/mnt/lfs/sources/glibc-2.8-20080929/debug/stack_chk_fail_local.c:28: 
>> first defined here
> Definitely triggered by the addition of `--disabled-shared' to GCC Pass 1.
> If you're going to use that switch then must also use `--disable-libssp'.
> Sorry guys. I've abandoned the old build method you're currently using.
> It's getting harder to support and the Next Gen method is soooo much
> nicer IMNSHO. LFS should really look at getting on board.

Greg, we thank you for all your support.  I've added  --disable-libssp to the 
book for now.  We may consider a new method for LFS 7, but we are too close to a 
release for major changed right now.

   -- Bruce

More information about the lfs-dev mailing list