On Thu, 2009-06-18 at 10:10 +0100, Ken Moffat wrote: > 2009/6/18 Wesley Schroth <[email protected]>: > > I am currently attempting to build glibc, however, it fails with the > > message: > > gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs > > -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2 > > -B/mnt/lfs/sources/glibc-build/csu/ > > -Wl,--version-script=/mnt/lfs/sources/glibc-build/libc.map > > -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro > > -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main > > -L/mnt/lfs/sources/glibc-build -L/mnt/lfs/sources/glibc-build/math > > -L/mnt/lfs/sources/glibc-build/elf -L/mnt/lfs/sources/glibc-build/dlfcn > > -L/mnt/lfs/sources/glibc-build/nss -L/mnt/lfs/sources/glibc-build/nis > > -L/mnt/lfs/sources/glibc-build/rt -L/mnt/lfs/sources/glibc-build/resolv > > -L/mnt/lfs/sources/glibc-build/crypt -L/mnt/lfs/sources/glibc-build/nptl > > -Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl > > -o /mnt/lfs/sources/glibc-build/libc.so -T > > /mnt/lfs/sources/glibc-build/shlib.lds > > /mnt/lfs/sources/glibc-build/csu/abi-note.o > > /mnt/lfs/sources/glibc-build/elf/soinit.os > > /mnt/lfs/sources/glibc-build/libc_pic.os > > /mnt/lfs/sources/glibc-build/elf/sofini.os > > /mnt/lfs/sources/glibc-build/elf/interp.os > > /mnt/lfs/sources/glibc-build/elf/ld.so -lgcc > > /mnt/lfs/sources/glibc-build/libc_pic.os: In function `iconv_open': > > /mnt/lfs/sources/glibc-2.10.1/iconv/iconv_open.c:89: undefined reference > > to `__stack_chk_fail_local' > > > > > I don't know what to try. > > > > I'm not familiar with this error message, but google has seen a few of > these over the years > [ > http://www.google.com/linux?hl=en&q=undefined+reference+to+`__stack_chk_fail_local'&btnG=Search > ] > > Some of those, particularly from hlfs, seem to be caused by SSP (Stack > Smashing Protector, I think), so that might be relevant if your host > distro enables it. Unfortunately I have no idea how to check if SSP > is in use, nor how to turn it off. > > But, one of the other matches was for somebody who had passed an > inadequate command line to glibc's configure. So, please check that > you passed all the specified parameters to configure (e.g. no missing > backslashes), and that (for the development book) LFS_TGT is > defined. > > ĸen
I poked around, and I tried some of the advice from this: http://sources.redhat.com/ml/libc-help/2008-05/msg00012.html So far, it seems to be working.
signature.asc
Description: This is a digitally signed message part
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
