Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144435 - openal compile/emerge error
Summary: openal compile/emerge error
Status: RESOLVED DUPLICATE of bug 137804
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 09:53 UTC by Jon Phillips
Modified: 2006-08-19 09:58 UTC (History)
0 users

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 Jon Phillips 2006-08-19 09:53:17 UTC
I'm trying to emerge mplayer with the openal USE flag enabled and I get a compiler error. Here are the last few lines of the error:


backends/alc_backend.c: In function `alcBackendSetAudioChannel_':
backends/alc_backend.c:462: warning: statement with no effect
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../inc
lude -I../src/arch/i386 -Wall -ansi -pedantic -finline-functions -ffast-math -fo
mit-frame-pointer -I/usr/include/alsa -I/usr/kde/3.5/include/artsc -pthread -I/u
sr/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-alc_backend.lo -MD -MP -MF .deps/libopenal_
la-alc_backend.Tpo -c backends/alc_backend.c -o libopenal_la-alc_backend.o >/dev
/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFI
G_H -I. -I. -I..  -I../common/include -I../include -I../src/arch/i386  -Wall -an
si -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 libo
penal_la-x86_floatmul.lo -MD -MP -MF ".deps/libopenal_la-x86_floatmul.Tpo" -c -o
 libopenal_la-x86_floatmul.lo `test -f 'arch/i386/x86_floatmul.c' || echo './'`a
rch/i386/x86_floatmul.c; \
then mv -f ".deps/libopenal_la-x86_floatmul.Tpo" ".deps/libopenal_la-x86_floatmu
l.Plo"; else rm -f ".deps/libopenal_la-x86_floatmul.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../inc
lude -I../src/arch/i386 -Wall -ansi -pedantic -finline-functions -ffast-math -fo
mit-frame-pointer -I/usr/include/alsa -I/usr/kde/3.5/include/artsc -pthread -I/u
sr/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_built
in, 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-0.0.8/temp/ccJInm6E.out 
file, please attach this to your bugreport.
make[3]: *** [libopenal_la-x86_floatmul.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8'
make: *** [all] Error 2

!!! ERROR: media-libs/openal-0.0.8 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  openal-0.0.8.ebuild, line 45:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.


And what openal looks like if I emerge -pv openal:


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/openal-0.0.8  USE="alsa arts esd mp3 sdl vorbis -debug" 0 kB 


Here is emerge --info:


workbox rejon # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-20050130, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm arts asf avahi avi bash-completion beagle berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cddb cdparanoia cdr cli cpudetection crypt cups custom-cflags cvs daap dbus dlloader dri dts dvd dvdr dvdread dvi eds emboss encode esd evolution expat fbsplash ffmpeg firefox flac flac-kde fontconfig foomaticdb fortran gd gdbm gif glibc-compat20 glitz gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl howl-compat ieee1394 imagemagick imap imlib ipod ipv6 isdnlog jack java javascript jpeg jpeg2k kde lcms ldap libg++ libwww live logrotate mad matroska mbox mdnsresponder-compat mikmod mmx mmxext mng mono motif mozsvg mp3 mpeg musicbrainz mysql ncurses netboot nls nptl nsplugin nvidia ogg openal opengl oss pam pcre pda pdf pdflib perl php png pop pppd python qt3 qt4 quicktime rar readline real reflection ruby samba sasl scanner sdl session spell spl sql sqlite sse sse2 ssl subversion svg svga tagwriting tcpd theora thumbnail tiff truetype truetype-fonts type1-fonts udev v4l v4l2 vcd vhosts via video_cards_nvidia vorbis win32codecs wmf x11vnc xine xml xmlreader xmlwriter xmms xorg xslt xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-19 09:58:06 UTC
Your gcc is horribly outdated.

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