public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ld segfault on building gcc 3.3.2 on IRIX 6.2
@ 2004-04-18 16:38 Alexander Oberdörster
  2004-04-19 15:21 ` llewelly
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Oberdörster @ 2004-04-18 16:38 UTC (permalink / raw)
  To: gcc-help

Hi,

"make bootstrap" successfully builds g++ itself, but fails on linking 
libstdc++v3. ld crashes with a segmentation fault:

---
/kram/gcc-gnuld/gcc/xgcc [...] -o .libs/libstdc++.so.6.5

collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/local/bin/ld: BFD 2.14 20030612 assertion fail elfxx-mips.c:7417
---

This is using GNU ld and GNU as. Using the SGI equivalents yields the 
same result: ld crashes during the final link stage. I can supply the 
complete command line of xgcc, if that is of any help.

The machine is an IP 22 running IRIX 6.2. I am using gcc 2.95.2 (from 
the SGI freeware package for IRIX 6.2).

Any help is appreciated.


Alexander

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ld segfault on building gcc 3.3.2 on IRIX 6.2
  2004-04-18 16:38 ld segfault on building gcc 3.3.2 on IRIX 6.2 Alexander Oberdörster
@ 2004-04-19 15:21 ` llewelly
  0 siblings, 0 replies; 2+ messages in thread
From: llewelly @ 2004-04-19 15:21 UTC (permalink / raw)
  To: gcc; +Cc: gcc-help

Alexander Oberdörster <ray@deleet.de> writes:

> Hi,
> 
> "make bootstrap" successfully builds g++ itself, but fails on linking
> libstdc++v3. ld crashes with a segmentation fault:
> 
> ---
> /kram/gcc-gnuld/gcc/xgcc [...] -o .libs/libstdc++.so.6.5
> 
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
> /usr/local/bin/ld: BFD 2.14 20030612 assertion fail
> elfxx-mips.c:7417

It's a bug for ld to crash (rather than reporting an error, etc,) so
    report a bug to bug-binutils@gnu.org (I think).

This could also be caused by a bug in gcc, so see
    gcc.gnu.org/bugs.html .

> ---
> 
> This is using GNU ld and GNU as. Using the SGI equivalents yields the
> same result: ld crashes during the final link stage. I can supply the
> complete command line of xgcc, if that is of any help.
> 
> The machine is an IP 22 running IRIX 6.2. I am using gcc 2.95.2 (from
> the SGI freeware package for IRIX 6.2).

A shot in the dark, but see
    http://gcc.gnu.org/install/specific.html#mips-sgi-irix6

There is one report of a successful build on irix 6.2:
    http://gcc.gnu.org/ml/gcc-testresults/2003-08/msg00307.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-19 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-18 16:38 ld segfault on building gcc 3.3.2 on IRIX 6.2 Alexander Oberdörster
2004-04-19 15:21 ` llewelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).