glibc-2.8-20080929 build fails in Chapter 5

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Wed Oct 15 06:29:06 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
> 
> This was while trying to build
> 
>    -o /mnt/lfs/sources/glibc-build/nscd/nscd
> 
> Has anyone else see this?

I don't know what happens with the rest of the build (because I haven't 
gotten that far yet in my tests) but if you build gcc pass1 with 
--disable-libssp, this message disappears and glibc finishes its build.

I had thought I was encountering the problem because of something to do 
with my host (RedHat 6.2) but if you're seeing it while using jhalfs, 
then the problem must lie elsewhere.

--
JH



More information about the lfs-dev mailing list