Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30783

Summary: gcc-2.95.3-r8 fails to compile gcc-3.2.3-r2 with "Internal compiler error in emit_move_insn"
Product: Gentoo Linux Reporter: Mr. Bones. (RETIRED) <mr_bones_>
Component: [OLD] DevelopmentAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: 1.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mr. Bones. (RETIRED) gentoo-dev 2003-10-09 13:43:09 UTC
I have an old pentium box that is still running profile default-1.0.  I'm
trying to upgrade to 1.4 using the instructions at

    http://www.gentoo.org/doc/en/new-upgrade-to-gentoo-1.4.xml

and failing at code listing 2.4 trying to run this command:

    emerge /usr/portage/sys-devel/gcc/gcc-3.2.3-r2.ebuild

The build fails with this:

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/i586-pc-linux-gnu/bin/ -isystem
/usr/i586-pc-linux-gnu/include -isystem /usr/i586-pc-linux-gnu/sys-include -O2 
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include  -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc
-I/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc/.
-I/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc/config
-I/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc/../include  -DL_muldi3 -c
/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc/libgcc2.c -o libgcc/./_muldi3.o
/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc/libgcc2.c: In function `__muldi3':
/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/gcc/libgcc2.c:357: Internal
compiler error in emit_move_insn, at expr.c:2780

I will try it again and attach the full output.

Reproducible: Always
Steps to Reproduce:
1. emerge /usr/portage/sys-devel/gcc/gcc-3.2.3-r2.ebuild

Actual Results:  
failed.

Expected Results:  
merge gcc-3.2.3-r2

Portage 2.0.49-r3 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8,
2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i586 Pentium MMX
distcc 2.9 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/fonts /etc/bash_completion /usr/X11R6/lib/X11/xkb
/etc/X11/serverconfig /etc/X11/app-defaults /etc/X11/starthere /etc/ssmtp
/etc/sound/events /etc/X11/rstart /etc/X11/xdm /etc/pango /etc/gconf /etc/env.d"
CXXFLAGS="-march=i586 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo"
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 oss 3dnow apm crypt cups encode libg++ libwww mikmod mmx mpeg ncurses
pdflib slang spell truetype xml2 xv berkdb esd gdbm gif gnome gtk guile
oggvorbis pam perl png python readline ssl tcpd tiff X -tetex -emacs -java -xmms
-jpeg -avi -dvd -opengl -doc -quicktime -sdl -svga -motif -nls -imlib -kde -qt
-arts gpm mozilla gtk2"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-12 16:18:47 UTC

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