Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80346 - gcc-config-1.3.9 doesn't switch profiles
Summary: gcc-config-1.3.9 doesn't switch profiles
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 07:54 UTC by alex f
Modified: 2005-02-03 15:21 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 alex f 2005-02-01 07:54:07 UTC
tosh ~ # equery list gcc
[ Searching for package 'gcc' in all categories among: ]
 * installed packages
[I--] [  ] sys-devel/gcc-3.4.3.20050110 (3.4)
[I--] [  ] sys-devel/gcc-3.3.4-r1 (3.3)
[I--] [  ] sys-devel/gcc-config-1.3.9 (0)
tosh ~ # gcc-config -l
[1] i386-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3 *
[3] i686-pc-linux-gnu-3.4.3-hardened
[4] i686-pc-linux-gnu-3.4.3-hardenednopie
[5] i686-pc-linux-gnu-3.4.3-hardenednossp
tosh ~ # gcc-config 1
 * Switching to i386-pc-linux-gnu-3.3.4 compiler ...                      [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

tosh ~ # source /etc/profile
tosh ~ # gcc -v
Lese Spezifikationen von /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Konfiguriert mit: /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/configure -
-enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-
gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include --da
tadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/i
686-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3
/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3
 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gett
ext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-chec
king --disable-werror --disable-libunwind-exceptions --enable-shared --enable-th
reads=posix --disable-multilib --disable-libgcj --enable-languages=c,c++,objc
Thread-Modell: posix
gcc-Version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, p
ie-8.7.7)
tosh ~ # gcc-config -c
i686-pc-linux-gnu-3.4.3
tosh ~ # 


tosh ~ # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 29 2004, 16:37:00)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 aac acpi alsa artworkextra avi berkdb bitmap-fonts cdr crypt cups dhcp directfb divx4linux dmx dvb dvd dvdr dvdread eds encode ethereal evo faad fam fbcon flac font-server foomaticdb gdbm gif gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imap imlib ipv6 java jce jpeg libcaca libg++ libwww mad maildir matroska mbox mikmod mime mmap mmx mmx2 mng mono motif mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses network nls nntp noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly objc oggvorbis opengl pcre pdflib perl pic png pnp python quicktime readline real rtc ruby samba sdl skey speex spell sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts trusted type1-fonts ucs2 unicode xml2 xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-02-01 10:51:58 UTC
re-emerge 3.3.4 with your CHOST set to i686 like it should be
Comment 2 alex f 2005-02-03 15:21:57 UTC
I see. Well that gcc-3.3 was left over when installing from stage1 I guess. I tried remerging gcc-3.3.4-r1 and when that failed I tried gcc-3.3.5-r1 which failed as well. I then remembered that gcc-3.3 doesn't like CFLAGS="-march=pentium-m" (which may have been the cause?) so I didn't bother anymore and unmerged the leftover gcc-3.3 from the stage1 install.