linux-mips
[Top] [All Lists]

an ld problem?

To: linux@cthulhu.engr.sgi.com
Subject: an ld problem?
From: Tim Hockin <thockin@cobaltnet.com>
Date: Wed, 28 Jul 1999 19:27:10 -0700
Organization: Cobalt Networks
Sender: owner-linux@cthulhu.engr.sgi.com
I'm trying to compile egcs-1.0.2-9 on a Cobalt (mipsel) box.  During the
libstdc++ build I we have the following:


compile string:
/home/src/redhat/BUILD/egcs-1.0.2/obj-mipsel-linux/gcc/xgcc
-B/home/src/redhat/BUILD/egcs-1.0.2/obj-mipsel-linux/gcc/ -O2
-fno-implicit-templates -Wl,-soname,libstdc++.so.2.8 -shared -o
libstdc++.so.2.8.0 `cat piclist` -lm

result:
collect2: ld terminated with signal 6 [Aborted], core dumped

I have traced it through ld to this point: (elf32-mips.c : line 1526)

                          asection *osec;

                          osec = sec->output_section;
                          indx = elf_section_data (osec)->dynindx;
                          if (indx == 0)
                            abort ();

where it aborts.  I am a bit bewildered.  Anyone have any ideas to
offer?  Help?

Tim

<Prev in Thread] Current Thread [Next in Thread>