Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14133 - compiling alsa-lib-0.9.0_rc6 segfaults
Summary: compiling alsa-lib-0.9.0_rc6 segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-18 03:22 UTC by Glenn Ergeerts
Modified: 2003-04-04 01:25 UTC (History)
0 users

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 Glenn Ergeerts 2003-01-18 03:22:41 UTC
Hi, 

Im using a Hercules GameSurround card ( cs46xx ). 
Emerging alsa-lib-0.9.0 rc6 segfaults: 


gcc -shared conf.lo confmisc.lo input.lo output.lo async.lo error.lo dlmisc.lo -Wl,-- whole-archive control/.libs/libcontrol.al mixer/.libs/libmixer.al pcm/.libs/libpcm.al rawmidi/.libs/librawmidi.al timer/.libs/libtimer.al hwdep/.libs/libhwdep.al seq/.libs/ libseq.al instr/.libs/libinstr.al compat/.libs/libcompat.al -Wl,--no-whole-archive  control/.libs/libcontrol.al mixer/.libs/libmixer.al pcm/.libs/libpcm.al rawmidi/.libs/ librawmidi.al timer/.libs/libtimer.al hwdep/.libs/libhwdep.al seq/.libs/libseq.al instr/.libs/libinstr.al compat/.libs/libcompat.al -lm -ldl -lpthread      -Wl,-- version-script=Versions -Wl,-soname -Wl,libasound.so.2 -o .libs/libasound.so.2.0.0 
collect2: ld terminated with signal 11 [Segmentation fault], core dumped 
make[2]: *** [libasound.la] Error 1 
make[2]: Leaving directory `/var/tmp/portage/alsa-lib-0.9.0_rc6/work/alsa-lib-0.9.0rc6/ src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/alsa-lib-0.9.0_rc6/work/alsa-lib-0.9.0rc6/ src' 
make: *** [all-recursive] Error 1 

!!! ERROR: media-libs/alsa-lib-0.9.0_rc6 failed. 
!!! Function src_compile, Line 21, Exitcode 2 
!!! make failed




I dont think its a hardware(memory) problem because all the other ebuilds emerge just fine and my system is very stable. 
My proc is not overclocked or something and im using CFLAGS='-march=athlon -mcpu=athlon -O3 -pipe' .. 
Right now i'm using alsa-lib-0.9.0-rc5 
( compiling alsa-driver-0.9.0-rc6 was no problem also).
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2003-01-21 13:04:58 UTC
Please try changing CFLAGS to "-march=i686 -O2 -pipe" and recompiling.  If that
doesn't work, post the output of "emerge info".  Also, do you have an up-to-date
version of binutils?
Comment 2 Glenn Ergeerts 2003-01-22 11:25:23 UTC
ok, thanks alot, updating binutils resolved this!
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:20:10 UTC
db fix
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:25:04 UTC
db fix