Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186321 - sys-devel/gcc-4.2.1 released
Summary: sys-devel/gcc-4.2.1 released
Status: RESOLVED FIXED
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: http://gcc.gnu.org/gcc-4.2/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 10:46 UTC by Davide Pesavento
Modified: 2010-07-27 13:45 UTC (History)
26 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a try to build gcc 4.2.1 (gcc-4.2.1.ebuild,1.59 KB, text/plain)
2007-07-27 16:44 UTC, Mario Bachmann
Details
gcc-4.2.1.ebuild with all patches from 4.2.0 that still work (gcc-4.2.1.ebuild,2.26 KB, text/plain)
2007-08-26 12:43 UTC, Björn Ruberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento gentoo-dev 2007-07-23 10:46:21 UTC
Many gcc-4.2.0 bugs should have been fixed, please bump to 4.2.1 as soon as possible.
Comment 1 SpanKY gentoo-dev 2007-07-23 15:56:53 UTC
the toolchain is aware of new gcc releases ... they dont get added immediately because bumping them takes time to verify
Comment 2 Mario Bachmann 2007-07-27 16:44:47 UTC
Created attachment 126165 [details]
a try to build gcc 4.2.1

i tried "emerge -v gcc" on an AMD XP 2000+ with 1GB RAM:
[ebuild  NS   ] sys-devel/gcc-4.2.1  USE="fortran gcj gtk mudflap nls openmp (-altivec) -bootstrap -build -doc (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB [1]
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2007-07-30 10:01:51 UTC
FYI, i just got told by a college, that gcc 4.2.0 has potential optimization bugs when compiling with -O2 or -O3 which is critical for us. i'm still looking for a reference for it.
Comment 4 (RETIRED) gentoo-dev 2007-07-31 05:46:38 UTC
(In reply to comment #3)
> FYI, i just got told by a college, that gcc 4.2.0 has potential optimization
> bugs when compiling with -O2 or -O3 which is critical for us. i'm still looking
> for a reference for it.
[4.2 Regression] Loop optimization limits range to size of array used inside loop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500
Is marked fixed.

[4.2/4.3 Regression] -fstrict-aliasing causes skipped code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32328
Is marked new.

There may be others.
Comment 5 Mario Bachmann 2007-07-31 06:45:38 UTC
gcc-4.2.1 work great here on an AMD Duron 800 and an AMD XP 2000+. both compiled gcc without problems. and i compiled a lot of other big and small sources without problems. only twinkle made trouble - problem unknown. but instead of twinkle i use 'talk' again ;-)
Comment 6 Alexey 2007-07-31 08:20:59 UTC
(In reply to comment #2)
> Created an attachment (id=126165) [edit]
> a try to build gcc 4.2.1
> 
> i tried "emerge -v gcc" on an AMD XP 2000+ with 1GB RAM:
> [ebuild  NS   ] sys-devel/gcc-4.2.1  USE="fortran gcj gtk mudflap nls openmp
> (-altivec) -bootstrap -build -doc (-hardened) -ip28 -ip32r10k (-multilib)
> -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB [1]
> 
 It failed for me.

make[4]: Leaving directory `/portage/tmp/portage/sys-devel/gcc-4.2.1/work/build/i686-pc-linux-gnu/libgomp'
make[3]: Leaving directory `/portage/tmp/portage/sys-devel/gcc-4.2.1/work/build/i686-pc-linux-gnu/libgomp'
make[2]: Leaving directory `/portage/tmp/portage/sys-devel/gcc-4.2.1/work/build/i686-pc-linux-gnu/libgomp'
make[1]: Leaving directory `/portage/tmp/portage/sys-devel/gcc-4.2.1/work/build'
find: `/portage/tmp/portage/sys-devel/gcc-4.2.1/image/usr/lib/gcc/i686-pc-linux-gnu/4.2.1/install-tools': No such file or directory
find: `/portage/tmp/portage/sys-devel/gcc-4.2.1/image/usr/libexec/gcc/i686-pc-linux-gnu/4.2.1/install-tools': No such file or directory
strip: i686-pc-linux-gnu-strip --strip-debug --strip-unneeded -R .comment
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcov
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-gfortran
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/unprotoize
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-c++
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-g++
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-cpp
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-gcc
   /usr/i686-pc-linux-gnu/gcc-bin/4.2.1/protoize
strip: i686-pc-linux-gnu-strip --strip-debug --strip-unneeded -R .comment
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbeginS.o
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbeginT.o
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/crtfastmath.o
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgfortran.so.2.0.0
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbegin.o
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgomp.so.1.0.0
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgcc_s.so.1
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libstdc++.so.6.0.9
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/crtendS.o
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/crtend.o
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgcov.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgomp.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgfortran.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgfortranbegin.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libstdc++.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgcc_eh.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libsupc++.a
   /usr/lib/gcc/i686-pc-linux-gnu/4.2.1/libgcc.a
strip: i686-pc-linux-gnu-strip --strip-debug --strip-unneeded -R .comment
   /usr/libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1
   /usr/libexec/gcc/i686-pc-linux-gnu/4.2.1/f951
   /usr/libexec/gcc/i686-pc-linux-gnu/4.2.1/collect2
   /usr/libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1plus
ecompressdir: bzip2 -9 /usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/info
ecompressdir: bzip2 -9 /usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/man
cp: cannot stat `/portage/overlays/my/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la': No such file or directory


Comment 7 Mario Bachmann 2007-07-31 11:09:00 UTC
rm -Rf /portage/overlays/my/sys-devel/gcc;

cp -a /usr/portage/sys-devel/gcc /portage/overlays/my/sys-devel
(there gcc/files/awk/fixlafiles.awk-no_gcc_la is included)

"cp https://bugs.gentoo.org/attachment.cgi?id=126165 /portage/overlays/my/sys-devel/gcc/gcc-4.2.1.ebuild"

ebuild /portage/overlays/my/sys-devel/gcc digest

emerge -v gcc
Comment 8 Mario Bachmann 2007-07-31 11:10:12 UTC
(In reply to comment #7)
> ebuild /portage/overlays/my/sys-devel/gcc digest
sorry, a typo... correct command:
ebuild /portage/overlays/my/sys-devel/gcc/gcc-4.2.1.ebuild digest
Comment 9 SchAmane 2007-07-31 12:45:17 UTC
Looks working on AMD64 X2 :

[ebuild   R   ] sys-devel/gcc-4.2.1  USE="gtk mudflap nls openmp (-altivec) -bootstrap -build -doc -fortran -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

 $ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.2.1/work/gcc-4.2.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.1 (Gentoo 4.2.1)
Comment 10 Alexey 2007-07-31 17:45:51 UTC
(In reply to comment #7)
> rm -Rf /portage/overlays/my/sys-devel/gcc;
> 
> cp -a /usr/portage/sys-devel/gcc /portage/overlays/my/sys-devel
> (there gcc/files/awk/fixlafiles.awk-no_gcc_la is included)

Right. But the checking for this file should be done before compiling
during downloading phase.
So to my mind this ebuild is wrong.
Comment 11 Mario Bachmann 2007-07-31 19:15:40 UTC
i am not an ebuild-expert, but i wanted the new gcc ;-) and now i have the new gcc with the wrong ebuild...

i always use the described way to create new ebuilds. 
Comment 12 Patrizio Bassi 2007-08-04 11:47:19 UTC
found no issues at the moment with it...
Comment 13 Hanno Böck gentoo-dev 2007-08-05 21:50:39 UTC
I just noted that mesa compiled with gcc 4.2.0 will make it unusable on my system (all gl-progs turn out to be black). r300-card.

So it seems the code failures are really a problem in 4.2.0.
Comment 14 David Pyke 2007-08-06 15:54:26 UTC
I'm also finding the missing file problem.

ecompressdir: pbzip2  /usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.1/man
cp: cannot stat `/usr/local/portage/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la': No such file or directory
 *
 * ERROR: sys-devel/gcc-4.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_install
 *   ebuild.sh, line 1083:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   ebuild.sh, line 1328:   Called toolchain_src_install
 *   toolchain.eclass, line 35:   Called gcc-compiler_src_install
 *   toolchain.eclass, line 1761:   Called die

Portage 2.1.3.3 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 06 Aug 2007 14:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,-z,now -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/mnt/windows/pkgdir"
PORTAGE_COMPRESS="pbzip2"
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="/mnt/windows/tmp"
PORTDIR="/mnt/windows/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/local/portage /usr/local/portage/layman/toolchain_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 amr ao apache2 arts artworkextra audacious audiofile avahi berkdb bidi binary-drivers binfilter bitmap-fonts bittorrent bjam blas boost branding bzip2 ccache cddb cdparanoia cdr cli cracklib crosscompile crypt cups curl dbus divx dri dts dvd dvdr dvdread emul-linux-x86 encode fbcon ffmpeg firefox flac foomaticdb fortran ftp garmin gdbm gif glibc-omitfp gpm gs hal hpn iconv icq icu idn ieee1394 imagemagick imlib int64 isdnlog java jikes jpeg jpeg2k kde kdrive lame lapack lcms libg++ libnotify live lm_sensors logrotate lzo mad maildir matroska mbox mdb midi mikmod mime mmx mmxext mng mono motif mp3 mpeg mplayer mpm-worker msn mudflap mysqli nas ncurses network nforce2 nls normalize nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oscar pam pcre pda pdf perl php plotutils png pppd print python qt4 quicktime rar readline realmedia reflection reiserfs rtc samba sdl session smp sndfile snmp sou sound sox speex spell spl sse sse2 sse3 ssl svg swat tcltk tcpd theora threads tidy tiff timidity truetype truetype-fonts type1 type1-fonts unicode usb v4l vcd videos vorbis wifi wma wmf wmp wxwindows x264 xanim xcomposite xine xml xml2 xorg xpm xv xvid xvmc zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 15 Vladimir Smirnov (RETIRED) gentoo-dev 2007-08-10 13:19:54 UTC
GCC-4.2.1 compiles fine for me with a bit modified gcc-4.2.0 patchset (removed patches that doesn't apply at all) for both i686 and armv5te:
zaurus ~ # gcc -v
Using built-in specs.
Target: armv5te-softfloat-linux-gnueabi
Configured with: /var/tmp/portage/sys-devel/gcc-4.2.1/work/gcc-4.2.1/configure --prefix=/usr --bindir=/usr/armv5te-softfloat-linux-gnueabi/gcc-bin/4.2.1 --includedir=/usr/lib/gcc/armv5te-softfloat-linux-gnueabi/4.2.1/include --datadir=/usr/share/gcc-data/armv5te-softfloat-linux-gnueabi/4.2.1 --mandir=/usr/share/gcc-data/armv5te-softfloat-linux-gnueabi/4.2.1/man --infodir=/usr/share/gcc-data/armv5te-softfloat-linux-gnueabi/4.2.1/info --with-gxx-include-dir=/usr/lib/gcc/armv5te-softfloat-linux-gnueabi/4.2.1/include/g++-v4 --host=armv5te-softfloat-linux-gnueabi --build=armv5te-softfloat-linux-gnueabi --disable-altivec --with-float=soft --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.1 (Gentoo 4.2.1 p1.0)

For ARM I've additionaly applied debian's arm-specific patches ( arm-pr30486, arm-pragma-pack, arm-unbreak-eabi-armv4t + ignore booststrap comparation failure patch) and 3 OpenEmbedded patches: (http://www.openembedded.org/repo/org.openembedded.dev/packages/gcc/gcc-4.2.1/gcc41-configure.in.patch http://www.openembedded.org/repo/org.openembedded.dev/packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch and http://www.openembedded.org/repo/org.openembedded.dev/packages/gcc/gcc-4.2.1/904-flatten-switch-stmt-00.patch)
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2007-08-14 01:44:12 UTC
(In reply to comment #13)
> I just noted that mesa compiled with gcc 4.2.0 will make it unusable on my
> system (all gl-progs turn out to be black). r300-card.
> 
> So it seems the code failures are really a problem in 4.2.0.

That is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32544 and I believe Donnie has already commited a work-around.

Comment 17 Peter Read 2007-08-18 07:25:18 UTC
Can understand not wanting to set an untested compiler loose on the general public, but I'm fairly surprised it's not in tree and masked or in the toolchain overlay...  Anyone know the situation with that, is it just a manpower issue preventing it getting added to the overlay?
Comment 18 Mudrii 2007-08-22 04:27:12 UTC
I would like to see the gcc 4.2.1 in the tree too
Comment 19 Benj FitzPatrick 2007-08-23 16:35:20 UTC
I'd also like to see 4.2.1 in portage sooner rather than later as it had quite a few bug fixes.
Comment 20 Mario Bachmann 2007-08-23 17:03:48 UTC
(In reply to comment #19)
> I'd also like to see 4.2.1 in portage sooner rather than later as it had quite
> a few bug fixes.
> 

perhaps it takes such a long time because they try to compile 4.2.1 with the buggy 4.2.0 ;-)
perhaps they use a 80486 with cross-compiling... who knows...
Comment 21 Jory A. Pratt gentoo-dev 2007-08-24 04:01:54 UTC
(In reply to comment #17)
> Can understand not wanting to set an untested compiler loose on the general
> public, but I'm fairly surprised it's not in tree and masked or in the
> toolchain overlay...  Anyone know the situation with that, is it just a
> manpower issue preventing it getting added to the overlay?
> 

After a month and still no official ebuild. One can only assume that there is a lack of support in the herd and one person is having to work on the ebuild. Maybe one day we will have an official ebuild from the distro.
Comment 22 Björn Ruberg 2007-08-26 12:43:01 UTC
Created attachment 129234 [details]
gcc-4.2.1.ebuild with all patches from 4.2.0 that still work

I have made an ebuild that uses all the patches from the 4.2.0 ebuild that still work. Patches that fail are excluded.
Comment 23 Dennis Schridde 2007-08-29 23:03:11 UTC
I assume that instead of continuous naging, it might be better to try to get in touch with the toolchain herd, or to find out which patches from the set are still needed for 4.2.1 and which are already fixed upstream. (And to try to make the still-needed-not-applying patches apply.)
Might be a tough task, but maybe you can even get into some overlay with that...
Or maybe toolchain can give a rough ETE and whether helping hands or testers are needed?
Comment 24 dtoo 2007-08-30 07:36:15 UTC
(In reply to comment #22)
> Created an attachment (id=129234) [edit]
> gcc-4.2.1.ebuild with all patches from 4.2.0 that still work
> 
> I have made an ebuild that uses all the patches from the 4.2.0 ebuild that
> still work. Patches that fail are excluded.
> 

The ebuild work fine here. Just finished emerge -e world

emerge --info
Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.2.1, glibc-2.6.1-r0, 2.6.22-ckg5 i686)
=================================================================
System uname: 2.6.22-ckg5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 30 Aug 2007 01:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa asf bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dia dri dvd dvdr dvdread eds emboss emf encode esd fam ffmpeg flac fortran fpx gdbm gif glitz gnome gpm graphviz gs gstreamer gtk hal iconv imagemagick isdnlog jpeg jpeg2k kerberos lcms ldap libnotify mad midi mikmod mmx mng mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl plotutils png postscript pppd python qt3support qt4 quicktime readline real reflection rtsp samba sdl session speex spell spl sqlite sse sse2 ssl stream svg svga tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode vidix vorbis win32codecs wmf x264 x86 xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 25 Björn Ruberg 2007-08-30 11:55:38 UTC
For me it works fine on amd64:

Portage 2.1.2.12 (default-linux/amd64/2007.0, gcc-4.2.1, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 28 Aug 2007 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.16
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -fno-ident -mfpmath=sse -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -fno-ident -mfpmath=sse -msse3 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer prelink sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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/local/portage /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi aiglx alsa amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 bzlib cgi cli cpudetection cracklib crypt ctype cups dba dbus dga directfb divx divx4linux dri dv dvb dvd dvdr dvdread encode fbcon ffmpeg gdbm gimp glibc-omitfp glitz gpm gstreamer gtk hal haststyle iconv imlib imlib2 insecure-drivers ip3100 ipv6 isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kqemu lib++ libsamplerate lirc live logitech-mouse lzw-tiff mad midi mmx mmxext modplug mpeg4 mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin opengl openmp openssh pam pcre pdf perl php pic pixusip3100 png pppd python qt3 quicktime readline realmedia reflection rtc session slang spell spl sse sse2 ssl ssse3 svg tcpd threadsafe truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 videos visualization vorbis wma wmp x264 xcomposite xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" 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="de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 26 Jon 2007-09-03 13:36:40 UTC
You guys are quick to judge the toolchain herd. :P GCC 4.2.0 was buggy as hell and needed lots of fixups, so I can imagine that they are taking their time and researching what patches are needed and what's not. That and I am sure they have a life outside of Gentoo. ;) So, when GCC 4.2.1 hits the tree, I know it will be stable and ready to use. :)
Comment 27 Jan Jitse Venselaar 2007-09-10 18:04:53 UTC
I would suggest to concentrate work on gcc-4.2.2 which just had its first RC released.

http://gcc.gnu.org/ml/gcc/2007-09/msg00240.html
Comment 28 Patrizio Bassi 2007-09-10 18:50:26 UTC
i do agree seems 4.2.2 will be out in about 1 week