Summary: | libao and libogg won't compile (libtool -1.5.2-r5 ??) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
Component: | Current packages | Assignee: | ppc64 architecture team <ppc64> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.1 | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markus Rothe (RETIRED)
2004-07-23 05:30:13 UTC
mh.. more a normal than a major bug ;-) emerge info output: Portage 2.0.50-r9 (default-ppc64-2004.2, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6 .7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 ppc64 PPC970, altivec supported Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CFLAGS="-mcpu=970 -O3 -pipe -fsigned-char -mabi=altivec" CHOST="powerpc64-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=970 -O3 -pipe -fsigned-char -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.rxd.hu ftp://gento o.inode.at/source/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa altivec apm berkdb cdr cups dedicated dv dvb dvd dvdr ema cs encode fbcon foomaticdb gdbm gif gimpprint gpm gstreamer gtk gtk2 imap imlib ipv6 jpeg libwww maildir mitshm mpeg ncurses nls nocardbus nowin nptl oggvorbis opengl oss pam perl png pnp ppc64 python qt quicktime readline sdl slang ssl tcp d truetype unicode usb videos wxwindows xml xml2 xmms xosd xv zlib" Markus manual compiling also doesn't solve the problem: markus@G5 libao-0.8.5 $ make Making all in src make[1]: Entering directory `/home/markus/temp/libao-0.8.5/src' Making all in plugins make[2]: Entering directory `/home/markus/temp/libao-0.8.5/src/plugins' Making all in oss make[3]: Entering directory `/home/markus/temp/libao-0.8.5/src/plugins/oss' source='ao_oss.c' object='ao_oss.lo' libtool=yes \ depfile='.deps/ao_oss.Plo' tmpdepfile='.deps/ao_oss.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAM E=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DP ACKAGE=\"libao\" -DVERSION=\"0.8.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAV E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRI NGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DDLOPEN_FLAG=\(RTLD_NOW\ \|\ RTLD_GLOBAL\) -DSHARED_LIB_EX T=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_SYS_SOUNDCARD_H =1 -DBROKEN_OSS=1 -I. -I. -I../../../include/ao -I../../../include -O20 -ffa st-math -D_REENTRANT -fsigned-char -g -O2 -c -o ao_oss.lo `test -f 'ao_oss.c' || echo './'`ao_oss.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_ STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.5\" -DS TDC_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_STDIN T_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 "-DDLOPEN_FLAG=(RTL D_NOW | RTLD_GLOBAL)" -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 - DSIZEOF_LONG=8 -DHAVE_SYS_SOUNDCARD_H=1 -DBROKEN_OSS=1 -I. -I. -I../../../includ e/ao -I../../../include -O20 -ffast-math -D_REENTRANT -fsigned-char -g -O2 -c ao _oss.c -MT ao_oss.lo -MD -MP -MF .deps/ao_oss.TPlo -fPIC -DPIC -o ao_oss.lo /bin/sh ../../../libtool --mode=link gcc -O20 -ffast-math -D_REENTRANT -fsigned -char -g -O2 -o liboss.la -rpath /usr/local/lib/ao/plugins-2 -export-dynamic - avoid-version ao_oss.lo -lpthread mkdir .libs rm -fr .libs/liboss.la .libs/liboss.* .libs/liboss.* (cd . && ln -s ao_oss.lo ao_oss.o) gcc gcc: no input files make[3]: *** [liboss.la] Error 1 make[3]: Leaving directory `/home/markus/temp/libao-0.8.5/src/plugins/oss' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/markus/temp/libao-0.8.5/src/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/markus/temp/libao-0.8.5/src' make: *** [all-recursive] Error 1 markus@G5 libao-0.8.5 $ Markus full output: ^[]1;^G^[]2;Started emerge on: Jul 23, 2004 20:01:06^G^[]1;^G^[]2; *** emerge --verbose libao^G^[]1;^G^[]2; >>> emerge (1 of 1) media-libs/libao-0.8.5 to /^G^[]1;^G^[]2; === (1 of 1) Cleaning (media-libs/libao-0.8.5::/usr/portage/media-libs/libao/libao-0.8.5.ebuild)^G^[]1;^G^[]2; === (1 of 1) Compiling/Merging (media-libs/libao-0.8.5::/usr/portage/media-libs/libao/libao-0.8.5.ebuild)^G>>> Unpacking source... >>> Unpacking libao-0.8.5.tar.gz to /var/tmp/portage/libao-0.8.5/work ^[[32;01m*^[[0m Patching ${S}/ltmain.sh... ^[[32;01m*^[[0m Applying portage-1.4.1.patch... >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc64-unknown-linux-gnu-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc64-unknown-linux-gnu checking host system type... powerpc64-unknown-linux-gnu checking for powerpc64-unknown-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ld used by GCC... /usr/powerpc64-unknown-linux-gnu/bin/ld checking if the linker (/usr/powerpc64-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/powerpc64-unknown-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for powerpc64-unknown-linux-gnu-ranlib... no checking for ranlib... ranlib checking for powerpc64-unknown-linux-gnu-strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/powerpc64-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for pthread_kill in -lpthread... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for snd_pcm_channel_params in -lasound... no checking sys/asoundlib.h usability... yes checking sys/asoundlib.h presence... yes checking for sys/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes configure: WARNING: Broken OSS API workaround enabled. See README for details. checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating include/ao/Makefile config.status: creating include/ao/os_types.h config.status: creating src/plugins/Makefile config.status: creating src/plugins/esd/Makefile config.status: creating src/plugins/oss/Makefile config.status: creating src/plugins/alsa/Makefile config.status: creating src/plugins/alsa09/Makefile config.status: creating src/plugins/sun/Makefile config.status: creating src/plugins/irix/Makefile config.status: creating src/plugins/arts/Makefile config.status: creating src/plugins/macosx/Makefile config.status: creating src/plugins/nas/Makefile config.status: creating debian/Makefile config.status: creating ao.pc config.status: executing depfiles commands Making all in src make[1]: Entering directory `/var/tmp/portage/libao-0.8.5/work/libao-0.8.5/src' Making all in plugins make[2]: Entering directory `/var/tmp/portage/libao-0.8.5/work/libao-0.8.5/src/plugins' Making all in oss make[3]: Entering directory `/var/tmp/portage/libao-0.8.5/work/libao-0.8.5/src/plugins/oss' source='ao_oss.c' object='ao_oss.lo' libtool=yes \ depfile='.deps/ao_oss.Plo' tmpdepfile='.deps/ao_oss.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.5\" -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_LIBPTHREAD=1 -DDLOPEN_FLAG=\(RTLD_NOW\ \|\ RTLD_GLOBAL\) -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_SYS_SOUNDCARD_H=1 -DBROKEN_OSS=1 -I. -I. -I../../../include/ao -I../../../include -O20 -ffast-math -D_REENTRANT -fsigned-char -mcpu=970 -O3 -pipe -fsigned-char -mabi=altivec -c -o ao_oss.lo `test -f 'ao_oss.c' || echo './'`ao_oss.c mkdir .libs gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.5\" -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_LIBPTHREAD=1 "-DDLOPEN_FLAG=(RTLD_NOW | RTLD_GLOBAL)" -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_SYS_SOUNDCARD_H=1 -DBROKEN_OSS=1 -I. -I. -I../../../include/ao -I../../../include -O20 -ffast-math -D_REENTRANT -fsigned-char -mcpu=970 -O3 -pipe -fsigned-char -mabi=altivec -c ao_oss.c -MT ao_oss.lo -MD -MP -MF .deps/ao_oss.TPlo -fPIC -DPIC -o .libs/ao_oss.lo gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.5\" -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_LIBPTHREAD=1 "-DDLOPEN_FLAG=(RTLD_NOW | RTLD_GLOBAL)" -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_SYS_SOUNDCARD_H=1 -DBROKEN_OSS=1 -I. -I. -I../../../include/ao -I../../../include -O20 -ffast-math -D_REENTRANT -fsigned-char -mcpu=970 -O3 -pipe -fsigned-char -mabi=altivec -c ao_oss.c -MT ao_oss.lo -MD -MP -MF .deps/ao_oss.TPlo -o ao_oss.o >/dev/null 2>&1 mv -f .libs/ao_oss.lo ao_oss.lo /bin/sh ../../../libtool --mode=link gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -mcpu=970 -O3 -pipe -fsigned-char -mabi=altivec -o liboss.la -rpath /usr/lib/ao/plugins-2 -export-dynamic -avoid-version ao_oss.lo -lpthread rm -fr .libs/liboss.la .libs/liboss.* .libs/liboss.* gcc gcc: no input files make[3]: *** [liboss.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/libao-0.8.5/work/libao-0.8.5/src/plugins/oss' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libao-0.8.5/work/libao-0.8.5/src/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libao-0.8.5/work/libao-0.8.5/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libao-0.8.5 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) Calculating dependencies ^H^H ...done! >>> emerge (1 of 1) media-libs/libao-0.8.5 to / >>> md5 src_uri ;-) libao-0.8.5.tar.gz ^[]1;^G^[]2; *** terminating.^G^[]1;^G^[]2;xterm^G Markus Thanks Markus! Hi Markus, Libao and libogg both build for me. I suspect the problem here is your CFLAGS. -mcpu=970 is known to have ill effects use -mtune-970 instead ;-) apologies, I'm going to interpret silence on this matter as agreement, feel free to reopen if it is indeed not the case. hmm... I tried it even with only -O2, but this didn't help. Will reinstall my computer from scatch now (some other issues, too...) So please close this bug. Markus |