I can not compile libao with uclibc. Tested with uclibc-0.9.28, uclibc-0.9.28-r1 +uclibc-compat, libao-0.8.5, libao-0.8.6-r2 stingray src # emerge -av --oneshot libao These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-libs/libao-0.8.5 USE="-alsa -arts -esd -mmap -nas" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] .... checking if i386-gentoo-linux-uclibc-g++ supports -c -o file.o... yes checking whether the i386-gentoo-linux-uclibc-g++ linker (/usr/i386-gentoo-linux-uclibc/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for pthread_kill in -lpthread... yes checking for short... yes checking size of short... configure: error: cannot compute sizeof (short), 77 See `config.log' for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/libao-0.8.6-r2/work/libao-0.8.6/config.log !!! ERROR: media-libs/libao-0.8.6-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile libao-0.8.6-r2.ebuild, line 40: Called econf '--disable-alsa09' '--disable-alsa09-mmap' '--disable-arts' '--disable-esd' '--disable-nas' '--enable-shared' '--enable-static' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. stingray src # emerge --info Portage 2.1-r2 (uclibc/x86/2.4, gcc-4.1.1, uclibc-0.9.28-r1, 2.6.18 i686) ================================================================= System uname: 2.6.18 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.26-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-Os -pipe" CHOST="i386-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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="-Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-z,relro" 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 bitmap-fonts cli cracklib dlloader dri minimal ncurses pcre readline reflection session spl truetype-fonts type1-fonts uclibc xorg zlib elibc_uclibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux lirc_devices_serial userland_GNU video_cards_dummy video_cards_fbdev video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 100971 [details] libao-0.8.5/config.log
configure:8613: i386-gentoo-linux-uclibc-gcc -o conftest -O20 -ffast-math -D_REENTRANT -fsigned-char -Os -pipe -Wl,-z,relro -Wl,-z,relro conftest.c -lpthread >&5 configure:8616: $? = 0 configure:8618: ./conftest ./configure: line 8619: 6508 Segmentation fault ./conftest$ac_exeext uhm, might not be a good idea to use -ffast-math from libao.
*** This bug has been marked as a duplicate of 147020 ***