Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321503 - mysql-5.0.83 - won't compile (buf0buf.c:1393: error: insn does not satisfy its constraints)
Summary: mysql-5.0.83 - won't compile (buf0buf.c:1393: error: insn does not satisfy it...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC64 Linux
: High major
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 22:16 UTC by Antonio Pezo
Modified: 2010-06-07 19:33 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Pezo 2010-05-25 22:16:58 UTC
while trying to compile mysql-5.0.83 (latest stable portage for ppc64)

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.23853 ] [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


Reproducible: Always

Steps to Reproduce:
1. emerge mysql
2.
3.

Actual Results:  
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./../include -DDBUG_OFF -DDBUG_OFF -O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -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
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.23853 ] [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....
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:


Expected Results:  
should compile fine

GG5 ~ # emerge --info =dev-db/mysql-5.0.83
Portage 2.1.8.3 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 ppc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-ppc64-PPC970,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Tue, 25 May 2010 16:25:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
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.6.3, 1.8.5-r4, 1.9.6-r3, 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="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
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 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en hr"
MAKEOPTS="-j4"
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.gentoo.org/gentoo-portage"
USE="7zip X a52 aac ac acl afterimage alsa ati background bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cscope cups cxx dbus device-mapper dga dri dts dv dvd dvdr eds emboss encode escreen eve evo exif extras faad fam fbcon ffmpeg firefox flac fontconfig fontforge fortran fuse gallium gcdmaster gdbm gdu gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal ibm iconv ieee1394 imagemagick imlib iostats ipv6 java jpeg jpeg2k json kde lame lcms ldap libnotify libssh2 linuxkeys lzma lzo mad melt mikmod mng modules motif mp3 mp4 mpeg mplaxer msn mudflap mysql nautilus ncurses network nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl php pic pkcs11 playlist png policykit ppc64 ppds pppd python qt3support qt4 quicktime raw readline reflection remote rss samba schroedinger sdl semantic-desktop session skype spell spl sql sqlite ssh ssl startup-notification svg sysfs tcpd threads tiff timezone truetype unicode usb v4l v4l2 vim-pager vim-syntax vim-with-x vorbis wcwidth weather-metar weather-xoap webkit wmf x264 xattr xcb xgetdefault xine xinerama xlockrc xml xmlreader xmlwriter xorg xpm xterm-color xulrunner xv xvid yahoo yv12 zeroconf 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga svga" 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 Andreas Thalhammer 2010-06-05 19:30:47 UTC
Same here. Shortened emerge --info follows:

G5DC ~ # emerge --info
Portage 2.1.8.3 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/kde, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34-gentoo-8-offb ppc64)
=================================================================                                                                    
System uname: Linux-2.6.34-gentoo-8-offb-ppc64-PPC970MP,_altivec_supported-with-gentoo-1.12.13                                       
Timestamp of tree: Sat, 05 Jun 2010 08:15:02 +0000                                                                                   
ccache version 2.4 [enabled]                                                                                                         
app-shells/bash:     4.0_p37                                                                                                         
dev-java/java-config: 2.1.10                                                                                                         
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.4-r1                                                                                   
dev-python/pycrypto: 2.0.1-r6                                                                                                        
dev-util/ccache:     2.4-r7                                                                                                          
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.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1                                                             
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                                                                                                            
ABI="ppc64"                                                                                                                               
ACCEPT_KEYWORDS="ppc64"                                                                                                                   
ACCEPT_LICENSE="* -@EULA @FSF-APPROVED @OSI-APPROVED IBM-J1.5 IBM-J1.6"                                                                   
ACCEPT_PROPERTIES="*"                                                                                                                     
ALSA_CARDS="aoa"                                                                                                                          
ANT_HOME="/usr/share/ant"                                                                                                                 
ARCH="ppc64"                                                                                                                              
AUTOCLEAN="yes"                                                                                                                           
CBUILD="powerpc64-unknown-linux-gnu"                                                                                                      
CCACHE_SIZE="5G"                                                                                                                          
CDEFINE_ppc="!__powerpc64__"                                                                                                              
CDEFINE_ppc64="__powerpc64__"                                                                                                             
CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"                                                                           
CFLAGS_ppc="-m32"                                                                                                                         
CFLAGS_ppc64="-m64"                                                                                                                       
CHECKREQS_ACTION="error"                                                                                                                  
CHOST="powerpc64-unknown-linux-gnu"                                                                                                       
CHOST_ppc="powerpc-unknown-linux-gnu"                                                                                                     
CHOST_ppc64="powerpc64-unknown-linux-gnu"                                                                                                 
CLEAN_DELAY="5"                                                                                                                           
COLLISION_IGNORE="/lib/modules"                                                                                                           
CONFIG_PROTECT="/etc /lib/modules /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /lib/modules/*/modules.*"                                                                                              
CVS_RSH="ssh"                                                                                                                             
CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"                                                                         
DEFAULT_ABI="ppc64"                                                                                                                       
DISTDIR="/var/cache/distfiles"                                                                                                            
EDITOR="/usr/bin/mcedit"                                                                                                                  
ELIBC="glibc"                                                                                                                             
EMERGE_DEFAULT_OPTS="--verbose"                                                                                                           
EMERGE_WARNING_DELAY="10"                                                                                                                 
EPREFIX=""                                                                                                                                
EROOT="/"                                                                                                                                 
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"                                                                                                         
GCC_SPECS=""                                                                                                                              
GDK_USE_XFT="1"                                                                                                                           
GDM_LANG="de_AT.utf8"                                                                                                                     
GENTOO_PYTHON_PROCESS_NAME="emerge"                                                                                                       
HISTCONTROL="ignorespace"                                                                                                                 
HOME="/root"                                                                                                                              
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"                                                                                    
JAVACC_HOME="/usr/share/javacc/"                                                                                                          
JAVA_HOME="/etc/java-config-2/current-system-vm"                                                                                          
JDK_HOME="/etc/java-config-2/current-system-vm"                                                                                           
KERNEL="linux"                                                                                                                            
KERNEL_ABI="ppc64"                                                                                                                        
LANG="german"                                                                                                                             
LANGUAGE="de"                                                                                                                             
LC_ALL="de_AT.utf8"                                                                                                                       
LDFLAGS="-Wl,-O1"                                                                                                                         
LDFLAGS_ppc="-m elf32ppc"                                                                                                                 
LDFLAGS_ppc64="-m elf64ppc"                                                                                                               
LIBDIR_amd64="lib64"                                                                                                                      
LIBDIR_ppc64="lib64"                                                                                                                      
LINGUAS="de en"                                                                                                                           
LOGNAME="root"                                                                                                                            
MAKEOPTS="-j3"                                                                                                                            
MULTILIB_ABIS="ppc64"                                                                                                                     
OPENGL_PROFILE="xorg-x11"                                                                                                                 
PAGER="/usr/bin/less"                                                                                                                     
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.4"               
PKGDIR="/var/cache/packages"                                                                                                              
PROFILE_ARCH="ppc64"                                                                                                                      
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"                                                                                       
PYTHONDONTWRITEBYTECODE="1"                                                                                                               
ROOT="/"                                                                                                                                  
ROOTPATH="/opt/bin:/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.4"                                                                        
RPMDIR="/usr/portage/rpm"                                                                                                                 
RUBY_TARGETS="ruby18"                                                                                                                     
SHELL="/bin/bash"
STAGE1_USE="nptl nptlonly unicode"
SYMLINK_LIB="yes"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X a52 aac acl alsa altivec apm audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl custom-cflags custom-cxxflags cxx dbus dga djbfft djvu dri dts dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw firefox flac flash fontconfig fortran gdbm gif git gmp gnutls gpm gstreamer gtk gzip hal ibm iconv icu idea idn ieee1394 imagemagick inotify ipv6 java jbig joystick jpeg jpeg2k kde ladspa lame lcms ldap libnotify libsamplerate lzma lzo mad matroska mercurial mikmod mjpeg mng modules mp3 mp4 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppc64 ppds pppd pulseaudio python qt3support qt4 quicktime raw readline recode reflection samba schroedinger sdl semantic-desktop session smp sndfile spell spl ssl startup-notification subversion svg sysfs tcpd theora threads tiff timidity truetype unicode usb vcd vorbis wmf x264 xattr xcb xml xorg xpm xscreensaver xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="aoa" 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="void evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nv nouveau radeon radeonhd fbdev dummy" 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"
USER="root"
USERLAND="GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nv nouveau radeon radeonhd fbdev dummy"
_="/usr/bin/emerge"
bash4="4.0.37(2)-release"
Comment 2 Andreas Thalhammer 2010-06-05 20:16:38 UTC
My USE flags:

# emerge -1v dev-db/mysql
[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

The newest 5.0 version in the tree is 5.0.90-r2, the following worked:
# ACCEPT_KEYWORDS="~ppc64" emerge -1v =dev-db/mysql-5.0.90-r2
[ebuild     U ] dev-db/mysql-5.0.90-r2 [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

dev-db/mysql-5.0.90-r2 compiled without errors on ARCH="ppc64". See comment #1 for my emerge --info output.
Comment 3 Antonio Pezo 2010-06-06 19:10:22 UTC
i did the dev-db/mysql-5.0.90-r2 week or so ago, compiled well.
not sure about stability though.
for now seems ok.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-07 19:33:37 UTC
5.0.90-r2 in stable on ppc64 now.