Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319315 - sys-devel/gcc-4.3.4 fails to compile dev-db/mysql-5.0.83: "internal compiler error"
Summary: sys-devel/gcc-4.3.4 fails to compile dev-db/mysql-5.0.83: "internal compiler ...
Status: RESOLVED DUPLICATE of bug 318007
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 22:23 UTC by Rene Mueller
Modified: 2010-05-20 03:16 UTC (History)
2 users (show)

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


Attachments
preprocessor output (buf0buf.c,568.23 KB, text/plain)
2010-05-11 22:26 UTC, Rene Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Mueller 2010-05-11 22:23:44 UTC
The attempt to build dev-db/mysql-5.8.83 reveals a compiler bug on PPC64. 
It appears to be code generator issue.  

The bug can be reproduced by compiling the attached preprocessor output. 



Reproducible: Always

Steps to Reproduce:
1. emerge -pv  emerge =dev-db/mysql-5.0.83

or equivalently using attached preprocessor output 
1. gcc -c buf0buf.c


Actual Results:  
buf/buf0buf.c: In function '_increment_page_get_statistics':
buf/buf0buf.c:1134: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'int'
buf/buf0buf.c:1136: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'int'
./include/sync0rw.ic: In function 'rw_lock_x_lock_func_nowait':
./include/sync0rw.ic:489: error: insn does not satisfy its constraints:
(insn 147 146 148 ./include/sync0rw.ic:440 (set (reg:DI 10 10)
        (plus:DI (reg:DI 0 0 [orig:123 D.8540 ] [123])
                    (const_int 1048576 [0x100000]))) 80 {*adddi3_internal1} (nil))
./include/sync0rw.ic:489: internal compiler error: in final_scan_insn, at final.c:2548
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Expected Results:  
successful compilation, i.e., only the warning messages


Portage 2.1.8.3 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 ppc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-ppc64-PPC970MP,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Tue, 11 May 2010 14:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-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.3
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="* -@EULA IBM-J1.6 IBM-J1.5"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl alsa altivec apache2 arts berkdb bluetooth branding bzip2 cairo cdr cgi cli consolekit cracklib crypt cscope cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal ibm iconv java javacomm jpeg kde lcms libnotify loop-aes mad mikmod mng modules mp3 mp4 mpeg mpi mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png postgres ppc64 ppds pppd python qt3 qt3support qt4 readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tetex threads tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rene Mueller 2010-05-11 22:26:01 UTC
Created attachment 231135 [details]
preprocessor output

preprocessor output that fails to compile with "gcc -c buf0buf.c"
Comment 2 SpanKY gentoo-dev 2010-05-20 03:16:09 UTC
please search

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