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

Bug 166506

Summary: dev-lang/R-2.4.1 received internal compiler error
Product: Gentoo Linux Reporter: David Gurvich <david.gurvich>
Component: [OLD] DevelopmentAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Gurvich 2007-02-12 14:59:03 UTC
R failed with an internal compiler error.
--------------------------------------------------
connections.c: In function 'do_writebin':
connections.c:3120: error: insn does not satisfy its constraints:
(insn 1250 819 825 94 (set (mem/c/i:TF (pre_inc:SI (reg:SI 4 4)) [0 ld1+0 S16 A128])
        (reg:TF 32 0)) 242 {*movtf_internal} (nil)
    (expr_list:REG_INC (reg:SI 4 4)
        (nil)))
connections.c:3120: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393
----------------------------------------------------
emerge --info
------
Portage 2.1.2-r9 (default-linux/ppc/ppc32/2006.0/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.20 ppc)
=================================================================
System uname: 2.6.20 ppc 7455, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 12 Feb 2007 13:29:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mlong-double-128"
CHOST="powerpc-unknown-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/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mlong-double-128"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US en"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/migrated-java-experimental-overlay /usr/local/overlays/gcj-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec apache2 apm berkdb bitmap-fonts bogofilter bonobo cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd foomaticdb fortran gcj gdbm gif glitz gnome gpm gstreamer gtk gtkhtml hal iconv imlib ipv6 isdnlog jack java jpeg kde kdehiddenvisibility ldap libg++ libwww mad midi mikmod motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppc pppd python qt qt3 qt4 quicktime readline reflection ruby sdl seamonkey session spell spl ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode vorbis xfs xml xorg xprint xv zlib" ALSA_CARDS="powermac" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="ati radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-12 15:55:34 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-02-13 00:01:23 UTC
Unfortunately, I don't own a ppc box hence I kind of have to shoot 
in the dark here. To rule out any CFLAGS issues, could you please recompile
without -fno-strict-aliasing and -mlong-double-128 and report back.

Thanks,
Markus
Comment 3 David Gurvich 2007-02-14 03:33:10 UTC
Removing -mlong-double-128 is enough.  R compiles with -fno-strict-aliasing enabled.  Also compiles with both disabled.
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2007-02-14 13:55:26 UTC
Great and I am glad this one got fixed!

cheers,
Markus