Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18050 - gcc-3.2.2-r1 USE="static" breaks other ebuilds
Summary: gcc-3.2.2-r1 USE="static" breaks other ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-23 13:57 UTC by Phil Almquist
Modified: 2003-03-24 14:32 UTC (History)
0 users

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 Phil Almquist 2003-03-23 13:57:17 UTC
I compiled my entire 1.4_rc2 system with USE="static" and everything worked fine
except for a few select packages, the packages that failed for me (and im sure
there are more) were qt, mozilla, fam-oss, librsvg, and aspell.  All of these
failed with the same error message about unresolved symbols in
std::time_put_w@GLIBCPP_3.2.  After some searching and a discussion with rac on
irc i found that i had no libstdc++.so.5 anywhere and no libstdc++.so.* in
/usr/lib/gcc-lib/ only /usr/lib/gcc-lib/libstdc++.a and libstdc++.la and
/usr/lib/libstdc++.so.2.*   Remerging gcc with USE="-static" generated the
proper libraries and fixed the other ebuilds that were failing.


Reproducible: Always
Steps to Reproduce:
1. USE="static" emerge gcc
2. emerge fam-oss or other packages that depend on libstdc++.so.5

there may be other considerations such as emerging the broken packages
themselves with USE="static" or the fact that my entire system was built with
static, however emerging gcc without static and keeping static as a use flag
everywhere else worked fine.
Actual Results:  
ld errors about unresolved symbols and std::time_put_w@GLIBCPP_3.2

Expected Results:  
successful build
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-23 14:15:40 UTC
Outstanding issue ... you cannot build gcc with g++ and have 'static' in USE.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-24 14:32:17 UTC
Fixed it to only build static if we are just building the C frontend.