This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Bug other/33357] collect2: ld terminated with signal 11 [Segmentation fault]
- From: don-gcc at isis dot cs3-inc dot com (Don Cohen)
- To: pinskia at gcc dot gnu dot org, vapier at gentoo dot org
- To: <gcc-bugzilla at gcc dot gnu dot org>, binutils at sourceware dot org
- Date: Sat, 8 Sep 2007 20:44:00 -0700
- Subject: [Bug other/33357] collect2: ld terminated with signal 11 [Segmentation fault]
- References: <bug-33357-15072@http.gcc.gnu.org/bugzilla/> <20070908192921.32180.qmail@sourceware.org> <18147.7087.217322.571988@isis.cs3-inc.com> <200709081837.30536.vapier@gentoo.org>
pinskia at gcc dot gnu dot org writes:
> This is ld crashing and ld is part of the binutils project.
Mike Frysinger writes:
> you should start with what version of binutils you're actually using ... run
> `ld --version`
> if that version != 2.18, then you should first upgrade
Thank you both for your replies. I have now built binutils 2.18.
However I'm not root on this machine and so cannot install it in the
place where the original command (g++ -O3 -DDBUG_OFF ...) will find
it. Can either of you tell me how to arrange for the g++ command to
use the version of ld I've just built?
I see at least two problems here. First, g++ is not simply calling ld
on the same arguments - when I replace g++ with ld I get an error
about unrecognized option -DDBUG_OFF.
Second, I suspect that the ld I just built is the file
~/binutils-2.18/ld/ld-new - is that correct?