fails here: x86_64-pc-linux-gnu-gcc -g -ggdb -pipe -Wall -Wpointer-arith -finline-functions -ffast-math -funroll-all-loops -o .libs/beep beep-skin.o beep-util.o beep-output.o beep-fft.o beep-input.o beep-effect.o beep-general.o beep-visualization.o beep-fullscreen.o beep-pluginenum.o beep-playlist.o beep-controlsocket.o beep-dock.o beep-widget.o beep-sbutton.o beep-pbutton.o beep-tbutton.o beep-textbox.o beep-menurow.o beep-hslider.o beep-monostereo.o beep-vis.o beep-svis.o beep-number.o beep-playback.o beep-playstatus.o beep-playlist_list.o beep-playlist_slider.o beep-playlist_popup.o beep-eq_graph.o beep-eq_slider.o beep-main.o beep-logger.o beep-xml_document.o beep-mainwin.o beep-skinwin.o beep-prefswin.o beep-playlistwin.o beep-equalizer.o beep-glade.o beep-hints.o beep-about.o beep-softvolume.o beep-getopt.o beep-getopt1.o beep-urldecode.o beep-mkdtemp.o beep-iir.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread -Wl,--export-dynamic -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/usr/lib64 -lSM -lICE -lX11 /usr/lib/libglade-2.0.so /usr/lib/libxml2.so -lz ../libbeep/.libs/libbeep.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib beep-softvolume.o(.text+0x219): In function `soft_volume_effect': /var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep/softvolume.c:196: undefined reference to `effect_16bit' beep-softvolume.o(.text+0x238):/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep/softvolume.c:201: undefined reference to `effect_16bit' beep-softvolume.o(.text+0x257):/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep/softvolume.c:206: undefined reference to `effect_8bit' beep-softvolume.o(.text+0x276):/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep/softvolume.c:210: undefined reference to `effect_8bit' collect2: ld returned 1 exit status make[4]: *** [beep] Error 1 make[4]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7/beep' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.7-r4/work/bmp-0.9.7' make: *** [all] Error 2 !!! ERROR: media-sound/beep-media-player-0.9.7-r4 failed. !!! Function src_compile, Line 71, Exitcode 2 !!! make failed Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 23 2005, 21:43:38)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" ASFLAGS="" AUTOCLEAN="yes" CFLAGS="-g -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-g -ggdb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs debug distlocks multilib-strict sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://buggy" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt curl debug dvd esd fam flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad motif mozilla mp3 mpeg mysql ncurses network nls nptl ogg oggvorbis opengl oss pam perl png python readline ruby ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales utf8 vorbis xml xml2 xpm xrandr xv zlib" Unset: CBUILD, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY
seems to work with CFLAGS="-O2". i reported it upstream
Same here, on x86. works if compiled with CFLAGS="-O2"