Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318007 - [4.3/4.4/ICE] dev-db/mysql fails on ppc64 with insn does not satisfy its constraints in copyprop_hardreg_forward_1, at regrename.c:1601
Summary: [4.3/4.4/ICE] dev-db/mysql fails on ppc64 with insn does not satisfy its cons...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 319315 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-01 15:14 UTC by Alexander Miroshnichenko
Modified: 2017-08-12 20:12 UTC (History)
2 users (show)

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


Attachments
source (buf0buf.c,78.05 KB, application/octet-stream)
2010-05-05 06:16 UTC, Alexander Miroshnichenko
Details
build log (build-c.log,803 bytes, text/plain)
2010-05-05 06:17 UTC, Alexander Miroshnichenko
Details
build log with -E option (build-E.log,568.23 KB, text/plain)
2010-05-05 06:20 UTC, Alexander Miroshnichenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Miroshnichenko 2010-05-01 15:14:18 UTC
emerge pdftk fails on ppc

Reproducible: Always

Steps to Reproduce:
[ebuild     U ] dev-db/mysql-5.0.83 [5.0.70-r1] USE="berkdb community%* perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -profiling% (-selinux) -static -test" 0 kB 


Actual Results: 
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0sea.lo -MD -MP -MF .deps/btr0sea.Tpo -c btr/btr0sea.c  -fPIC -DPIC -o .libs/btr0sea.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0btr.lo -MD -MP -MF .deps/btr0btr.Tpo -c btr/btr0btr.c -o btr0btr.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0cur.lo -MD -MP -MF .deps/btr0cur.Tpo -c btr/btr0cur.c -o btr0cur.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0sea.lo -MD -MP -MF .deps/btr0sea.Tpo -c btr/btr0sea.c -o btr0sea.o >/dev/null 2>&1
mv -f .deps/btr0btr.Tpo .deps/btr0btr.Plo
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include    -DDBUG_OFF  -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing    -DDEBUG_OFF -DUNIV_LINUX -MT buf0buf.lo -MD -MP -MF .deps/buf0buf.Tpo -c -o buf0buf.lo `test -f 'buf/buf0buf.c' || echo './'`buf/buf0buf.c
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT buf0buf.lo -MD -MP -MF .deps/buf0buf.Tpo -c buf/buf0buf.c  -fPIC -DPIC -o .libs/buf0buf.o
mv -f .deps/btr0cur.Tpo .deps/btr0cur.Plo
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include    -DDBUG_OFF  -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing    -DDEBUG_OFF -DUNIV_LINUX -MT buf0flu.lo -MD -MP -MF .deps/buf0flu.Tpo -c -o buf0flu.lo `test -f 'buf/buf0flu.c' || echo './'`buf/buf0flu.c
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT buf0flu.lo -MD -MP -MF .deps/buf0flu.Tpo -c buf/buf0flu.c  -fPIC -DPIC -o .libs/buf0flu.o
mv -f .deps/btr0sea.Tpo .deps/btr0sea.Plo
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include    -DDBUG_OFF  -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing    -DDEBUG_OFF -DUNIV_LINUX -MT buf0lru.lo -MD -MP -MF .deps/buf0lru.Tpo -c -o buf0lru.lo `test -f 'buf/buf0lru.c' || echo './'`buf/buf0lru.c
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT buf0lru.lo -MD -MP -MF .deps/buf0lru.Tpo -c buf/buf0lru.c  -fPIC -DPIC -o .libs/buf0lru.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT buf0flu.lo -MD -MP -MF .deps/buf0flu.Tpo -c buf/buf0flu.c -o buf0flu.o >/dev/null 2>&1
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'
buf/buf0buf.c: In function 'buf_page_get_gen':
buf/buf0buf.c:1393: error: insn does not satisfy its constraints:
(insn 1354 1353 1355 120 ./include/sync0rw.ic:440 (set (reg:DI 6 6)
        (plus:DI (reg:DI 0 0 [orig:157 D.23448 ] [157])
            (const_int 1048576 [0x100000]))) 80 {*adddi3_internal1} (nil))
