Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153703 - libao does not configure with uclibc: cannot compute sizeof (short), 77
Summary: libao does not configure with uclibc: cannot compute sizeof (short), 77
Status: RESOLVED DUPLICATE of bug 147020
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 08:42 UTC by Johannes Niess
Modified: 2006-11-01 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libao-0.8.5/config.log (config.log,24.82 KB, text/plain)
2006-11-01 08:44 UTC, Johannes Niess
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Niess 2006-11-01 08:42:14 UTC
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
Comment 1 Johannes Niess 2006-11-01 08:44:20 UTC
Created attachment 100971 [details]
libao-0.8.5/config.log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-01 13:11:00 UTC
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.
Comment 3 SpanKY gentoo-dev 2006-11-01 13:18:41 UTC

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