Hi, I've got the below linkage error with alsa-lib-0.9.0_rc6 (rc5 also, and I guess all 0.9.0_rcx). I'm on a Gentoo 1.4, with GCC 3.2, kernel 2.4.20_pre10mjc. My gcc options are : CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" I'm ready to test stuffs if needed. Regards, Guillaume. i686-pc-linux-gnu-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_rc5/work/alsa-lib- 0.9.0rc5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-lib-0.9.0_rc5/work/alsa-lib- 0.9.0rc5/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/alsa-lib-0.9.0_rc5 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! make failed
Me too. Ok, a bit more information. Using ~x86 on 1.4_rc1; all installed packages are completely up-to-date - gcc 3.2.1, binutils 2.13.90.0.14. No masked packages are installed. Kernel=2.4.19-gentoo-r10. CFLAGS="-march=athlon -O3 -pipe" Currently have alsa-lib-0.9.0_rc5 installed. Exactly the same failure condition. Combined with original report, this suggests problem with either gcc 3.2.1 or the new binutils. I'd put my money on the latter... phil
Me too... happens on an athlon 1.4 with 512 mb ram, if that's important.
It happened to me today as well... also using the new binutils / gcc /Daniel
ditto, failure with binutils xx.xx.xx.10 and gcc 3.2.1, gentoo-sources r10, athlon 1.333, 512mb ram blah blah blah
If you don't have any sound anymore becuase you tried to unmerge every alsa package to see if you get the same error, and you miss your sound just like i did :) use the rc3, that one still works (think about the snd_ in /etc/modules.d/alsa)
Punting back to bug-wranglers; this looks like a bug related to binutils and/or gcc-3.
same here; a patch would be reaallly nice; need rc5 or rc6 for my via8235 snd card
just to inform u... it's a binutils bug; just compiled binutils-2.13.90.0.10.ebuild and alsa-lib compiled without any glitches :D
<a href=http://bugs.gentoo.org/show_bug.cgi?id=11088#c8>Comment 8</a> is right. I've done the same thing and it fixes my problem. So do we have to change the bug to "fixed" ? I don't know if there's already a bug declared for the binutils problem ?
No, don't change the status to fixed for a workaround. Binutils needs to be masked appropriately by a maintainer until a fixed version is released. If there is a binutils bug already declared then this bug should be marked as a duplicate. I haven't found one myself.
I installed the latest binutils (2.13.90.0.16) and the linking problem disappeared. HTH, Markus
updating binutils to .16 also fixed things for me as well. In the release file for binutils there is a note about an ld related fix. Azarah, as you seem to be the binutils maintainer, this new version should be added to portage. It looks like a simple version bump is all that is needed.
*** Bug 11361 has been marked as a duplicate of this bug. ***
I have added the new version to portage.
The new ebuild works for me - looks like .16 has fixed the problem. Phil Richards
agreed, .16 binutils fixes the problem... lets close this one.