I've included openal as one of my make flags using ~x86, and the compile fails. See the details below. Reproducible: Always Steps to Reproduce: 1. emerge openal 2. 3. Actual Results: arch/i386/floatmul.c: In function `_alFloatMul': arch/i386/floatmul.c:86: internal compiler error: in ix86_expand_binop_builtin, at config/i386/i386.c:13246 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/openal-20051024/temp/ccYNqjEb.out file, please attach this to your bugreport. make[1]: *** [arch/i386/floatmul.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/openal-20051024/work/openal-20051024/linux/src' make: *** [all] Error 2 Expected Results: I've never had problems emerging openal in the past. Thanks for taking the time to check this out. Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r4 i686) ================================================================= System uname: 2.6.13-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aim alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 calendar cdr crypt cups curl dvd dvdr dvdread emacs emboss encode foomaticdb fortran ftp gd gdbm ggi gif gnutls gpm gtk gtk2 hal icq imagemagick imap imlib ipv6 jabber jack java javascript joystick jpeg kde kerberos krb4 ldap libg++ libwww mad mikmod mime mmx motif mozilla mp3 mpeg msn ncurses nls nsplugin nvidia ogg oggvorbis openal opengl oscar pam pdflib perl php png posix ppds python qt quicktime readline ruby sasl scanner sdl simplexml slp sox spell sse ssl svg svga symlink tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis wifi win32codecs x86 xine xml xml2 xmms xpm xv yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 71419 [details] The preprocessed source of the bug
I've encountered the same problem. There are my last compile lines, and I've attached the preprocessed source of the bug (that ccQja5bT.out file) above: i686-pc-linux-gnu-gcc -I../../include -I../include -Iarch -I. -Iarch/i386 -D_ISOC99_SOURCE -O3 -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c arch/i386/floatmul.c -o arch/i386/floatmul.o arch/i386/floatmul.c: In function `_alFloatMul': arch/i386/floatmul.c:86: internal compiler error: in ix86_expand_binop_builtin, at config/i386/i386.c:13246 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/openal-20051024/temp/ccQja5bT.out file, please attach this to your bugreport. make[1]: *** [arch/i386/floatmul.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/openal-20051024/work/openal-20051024/linux/src' make: *** [all] Error 2 + diefunc src_compile 57 2 + local funcname=src_compile lineno=57 exitcode=2 + shift 3 + echo + echo '!!! ERROR: media-libs/openal-20051024 failed.' !!! ERROR: media-libs/openal-20051024 failed. + echo '!!! Function src_compile, Line 57, Exitcode 2' !!! Function src_compile, Line 57, Exitcode 2 + echo '!!! (no error message)' !!! (no error message) + echo '!!! If you need support, post the topmost build error, NOT this status message.' !!! If you need support, post the topmost build error, NOT this status message. + echo + '[' compile == compile ']' + exit 1 # emerge info Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-archck8 i686) ================================================================= System uname: 2.6.13-archck8 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r1, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.lug.ro/gentoo ftp://ftp.romnet.org/gentoo http://ftp.roedu.net/pub/mirrors/gentoo http://ftp.lug.ro/gentoo http://ftp.romnet.org/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo/" LINGUAS="ro us" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d a52 aac aalib acpi adns afs aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo bzlib cdb cdparanoia cdr crypt cscope cups curl curlwrappers debug dga directfb doc dv dvb dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo exif fam fbcon ffmpeg fftw firebird flac flash foomaticdb fortran freetype ftp gb gd gdbm geoip ggi gif ginac glut gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl icq imagemagick imap imlib inifile innodb ipv6 jabber jack java javascript jikes jpeg kde kdeenablefinal ladcca lcms ldap leim libcaca libg++ libwww lirc lm_sensors mad matroska mcurses mikmod milter mime ming mmap mmx mng mono motif mozilla mp3 mpeg msn mule mysql nas ncurses neXt netcdf nis nls nptl oci8 odbc ogg oggvorbis openal opengl oracle oracle7 oscar oss pam pda pdflib perl php pie plotutils png pnp portaudio ppds prelude python qt quicktime readline recode ruby samba sasl scanner sdl skey slang sndfile snmp sockets socks5 sox speex spell spl sse ssl svg svga symlink sysfs sysvipc szip tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb usepackagedmakefiles v4l vcd vhosts videos vorbis wmf wxwindows xface xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zlib linguas_ro linguas_us userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS Thank you in advance for looking at this.
Unfortunately, I am currently unable to work on most of my bugs due to a lack of Internet access at home. I should be back online within the week, but I just wanted to let you know what is going on with this. For the time being, I'd suggest just masking the newer version of the ebuild locally.
Confirmed - same error in the same place.
This is a gcc bug. Looks like both of you have the same compiler version. Its been fixed upstream... http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10984
Alright... Toolchain: is there a patch to GCC 3.3.6 that we can apply?
(In reply to comment #6) > Alright... > > Toolchain: is there a patch to GCC 3.3.6 that we can apply? Try: gcc-config -f i686-pc-linux-gnu-<gcc version> Just replace <gcc version> with the gcc version you use. In my case it was 3.4.4-r1, so running "gcc-config -f i686-pc-linux-gnu-3.4.4" did the trick for me.
Not a compile failure but if you fix the problem... fix this one too... dodoc: CREDITS does not exist dodoc: CHANGES does not exist dodoc: COPYING does not exist dodoc: CREDITS does not exist :)
(In reply to comment #7) > (In reply to comment #6) > > Alright... > > > > Toolchain: is there a patch to GCC 3.3.6 that we can apply? > > Try: > > gcc-config -f i686-pc-linux-gnu-<gcc version> > > Just replace <gcc version> with the gcc version you use. In my case it was > 3.4.4-r1, so running "gcc-config -f i686-pc-linux-gnu-3.4.4" did the trick for me. Huh? How exactly does that fix the compiler bug on our current stable GCC?
(In reply to comment #7) I've runned: gcc-config -f i686-pc-linux-gnu-3.3.6 and openal compiled without flaws.
I wanted to chime in here. I have an x86 system running sys-devel/gcc-3.3.6, and openal-20051024 emerged absolutely fine on my system... Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz Gentoo Base System version 1.4.16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/ciaran/portage/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dga dvd eds emboss encode esd fam flac fluidsynth foomaticdb fortran gd gdbm gif gmail gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java jbig joystick jpeg kde kdeenablefinal ladspa libg++ libwww mad mikmod mmx mmxext motif mozsvg mp3 mpeg multitarget ncurses nls nodrm nptl ogg oggvorbis opengl oss pam pdflib perl pic png povray ppds python qt quicktime readline real samba sdl slang sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts v4l vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS I didn't need to run any gcc-config command to get it to work.
This should be fixed with the current stable version of gcc, 3.4.4.
*** Bug 133909 has been marked as a duplicate of this bug. ***
*** Bug 136092 has been marked as a duplicate of this bug. ***
I have gcc-3.4.6-r1 emerged and still get this error. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../include -I../src/arch/i386 -Wall -ansi -pedantic -finline-functions -ffast-math -fomit-frame-pointer -I/usr/include/alsa -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -O2 -march=pentium4 -fomit-frame-pointer -pipe -MT libopenal_la-x86_floatmul.lo -MD -MP -MF .deps/libopenal_la-x86_floatmul.Tpo -c arch/i386/x86_floatmul.c -fPIC -DPIC -o .libs/libopenal_la-x86_floatmul.o arch/i386/x86_floatmul.c:86:74: warning: use of C99 long long integer constant arch/i386/x86_floatmul.c:89:74: warning: use of C99 long long integer constant arch/i386/x86_floatmul.c: In function `_alFloatMul': arch/i386/x86_floatmul.c:86: internal compiler error: in ix86_expand_binop_builtin, at config/i386/i386.c:13246
This package version has long since been removed from the tree...