Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 268601

Summary: removing dev-libs/gmp-4.3.0 breaks gcc
Product: Gentoo Linux Reporter: qqqqqqqqq9 <qqqqqqqqq9>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.