Hey
I am working on Linux From Scratch 6.0
I tried compiling glibc 2.3.4-20040701 (the version used in the book), and version 2.3.3 but both return the following error after typing 'make' :
a - login/updwtmpx.os
a - login/getutmpx.os
a - login/getutmp.os
a - elf/dl-open.os
a - elf/dl-close.os
a - elf/dl-iteratephdr.os
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/unwind-dw2-fde-glibc.os
a - elf/framestate.os
: /LFS/sources/glibc-build/libc_pic.a
gcc -B/tools/bin/ -nostdlib -nostartfiles -r -o /LFS/sources/glibc-build/elf/librtld.map.o '-Wl,-(' /LFS/sources/glibc-build/elf/dl-allobjs.os /LFS/sources/glibc-build/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/LFS/sources/glibc-build/elf/librtld.mapT
/tools/bin/ld: errno: TLS definition in /LFS/sources/glibc-build/libc_pic.a(errno.os) section .tbss mismatches non-TLS reference in /LFS/sources/glibc-build/elf/dl-allobjs.os
/LFS/sources/glibc-build/libc_pic.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [/LFS/sources/glibc-build/elf/librtld.map] Error 1
make[2]: Leaving directory `/LFS/sources/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/LFS/sources/glibc-2.3.3'
make: *** [all] Error 2
[root@localhost glibc-build]#
LFS is mounted at '/LFS' ,
glibc is being built in 'glibc-build',
LFS binutils compiled = 2.15.94.0.1...
Host operating system = mandrake 10.0 (2.6.3-7mdk)
I looked around on their FAQ's and used their search engine but couldn't find anything. I then tried google and found the following page:
http://sources.redhat.com/ml/libc-al.../msg00016.html
It says the patch should fix it but i'm not sure how to use it. My best guess to how to fix this would be a patch. There are also a few glibc and binutils patches on the LFS site but i'm not sure which ones i should use.
Any help would be greatly appreciated!!!