This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: -ggdb3 Error on mips-sgi-irix6.5 for
- To: oldham at codesourcery dot com
- Subject: Re: -ggdb3 Error on mips-sgi-irix6.5 for
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: 06 Jul 2001 12:23:44 +0200
- Cc: gcc-bugs at gcc dot gnu dot org, dan at cgsoftware dot com
- References: <200107060253.TAA07326@oz.codesourcery.com>
Jeffrey Oldham <oldham@codesourcery.com> writes:
> The mips-sgi-irix6.5 gcc3.1 daily build of 05July revealed that 225
> libstdc++-v3 regression tests failed because of an Irix linker
> problem:
>
> ld32: FATAL 2: Internal: at ../../ld/multigot.c lgot_local_got_offset() seg_ndx exceeds per_seg_lgot_table
>
> The problem only occurs when compiling with -ggdb3, not with -ggdb2 or
> -g.
>
> I do not think that the problem occurred yesterday (04July).
>
> Does anyone have an idea what is causing the problem and how to fix
> it?
I've been in contact with SGI about this, since many g77 tests in the
mips-sgi-irix5.3 configuration (only if using the system as, not with gas,
but gas doesn't currently support IRIX 6/the N32/N64 ABIs) fail with this
same error. I've got a copy of the relevant code snippet in the ld
sources, but SGIs Dave Anderson, who's been extremely helpful with all
sorts of questions and problems with IRIX development tools, couldn't make
out what's going on here, so we hope their ld guru finds some time to take
a look at this.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE