| Summary: | emerging eselect-compiler-2.0.0_rc1-r6 reverts gcc to 3.4.5 from 4.1.1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Waldo <VValdo> |
| Component: | [OLD] Core system | Assignee: | Jeremy Huddleston (RETIRED) <eradicator> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | toolchain |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | AMD64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Waldo
2006-06-18 23:58:46 UTC
I should probably explain how I tested this.
# gcc-config 9
* Switching native-compiler to x86_64-pc-linux-gnu-4.1.1 ...[ ok ]
# gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.2
[2] x86_64-pc-linux-gnu-3.4.2-hardened
[3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
[4] x86_64-pc-linux-gnu-3.4.5
[5] x86_64-pc-linux-gnu-3.4.5-hardened
[6] x86_64-pc-linux-gnu-3.4.5-hardenednopie
[7] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp
[8] x86_64-pc-linux-gnu-3.4.5-hardenednossp
[9] x86_64-pc-linux-gnu-4.1.1 *
# emerge eselect-compiler
.
.
.
[it emerges]
.
.
.
# gcc --version
x86_64-pc-linux-gnu-gcc (GCC) 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
One last note: # eselect compiler list followed by # eselect compiler set ## (where ## equaled the new version) Seems to have fixed this. A subsequent emerge left gcc at 4.1.1. There's nothing about this in the migration guides for gcc that I've seen, assuming this is the desired behavior. W Did you source /etc/profile after you set the compiler with gcc-config-1.x and before you emerged eselect-compiler. It sets the profile to the compiler being used to emerge it OR nothing if it doens't see a matching profile. That means you were compiling it with 3.4 nad just forgot to . /etc/profile after your gcc-config. Luckily, you don't need to source /etc/profile anymore with eselect-compiler =) I swear I *did* source /etc/profile . When I did the update, I was on #gentoo-amd64 so I actually typed it twice, once in the terminal and once in irc. I have no idea why it didn't do what it was supposed to... W Ok, well I'll try to reproduce it, but I did test emerging eselect-compiler with 3.4 and 4.1 installed and with each one as the active compiler. I'll try again, but it's working here... |