This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/33357] collect2: ld terminated with signal 11 [Segmentation fault]
- From: "don-gcc at isis dot cs3-inc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2007 03:43:55 -0000
- Subject: [Bug other/33357] collect2: ld terminated with signal 11 [Segmentation fault]
- References: <bug-33357-15072@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from don-gcc at isis dot cs3-inc dot com 2007-09-09 03:43 -------
Subject: collect2: ld terminated with signal 11 [Segmentation fault]
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?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33357