Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78972 - GCC 3.4.3-r1 fails trying to revert back from 20050110.
Summary: GCC 3.4.3-r1 fails trying to revert back from 20050110.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 10:35 UTC by Quin Hoxie
Modified: 2005-04-15 16:28 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 Quin Hoxie 2005-01-21 10:35:51 UTC
I am running ~x86 on everything and I had been using 20050110 for a couple of days when I did an emerge sync and emerge -uD world and it tried to downgrade to 3.4.3-r1.  Here is the error that I get everytime I emerge gcc:

ortage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include   -DL_enable_execute_stack -c /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/libgcc2.c -o libgcc/./_enable_execute_stack.o

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/gcc-3.4.3-r1/temp/ccruJV3W.out file, please attach this to your bugreport.
make[3]: *** [libgcc/./_enable_execute_stack.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1070, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.emerge gcc

Actual Results:  
Compile failed.

Expected Results:  
Compile should have succeeded.

Here is my emerge info:

Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 Unknown CPU Typ
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 19 2005, 05:20:42)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer
-fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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 aim alsa avi bash bonobo bzlib calendar cdb cdr cups dedicated
divx4linux dvd eds encode evo flac font-server foomaticdb freetype ftp gd gif
gnome gphoto2 gstreamer gtk gtk2 gtkhtml hal howl imagemagick imap imlib java
jpeg lcms mime mozilla mpeg ncurses nptl nptlonly oggvorbis openal opengl oscar
perl png posix python quicktime samba sdl svg tiff truetype truetype-fonts udev
unicode usb xine xmms xvid yahoo zlib"
Comment 1 Quin Hoxie 2005-01-21 10:40:02 UTC
A couple of things I forgot to add...

The /var/tmp/portage/gcc-3.4.3-r1/temp/ccruJV3W.out file is no longer mentioned in the error since I have reproduced it by emerging gcc a couple more times.  In accordance with this the file no longer exists.  I apologize if this cause any problems with investigating the bug.

Also, my processor is slightly overclocked.  I have had the same configuration for quite awhile with no problems.  I just thought I should mention that.
Comment 2 Quin Hoxie 2005-01-22 22:44:25 UTC
LDFLAGS="" emerge gcc

^^ above works, still a bug?
Comment 3 Quin Hoxie 2005-01-22 23:17:58 UTC
Update:

I just re-emerged gcc with the LDFLAGS and it compiled cleanly.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-04-15 16:28:37 UTC
What he said ^^