Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180715 - [4.1/ICE] sys-devel/gcc-4.1.2 doesn't compile with USE=gcj
Summary: [4.1/ICE] sys-devel/gcc-4.1.2 doesn't compile with USE=gcj
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-03 11:37 UTC by mambro
Modified: 2007-06-18 03:04 UTC (History)
0 users

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


Attachments
gcc_log (gcc_log,778.16 KB, text/plain)
2007-06-03 11:38 UTC, mambro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mambro 2007-06-03 11:37:00 UTC
bolide mambro # emerge -uav gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/gcc-4.1.2 [4.1.1-r3] USE="fortran gcj* gtk nls (-altivec) -bootstrap -build -d% -doc (-hardened) (-ip28) (-ip32r10k) -mudflap* (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB 
[ebuild     U ] sys-libs/glibc-2.5-r3 [2.5-r2] USE="nls nptl nptlonly -build -debug -glibc-compat20 -glibc-omitfp (-hardened) (-multilib) -profile (-selinux)" 16,223 kB 



bolide mambro # emerge --info
Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 03 Jun 2007 09:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -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/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.mirror.solnet.ch http://gentoo.blueyonder.co.uk http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="it_IT.utf8"
LINGUAS="it"
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/portage/local/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X aac aalib ace acpi aiglx alsa amarok amd64 applet artworkextra asf audacious audiofile avi bash-completion berkdb binary-drivers bitmap-fonts bittorrent bluetooth bonobo branding browserplugin bzip2 cairo ccache cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread dvi emerald encode esd evo faac fam fbcon fbsplash festival ffmpeg firefox flac foomaticdb fortran freetype ftp gaim gcj gdbm gif gimpprint glitz gmedia gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gvim gzip hal hddtemp iconv icq ieee1394 ipod isdnlog jabber jack java javascript jikes joystick jpeg kdexdeltas ladspa libcaca libg++ libnotify live lm_sensors logrotate mad mbrola mhash midi mikmod mmx mmxext mp3 mpeg mpeg2 mplayer msn musepack musicbrainz mysql nautilus ncurses nls nptl nptlonly nsplugin ntfs offensive ogg oggvorbis opengl openmp openntpd openssh openssl oss pam pcre pdf pdflib perl php pic plotutils png ppds pppd python qt3 qt3support qt4 quicktime rar readline realmedia reflection reiserfs samba sdl session sox spell spl sse sse2 ssl stream svg symlink tcpd tetex theora tiff timidity totem truetype truetype-fonts type1-fonts udev unicode usb vcd vfat vorbis wma wmp wxwindows x264 xine xml xml2 xorg xosd xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


it doesn't compile and exit with
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/tree-dfa.c: In function ‘dump_dfa_stats’:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/tree-dfa.c:443: error: insn does not satisfy its constraints:
(insn 1177 1176 1109 16 (parallel [
            (set (reg:DI 0 ax)
                (mult:DI (reg:DI 4 si)
                    (reg:DI 4 si)))
            (clobber (reg:CC 17 flags))
        ]) 255 {*muldi3_1_rex64} (nil)
    (expr_list:REG_DEAD (reg:DI 4 si)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))))
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/tree-dfa.c:443: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1592
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/sys-devel/gcc-4.1.2/temp/ccXKdex5.out file, please attach this to your bugreport.
make[2]: *** [tree-dfa.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.

The complete log is in the attachment

Reproducible: Always

Steps to Reproduce:
Comment 1 mambro 2007-06-03 11:38:29 UTC
Created attachment 121016 [details]
gcc_log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 14:32:12 UTC
emerge --info please.
Comment 3 mambro 2007-06-03 14:37:36 UTC
I've already post my emerge --info
Comment 4 SpanKY gentoo-dev 2007-06-03 18:29:36 UTC
does it fail at the same spot everytime ?  what if you use USE='-fortran -gcj' ?
Comment 5 mambro 2007-06-03 18:54:59 UTC
Yes, it fall always in the same place.. now i'll try with gcj disable
Comment 6 mambro 2007-06-03 20:40:31 UTC
With gcj disabled compile fine..
Comment 7 SpanKY gentoo-dev 2007-06-18 03:04:41 UTC
if you install gcc-4.1.2 with USE=-gcj and then re-emerge gcc-4.1.2 with USE=gcj, does it work ?