Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 195727
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 195054
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hiel Van Campen <hielvc@cox.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 195727 depends on: Show dependency tree
Bug 195727 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-13 17:59 0000
emerge gcc-4.2.2 then gcc-config 2 or i686-pc-linux-gnu-4.2.2. gcc-v shows
gcc-4.2.2. Now gcc-config 1 or i686-pc-linux-gnu-4.1.2 





Reproducible: Always

Steps to Reproduce:
1.Use gcc-config -r3 to change to newer gcc
2.Use gcc-config to change back
3.gcc -v and you are still newest version of gcc.

Actual Results:  
amdually hielvc # gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2
 [2] i686-pc-linux-gnu-4.2.2 *
amdually hielvc # gcc-config 1   
 * Switching native-compiler to i686-pc-linux-gnu-4.1.2 ...                   [
ok ]
amdually hielvc # gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2
 [2] i686-pc-linux-gnu-4.2.2 *

and gcc is still at 4.2.2. Running env-update && . /etc/profile doesn't help.

Expected Results:  
gcc -v should show gcc-4.1.2 specs.

Contents of ls /etc/env.d/gcc/
config-i686-pc-linux-gnu        i686-pc-linux-gnu-4.1.2
config-i686-pc-linux-gnu-4.1.2  i686-pc-linux-gnu-4.2.2
config-i686-pc-linux-gnu-4.2.2

cat /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.2 
CURRENT=i686-pc-linux-gnu-4.2.2

Portage 2.1.3.12 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0,
2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 AMD Athlon(tm) X2 Dual Core Processor
BE-2300
Timestamp of tree: Fri, 12 Oct 2007 14:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r3
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe "
DISTDIR="/spare/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com
http://mirror.datapipe.net/pub/gentoo/
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="/spare/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/include/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa asf audacious avi bash-completion berkdb
bitmap-fonts branding bzip2 cdparanoia cdr chroot cli cracklib crypt cups dbus
divx doc dri dv dvd dvdr encode examples exif ffmpeg firefox flac flash
foomaticdb gdbm gnome gnomedb gnutls gphoto2 gpm gstreamer gtk hal iconv
imagemagick isdnlog jpeg kde libwww mad midi mime mmx mng mp3 mpeg mudflap
musepack musicbrainz ncurses nptl nptlonly nv nvidia ogg opengl openmp pam pcre
pdf perl plugins png ppds pppd python qt3 quicktime readline real realmedia
reflection sasl session slang spell spl sse sse2 ssl svg tcpd threads tiff
truetype truetype-fonts type1-fonts unicode usb win32codecs wmf x86 xml xorg
xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="apm ark
chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic
nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx
tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jakub Moc (RETIRED) 2007-10-13 18:00:54 0000 -------
There's no 1.4.0-r3; please emerge --sync before reporting bugs.

*** This bug has been marked as a duplicate of bug 195054 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug