Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58241 - gcc should not set the system default gcc-config automatically
Summary: gcc should not set the system default gcc-config automatically
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 18:59 UTC by Dylan Carlson (RETIRED)
Modified: 2004-12-02 18:31 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 Dylan Carlson (RETIRED) gentoo-dev 2004-07-24 18:59:25 UTC
On systems that run multiple slots of gcc for various reasons, the gcc ebuilds should not take it upon themselves to change the system default!  This is wrong behavior.  Unless there's a valid reason why the ebuilds need to set gcc-config default that offsets the various reasons why it should not... I recommend that this be removed.

Perfect example:  I just wasted several hours compiling stuff, totally unaware that a gcc-3.3 upgrade had switched my system back to gcc-3.3 when I specifically set it to 3.4.  I want it to use 3.4 unless I change it back temporarily for some reason.

Reproducible: Always
Steps to Reproduce:
Comment 1 Disenchanted (RETIRED) gentoo-dev 2004-07-24 19:02:53 UTC
leaving the switching of slots to the user would be very appreciated, as unnoticed changes by portage can be indeed very wasteful and shouldnt be caused by portage
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-07-24 19:15:51 UTC
this has nothing to do with porting work, and everything to do with the toolchain. re-assigning...
Comment 3 solar (RETIRED) gentoo-dev 2004-07-24 19:50:55 UTC
afaik this is needed for proper operation when merging, but azarah might have more insight.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-08-01 13:35:02 UTC
Well, I did not want to do anything there until when we actually get portage
sorta there to start working on cross-compiling.

The answer might be though to do the same as opengl-update - add a --use-old
flag that do not set it if already set ... comments?
Comment 5 SpanKY gentoo-dev 2004-12-02 18:31:38 UTC
seems to happen now