buf/buf0buf.c:1393: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1601
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [buf0buf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT buf0lru.lo -MD -MP -MF .deps/buf0lru.Tpo -c buf/buf0lru.c -o buf0lru.o >/dev/null 2>&1
mv -f .deps/buf0flu.Tpo .deps/buf0flu.Plo
mv -f .deps/buf0lru.Tpo .deps/buf0lru.Plo
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql/innobase'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql/innobase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql'
make: *** [all] Error 2
 * ERROR: dev-db/mysql-5.0.83 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4397:  Called mysql_src_compile
 *   environment, line 3857:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-db/mysql-5.0.83',
 * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.0.83'.
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.83/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.83/temp/environment'.
 * S: '/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql'

>>> Failed to emerge dev-db/mysql-5.0.83, Log file:

>>>  '/var/tmp/portage/dev-db/mysql-5.0.83/temp/build.log'

 * Messages for package dev-db/mysql-5.0.83:

 * Berkeley DB support is deprecated and will be removed in future versions!
 * MySQL MY_DATADIR is /var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.

 * Messages for package dev-db/mysql-5.0.83:

 * Berkeley DB support is deprecated and will be removed in future versions!
 * MySQL MY_DATADIR is /var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.
 * Berkeley DB support was disabled due to build failures
 * on multiple arches, go to a version earlier than 5.0.60
 * if you want it again. Gentoo bug #224067.
 * ERROR: dev-db/mysql-5.0.83 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4397:  Called mysql_src_compile
 *   environment, line 3857:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-db/mysql-5.0.83',
 * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.0.83'.
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.83/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.83/temp/environment'.
 * S: '/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql'



Portage 2.1.8.3 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32.8-vs2.3.0.36.29.1 ppc64)
=================================================================
System uname: Linux-2.6.32.8-vs2.3.0.36.29.1-ppc64-POWER5_-gr-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Apr 2010 19:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.6.3, 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"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=power5 -mtune=native"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -pipe -mcpu=power5 -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/layman/sunrise /usr/local/layman/vps /usr/local/layman/zugaina /usr/local/layman/xen /usr/local/layman/vmware /usr/local/layman/kvm /usr/local/layman/jokey /usr/local/layman/webapps-experimental /usr/local/layman/voip /usr/local/layman/powerpc /usr/local/layman/sabayon /usr/local/layman/hardened-development /usr/local/layman/jmbsvicetto /usr/local/layman/wschlich-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acl admin agent aio altivec apache2 apm bash-completion bcmath berkdb bzip2 caps cgi charconv cli coverpage cracklib crypt ctype curl device-mapper dri exif exim exiscan exiscan-acl expat extras fastcgi filter fontconfig fortran ftp gd gdbm gif gnutls gpg gpgme gpm graphviz gs hash ibm iconv icu idn imagemagick imap ithreads jabber jpeg json libffi logrotate lvm lzma lzo metalink mime mimencode mod_muc mod_pubsub modperl modules mpi mudflap multipath mysql mysqli ncurses nls nptl nptlonly openct openmp pam pcntl pcre pcsc-lite perl php png pop pop3d posix ppc64 pppd pth python quota quotas readline reflection session sieve slang smtp sni sockets spl sqlite sqlite3 ssl suhosin svg sysfs tcpd threads threadsonly tiff tokenizer tools truetype unicode unzip vhosts vim vim-syntax virtual virtual-users web webinstall wmf xattr xft xml xorg xsl xslt xulrunner zip 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 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="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-05-02 20:35:11 UTC
Your GCC looks broken, not a MySQL problem.

buf/buf0buf.c:1393: error: insn does not satisfy its constraints:
(insn 1354 1353 1355 120 ./include/sync0rw.ic:440 (set (reg:DI 6 6)
        (plus:DI (reg:DI 0 0 [orig:157 D.23448 ] [157])
            (const_int 1048576 [0x100000]))) 80 {*adddi3_internal1} (nil))
buf/buf0buf.c:1393: internal compiler error: in copyprop_hardreg_forward_1, at
regrename.c:1601
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [buf0buf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 2 SpanKY gentoo-dev 2010-05-04 23:58:29 UTC
like the output says, please post the preprocessed source as an attachment.  go into the build dir, and run:

powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -c buf/buf0buf.c -fPIC -DPIC

if that fails, replace the -c with -E and post the resulting output
Comment 3 Alexander Miroshnichenko 2010-05-05 06:16:21 UTC
Created attachment 230385 [details]
source

Cource code failed
Comment 4 Alexander Miroshnichenko 2010-05-05 06:17:44 UTC
Created attachment 230387 [details]
build log

resulting output
Comment 5 Alexander Miroshnichenko 2010-05-05 06:20:17 UTC
Created attachment 230389 [details]
build log with -E option

with -E and posted the resulting output

cd /var/tmp/portage/dev-db/mysql-5.0.83/work/mysql/innobase

LANG=C powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=power5 -mtune=native -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -E buf/buf0buf.c -fPIC -DPIC > /root/build-E.log 2>&1
Comment 6 SpanKY gentoo-dev 2010-05-05 07:39:16 UTC
thanks, i can reproduce with that file and my ppc64 cross-compiler and gcc-4.4.3.  seems you just need -O2 and no other flag.
Comment 7 SpanKY gentoo-dev 2010-05-05 07:54:57 UTC
reduced test case which we can push upstream if a PR isnt already open ...
foo()
{
    volatile long int lock;
 retry:
    if (__sync_fetch_and_add(&lock, 0x00100000))
        goto retry;
}
Comment 8 Alexander Miroshnichenko 2010-05-05 13:07:36 UTC
(In reply to comment #6)
> thanks, i can reproduce with that file and my ppc64 cross-compiler and
> gcc-4.4.3.  seems you just need -O2 and no other flag.
> 
This is now optimization?!

I has left only -O2 and error former exists:

libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0pcur.lo -MD -MP -MF .deps/btr0pcur.Tpo -c btr/btr0pcur.c -o btr0pcur.o >/dev/null 2>&1                                                                   
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'                                                                         
buf/buf0buf.c: In function 'buf_page_get_gen':                                                                                                                                    
buf/buf0buf.c:1393: error: insn does not satisfy its constraints:                                                                                                                 
(insn 1381 1380 1382 120 ./include/sync0rw.ic:440 (set (reg:DI 6 6)                                                                                                               
        (plus:DI (reg:DI 0 0 [orig:157 D.23486 ] [157])                                                                                                                           
            (const_int 1048576 [0x100000]))) 80 {*adddi3_internal1} (nil))                                                                                                        
buf/buf0buf.c:1393: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1601                                                                                   
Please submit a full bug report,                                                                                                                                                  
with preprocessed source if appropriate.                                                                                                                                          
See <http://bugs.gentoo.org/> for instructions.                                                                                                                                   
make[3]: *** [buf0buf.lo] Error 1                                                                                                                                                 
make[3]: *** Waiting for unfinished jobs....                                                                                                                                      
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0sea.lo -MD -MP -MF .deps/btr0sea.Tpo -c btr/btr0sea.c -o btr0sea.o >/dev/null 2>&1                                                                       
mv -f .deps/btr0pcur.Tpo .deps/btr0pcur.Plo                                                                                                                                       
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0btr.lo -MD -MP -MF .deps/btr0btr.Tpo -c btr/btr0btr.c -o btr0btr.o >/dev/null 2>&1                                                                       
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -DDEBUG_OFF -DUNIV_LINUX -MT btr0cur.lo -MD -MP -MF .deps/btr0cur.Tpo -c btr/btr0cur.c -o btr0cur.o >/dev/null 2>&1                                                                       
mv -f .deps/btr0sea.Tpo .deps/btr0sea.Plo                                                                                                                                         
mv -f .deps/btr0btr.Tpo .deps/btr0btr.Plo                                                                                                                                         
mv -f .deps/btr0cur.Tpo .deps/btr0cur.Plo                                                                                                                                         
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql/innobase'                                                                                             
make[2]: *** [all] Error 2                                                                                                                                                        
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql/innobase'                                                                                             
make[1]: *** [all-recursive] Error 1                                                                                                                                              
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql'                                                                                                      
make: *** [all] Error 2
 * ERROR: dev-db/mysql-5.0.83 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4398:  Called mysql_src_compile
 *   environment, line 3858:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *
 * If you need support, post the output of 'emerge --info =dev-db/mysql-5.0.83',
 * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.0.83'.
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.83/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.83/temp/environment'.
 * S: '/var/tmp/portage/dev-db/mysql-5.0.83/work/mysql'

>>> Failed to emerge dev-db/mysql-5.0.83, Log file:

Comment 9 SpanKY gentoo-dev 2010-05-05 18:42:14 UTC
i have no idea what you're talking about.  there's nothing left for you to do here.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2010-05-08 02:41:46 UTC
there are a couple PR's that look related:

  http://gcc.gnu.org/PR39685
  http://gcc.gnu.org/PR43267
Comment 11 Alexander Miroshnichenko 2010-05-11 10:51:01 UTC
This bug only for 5.0.83 version. I unmask =dev-db/mysql-5.0.90-r2 stable for other arch's and its compiles OK.

Request stable dev-db/mysql-5.0.90-r2 for ppc64 or mask dev-db/mysql-5.0.83
Comment 12 SpanKY gentoo-dev 2010-05-20 03:16:09 UTC
*** Bug 319315 has been marked as a duplicate of this bug. ***
Comment 13 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-07-24 12:46:39 UTC
Since dev-db/mysql-5.0.91 is now stable on ppc64, do we need to keep this bug open?
Comment 14 Alexander Miroshnichenko 2011-08-04 05:26:57 UTC
(In reply to comment #13)
> Since dev-db/mysql-5.0.91 is now stable on ppc64, do we need to keep this bug
> open?

No need.
Comment 15 Mark Loeser (RETIRED) gentoo-dev 2011-08-04 19:11:11 UTC
The GCC bug is still present.
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2012-07-15 05:59:34 UTC
Is 4.5+ affected?  If not then let's close this.
Comment 17 Andreas K. Hüttel archtester gentoo-dev 2017-08-12 20:12:41 UTC
(In reply to Ryan Hill from comment #16)
> Is 4.5+ affected?  If not then let's close this.

Let's assume 4.9 and later is not affected. If it is, please reopen with a corresponding log.