Opened 10 years ago

Closed 10 years ago

#3555 closed enhancement (fixed)

gcc pass 1: libgcc_eh hack is no longer necessary

Reported by: Sam Thursfield Owned by: lfs-book@…
Priority: normal Milestone: 7.6
Component: Book Version: SVN
Severity: normal Keywords:



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;a=commit;h=95f5a9a866695da4e038aa4e6ccbbfd5d9cf63b7

Change History (1)

comment:1 by bdubbs@…, 10 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 10552.

Note: See TracTickets for help on using tickets.