glibc-2.8-20080929 build fails in Chapter 5
Bruce Dubbs
bruce.dubbs at gmail.com
Wed Oct 15 07:48:52 MDT 2008
Jeremy Huntwork 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
>>
>> 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.
Thanks Jeremy. At least it's reproducible. Have you built glibc without the
switch in Chapter 6?
-- Bruce
More information about the lfs-dev
mailing list