Hi,
Glibc-2.8-20080929 is no longer available on the Red Hat server mentioned in
the LFS book,
ftp://sources.redhat.com/pub/glibc/snapshots/glibc-2.8-20080929.tar.bz2.
Should this be added to the errata, with an alternate location provided? I'm a
little surprised that LFS 6.4 is using a CVS snapshot of glibc, but I'm sure
there was a good reason for it.
The package I got was from the mirror at Oregon State University which hadn't
been updated yet (it's gone now). I'm having a problem compiling it, so it is
possible that I don't have the right one. I saw that someone else recently had
a problem with it, but mine is different. It's complaining that it's missing
the gcc_eh library. The details of my problem are below.
LFS version 6.4, section 5.7
Host system Debian 4.0
gcc -B/tools/bin/ -nostdlib -nostartfiles -o
/mnt/lfs/sources/glibc-build/iconv/iconvconfig
-Wl,-dynamic-linker=/tools/lib/ld-linux.so.2 -Wl,-z,combreloc -Wl,-z,relro
-Wl,--hash-style=both /mnt/lfs/sources/glibc-build/csu/crt1.o
/mnt/lfs/sources/glibc-build/csu/crti.o `gcc -B/tools/bin/
--print-file-name=crtbegin.o` /mnt/lfs/sources/glibc-build/iconv/iconvconfig.o
/mnt/lfs/sources/glibc-build/iconv/strtab.o
/mnt/lfs/sources/glibc-build/iconv/xmalloc.o
/mnt/lfs/sources/glibc-build/iconv/hash-string.o
-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
/mnt/lfs/sources/glibc-build/libc.so.6
/mnt/lfs/sources/glibc-build/libc_nonshared.a -lgcc -lgcc_eh `gcc
-B/tools/bin/ --print-file-name=crtend.o`
/mnt/lfs/sources/glibc-build/csu/crtn.o
/tools/bin/ld: cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929'
make: *** [all] Error 2
I grepped this directory as well as that of gcc-build and gcc-4.3.2 for
"gcc_eh". There is no trace of it in the gcc directories. It's mentioned in
several places in the glibc directories, including the ChangeLog which says
that the dependency was added a few years ago.
Can anyone help with this?
Thank you,
Bill
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page