gcc pass 1: libgcc_eh hack is no longer necessary
|Reported by:||Sam Thursfield||Owned by:|
First, thanks to everyone behind Linux From Scratch -- it's a great resource!
The following paragraph in gcc-pass1 is no longer true:
Using --disable-shared means that the libgcc_eh.a file isn't created and installed. The Glibc package depends on this library as it uses -lgcc_eh within its build system. This dependency can be satisfied by creating a symlink to libgcc.a, since that file will end up containing the objects normally contained in libgcc_eh.a: ln -sv libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'`
This is fixed in GLIBC 2.17. The exact commit is https://sourceware.org/git/?p=glibc.git;a=commit;h=95f5a9a866695da4e038aa4e6ccbbfd5d9cf63b7