Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81073 - gcc 3.4.3.20050110 breaks -lgcc_s
Summary: gcc 3.4.3.20050110 breaks -lgcc_s
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: High critical (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 22:01 UTC by Robert Führicht
Modified: 2005-02-09 03:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Führicht 2005-02-06 22:01:20 UTC
This happens on amd64 with profile 2005.0

1. emerge gcc
2. Compile a little test program with -lgcc_s
3. Get libgcc_s.so.1 not found error message

After emerging gcc, libgcc_s.so.1 (or a symlink) should be put here:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3
But libgcc_s.so.1 is put to
/usr/lib/gcc/x86_64-pc-linux-gnu/lib64
By placing a symlink and regenerating /etc/ld.so.cache one can get around this.
Comment 1 solar (RETIRED) gentoo-dev 2005-02-07 22:40:03 UTC
This bug is present in 3.4.2 as well and prevents 'groff' and a number of things from building. groff is apart of the base system. USE='-multilib' here.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-07 23:16:42 UTC
I have no doubt that 3.4.2 is broken... that ebuild is ugly and doesn't work well with multilib, but the bug with recent versions (3.4.3-r1 and 20050110) on 2005.0 should be fixed.  Can you please reemerge and test.
Comment 3 solar (RETIRED) gentoo-dev 2005-02-08 07:21:08 UTC
Sadly last we attempted 3.4.3 is unable to rebuild itself on hardened systems. 
So we are limited to a masking of <3.4.3 for the moment. 
I will try none the less and see if I can build gcc-3.4.3 twice.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-09 03:51:03 UTC
Ok, solar said they hardenend doesn't need 3.4.2 any more... but if you change your mind, I have the bump to fix it in my overlay and can be committed any time if you decide you need it.

As for these problems in general, toolchain.eclass has been greatly updated to move the libs to the proper dirs, so I'm closing this bug.