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
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: *** [/LFS/sources/glibc-build/elf/librtld.map] Error 1
make: Leaving directory `/LFS/sources/glibc-2.3.3/elf'
make: *** [elf/subdir_lib] Error 2
make: Leaving directory `/LFS/sources/glibc-2.3.3'
make: *** [all] Error 2
LFS is mounted at '/LFS' ,
glibc is being built in 'glibc-build',
LFS binutils compiled = 220.127.116.11.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:
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!!!