Alexander Oberdörster <ray@xxxxxxxxx> 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@xxxxxxx (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