I get no error using vanilla gcc. /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -static -Wall -pipe -g -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector -o osstest osstest.o ../oss-redir/libossredir.la mkdir .libs x86_64-pc-linux-gnu-gcc -Wall -pipe -g -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector -o osstest osstest.o ../oss-redir/.libs/libossredir.a -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: osstest.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC osstest.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [osstest] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/alsa-oss-1.0.11/work/alsa-oss-1.0.11/test' make[1]: *** [check-am] Fehler 2 make[1]: Leaving directory `/var/tmp/portage/alsa-oss-1.0.11/work/alsa-oss-1.0.11/test' make: *** [check-recursive] Fehler 1 !!! ERROR: media-libs/alsa-oss-1.0.11 failed. !!! Function src_test, Line 576, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message.
ups ... Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r2, 2.6.16-gentoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r4 dev-util/ccache: [Not Present] 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector" CHOST="x86_64-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/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/eselect/compiler /etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="7zip X a52 aac acpi alsa amd64 artworkextra asf audiofile avi berkdb bidi bitmap-fonts bzip2 bzlib cairo cdda cdio cdparanoia cdr cli crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dri dts dvb dvd dvdr dvdread dvi eds effects emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal hardened howl hpn httpd idn imagemagick imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww linuxthreads-tls live lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection reiserfs rle sasl sdl session slang sndfile spell spl ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd video_cards_nvidia videos vlm vorbis wmf wxwindows xine xml xml2 xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Thanks for reporting, there was a similar issue with alsa-lib in the past, reported upstream and patch added to alsa-oss 1.0.12.
:( Still doesnt compile on my box: make[2]: Entering directory `/var/tmp/portage/alsa-oss-1.0.11/work/alsa-oss-1.0.11/test' if x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alsa-oss\" -DVERSION=\"1.0.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBASOUND=1 -I. -I. -I../oss-redir -static -Wall -pipe -g -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -MT osstest.o -MD -MP -MF ".deps/osstest.Tpo" -c -o osstest.o osstest.c; \ then mv -f ".deps/osstest.Tpo" ".deps/osstest.Po"; else rm -f ".deps/osstest.Tpo"; exit 1; fi osstest.c: In function `rw_loop': osstest.c:168: Warnung: int Format, anderer Typ Argument (Argument 2) osstest.c:172: Warnung: int Format, anderer Typ Argument (Argument 2) osstest.c:178: Warnung: int Format, anderer Typ Argument (Argument 2) /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -static -Wall -pipe -g -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -o osstest osstest.o ../oss-redir/libossredir.la mkdir .libs x86_64-pc-linux-gnu-gcc -Wall -pipe -g -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -o osstest osstest.o ../oss-redir/.libs/libossredir.a -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: osstest.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC osstest.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [osstest] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/alsa-oss-1.0.11/work/alsa-oss-1.0.11/test' make[1]: *** [check-am] Fehler 2 make[1]: Leaving directory `/var/tmp/portage/alsa-oss-1.0.11/work/alsa-oss-1.0.11/test' make: *** [check-recursive] Fehler 1 !!! ERROR: media-libs/alsa-oss-1.0.11 failed. Call stack: ebuild.sh, line 1546: Called dyn_test ebuild.sh, line 986: Called src_test ebuild.sh, line 616: Called die magic atti # emerge --info Portage 2.1.1-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r3, 2.6.16-gentoo-r13 x86_64) ================================================================= System uname: 2.6.16-gentoo-r13 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Sat, 07 Oct 2006 15:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r2 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" [...]
I've fixed only .12
sorry, my fault :( thanks for fixing!