Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268601 - removing dev-libs/gmp-4.3.0 breaks gcc
Summary: removing dev-libs/gmp-4.3.0 breaks gcc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 13:57 UTC by qqqqqqqqq9
Modified: 2009-05-05 09:35 UTC (History)
1 user (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 qqqqqqqqq9 2009-05-04 13:57:46 UTC
Hi, 

after removing dev-libs/gmp i found, that i could not any packages anymore because the configure scripts claimed, that either 

configure: error: C compiler cannot create executable

or 

configure: error: could not find a working compiler, see config.log for details

only after copying the 
/usr/lib/libgmp.so.3 from my second sytem it worked again. I cannot reproduce that, because it now doesn't remove the /usr/lib/libgmp.so.3 anymore. Probably remembers that it was there before? 

Thanks.


Reproducible: Couldn't Reproduce
Comment 1 Sebastian Luther (few) 2009-05-04 14:39:11 UTC
Nothing wrong with it, it's one of gcc's dependencies.

To restore your system, build a binary package for gmp.
- add buildpkg to FEATURES in make.conf
- emerge --oneshot gmp
- remove /usr/lib/libgmp.so.3 (which is normaly a symlink; i guess that's why emerge does not overwrite it)
- emerge --oneshot --usepkg gmp
Comment 2 qqqqqqqqq9 2009-05-05 09:35:34 UTC
Hi,

 i just expected, that a package which breaks gcc beyond (easy) repair would get a 10 second instead of a 5 second unmerge warning. Guess i was wrong there.

Thanks anyway.