Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92495 - alsa-lib-1.0.9_rc3 compile fails when CFLAGS="-DNDEBUG" flag is specified
Summary: alsa-lib-1.0.9_rc3 compile fails when CFLAGS="-DNDEBUG" flag is specified
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 06:52 UTC by Jakub Argasinski
Modified: 2005-05-27 15:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Argasinski 2005-05-13 06:52:29 UTC
Emerging of alsa-lib-1.0.9_rc3 comile fails with following message:

make[1]: Entering directory `/var/tmp/portage/alsa-lib-1.0.9_rc3/work/alsa-lib-1.0.9rc3/aserver'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../src/pcm    -O2 -march=athlon-4 -mfpmath=sse -mmmx -m3dnow -msse -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -fweb -ftracer -MT aserver.o -MD -MP -MF ".deps/aserver.Tpo" \
  -c -o aserver.o `test -f 'aserver.c' || echo './'`aserver.c; \
then mv -f ".deps/aserver.Tpo" ".deps/aserver.Po"; \
else rm -f ".deps/aserver.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=athlon-4 -mfpmath=sse -mmmx -m3dnow -msse -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -fweb -ftracer   -o aserver  aserver.o ../src/libasound.la
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=athlon-4 -mfpmath=sse -mmmx -m3dnow -msse -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -fweb -ftracer -o .libs/aserver aserver.o../src/.libs/libasound.so -lm -ldl -lpthread
../src/.libs/libasound.so: undefined reference to `dump_hw_params'
collect2: ld returned 1 exit status
make[1]: *** [aserver] Błąd 1
make[1]: Leaving directory `/var/tmp/portage/alsa-lib-1.0.9_rc3/work/alsa-lib-1.0.9rc3/aserver'
make: *** [all-recursive] Błąd 1


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge alsa-lib

Actual Results:  
Compilation failed.

Expected Results:  
The package should have been emerged sucessfully, even with CFLAGS="-DNDEBUG"
flag specified.

root@localhost ~ # emerge --info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-cko3 i686)
=================================================================
System uname: 2.6.11-cko3 i686 AMD Duron(tm) processor
Gentoo Base System version 1.6.11
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.7
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-4 -mfpmath=sse -mmmx -m3dnow -msse -pipe
-fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -fweb -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-4 -mfpmath=sse -mmmx -m3dnow -msse -pipe
-fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/src/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac acpi alsa amarok apm audiofile avi berkdb bindist
bitmap-fonts bzip2 c++ cdparanoia cdr crypt cscope cups curl divx4linux dpms dts
dv dvd dvdr emboss encode fam ffmpeg fftw firefox flac font-server foomaticdb
fortran gd gdbm gif glut gtk gtk2 imagemagick imlib inkjar jabber java jbig jpeg
jpeg2k kde kdeenablefinal libg++ libwww live lm_sensors matroska mikmod mmap mmx
mmx2 mmxext motif mozilla mp3 mpeg nas ncurses nls ntpl nvidia ogg oggvorbis
opengl oss pdflib perl plotutils plugin png python qt quicktime readline real
rtc ruby samba sblive scanner sdl slang spell sqlite sse ssl svg svga tcltk tcpd
tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb
vim-with-x vorbis wmf wxwindows xanim xml2 xmms xv xvid xvmc zlib linguas_pl
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-27 15:04:55 UTC
please report the issue upstream using their bugzilla, thanks
Comment 2 Jakub Argasinski 2005-05-27 15:12:31 UTC
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1126 - the bug is marked
to be resolved in 1.0.9 final version, which has been released yesterday. 
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-27 15:17:31 UTC
ah, ok. that version is already in the tree. thanks!
Comment 4 Jakub Argasinski 2005-05-27 15:31:16 UTC
No problem. I mark this bug CLOSED, then.