glibc fails to compile

Wesley Schroth wschroth at sbcglobal.net
Thu Jun 18 01:36:02 PDT 2009


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'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `__gconv_open':
/mnt/lfs/sources/glibc-2.10.1/iconv/gconv_open.c:344: undefined
reference to `__stack_chk_fail_local'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `find_derivation':
/mnt/lfs/sources/glibc-2.10.1/iconv/gconv_db.c:677: undefined reference
to `__stack_chk_fail_local'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `add_module':
/mnt/lfs/sources/glibc-2.10.1/iconv/gconv_conf.c:358: undefined
reference to `__stack_chk_fail_local'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function
`__gconv_get_path':
/mnt/lfs/sources/glibc-2.10.1/iconv/gconv_conf.c:536: undefined
reference to `__stack_chk_fail_local'
/mnt/lfs/sources/glibc-build/libc_pic.os:/mnt/lfs/sources/glibc-2.10.1/iconv/gconv_conf.c:610: more undefined references to `__stack_chk_fail_local' follow

I don't know what to try. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20090618/305ab282/attachment.sig>


More information about the lfs-support mailing list