glibc-2.8-20080929 build fails in Chapter 5

Greg Schafer gschafer at zip.com.au
Wed Oct 15 14:16:25 PDT 2008


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.

Regards
Greg
-- 
http://www.diy-linux.org/





More information about the lfs-dev mailing list