Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16296 - emerge info doesn't provide the proper version of gcc
Summary: emerge info doesn't provide the proper version of gcc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-24 14:08 UTC by Doug Goldstein (RETIRED)
Modified: 2003-02-26 10:18 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 Doug Goldstein (RETIRED) gentoo-dev 2003-02-24 14:08:39 UTC
if you run emerge info you'll see the gcc version as supplied by gcc
-dumpversion however it doesn't tell you the revision number which is something
that can be very important. It tells you the revision of glibc. The output
should be uniform. (Compare the version below with the emerge info @ the bottom.)


afr root # qpkg -nc -v -I gcc
sys-devel/gcc-3.2.2-r1
sys-devel/gcc-config-1.3.1


Reproducible: Always
Steps to Reproduce:
1. emerge info
2.
3.




afr root # emerge info
Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.5.46 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="ftp://ftp.oregonstate.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage/"
USE="x86 3dnow apm encode gif jpeg libg++ mikmod mmx mpeg ncurses pdflib png
qtmt spell xml2 xv zlib gdbm berkdb slang readline bonobo svga tcltk guile sdl
tcpd pam libwww ssl perl python esd imlib motif opengl cdr scanner X gtk -gnome
alsa -nls cups kde qt -gpm xmms mozilla crypt truetype gtk2 avi java oggvorbis
-arts quicktime -oss smooth"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fexpensive-optimizations -fprefetch-loop-arrays -ffast-math
-funroll-loops -foptimize-sibling-calls -maccumulate-outgoing-args"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fexpensive-optimizations -fprefetch-loop-arrays -ffast-math
-funroll-loops -foptimize-sibling-calls -maccumulate-outgoing-args"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j5"
AUTOCLEAN="yes"
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
FEATURES="sandbox prelink ccache distcc digest userpriv noauto"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-02-25 00:57:40 UTC
Being that you can have multiple versions installed, revisions
aren't really helpful. The idea behind the version line is to
give a good overview of the system. If you need revisions of
gcc, you can find them... I'm fine with how it is though.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2003-02-26 10:18:49 UTC
It's more for bug tracking purposes. For example maybe something works in gcc-3.2.1-r6 but not in gcc-3.2.1-r5. It's more of a logical thing. And as far as the multiple versions it should give the version of the currently selected version.