Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283426 - idea: variable to automatically change to new gcc's profile when updating gcc
Summary: idea: variable to automatically change to new gcc's profile when updating gcc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 15:19 UTC by David Carlos Manuelda
Modified: 2009-09-06 16:30 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 David Carlos Manuelda 2009-09-01 15:19:43 UTC
If you emerge a new gcc, you have to manually select the new profile. I think it would be interesting in some cases that it could be done automatically, for example in bug #283422 when gcc must be compiled twice.

Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2009-09-04 10:04:34 UTC
Hmm. Automagic things are bad and tend to break in unpredictable ways ...

In terms of ease-of-use it might be nice to have.
Comment 2 David Carlos Manuelda 2009-09-05 02:47:55 UTC
I agree that automagic things are not a good idea, but a user selectable/modificable variable is not that automagic (I think), like for example EMERGE_FEATURES, or even GCC_FEATURES or something like that.
If it is supposed to be disabled by default, and only enabled by user (or in other cases), it wouldn't harm so much.
At least this is my idea, and again, I think it could improve an "automatically" update everything when current stable gcc does not have some feature you need and don't want to waste time in compiling manually gcc first, changing to that new gcc's profile, and after rebuilding all.
But anyway, I am not a developer, so it should be reviewed by you first because I could miss some critical things :)
Comment 3 SpanKY gentoo-dev 2009-09-06 16:30:32 UTC
i would really rather not do this.  history has shown that automatically selecting profiles is error prone and a pita.

for example, what does "new" mean ?  does it mean "always latest version installed" or does it mean "the version i just installed" ?  what if a user has gcc-4.4.1 installed and needs a secondary gcc-4.0.4 compiler ?  switching to 4.0.4 would certainly bust the system.