🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6076

gcc 2.7.2.1 fails build on IRIX 5.3

#6076
From: Garrett D'Amore
Date: Mon, 16 Dec 1996 00:00
39 lines
2063 bytes

I've run into the following error during compilation of gcc on an SGI running
IRIX 5.3.  I am using the standard SGI compiler to bootstrap gcc.

andretti{82}> ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire
collect2: ld returned 1 exit status
ld: FATAL 2: Internal: at ../commonlib/ld3264/relocate.c merge_ext returns nil during relocation

The only linker on the system at this point is /usr/bin/ld.  Configuration
was done for a separate build tree as follows:

> cd objdir.sgi_53
> ../configure --src=.. --prefix=/pkg/gnu/gcc-2.7.2.1 --with-gnu-as

andretti{105}> which ld
/usr/bin/ld
andretti{106}> ld -V
ld: INFO 61: Version 3.19.
ld: INFO 46: No objects linked.

GNU as is on the path (/pkg/gnu/binutils-2.7) ahead of /usr/bin.  The sgi
compiler and linker have never had problems compiling other code, so I assume
that the problem lies in the way xgcc, collect2, and /bin/ld are interacting.

If this bug is already known, I'd appreciate hearing what the fix is.  I'd
like to hear from the gcc experts before I start delving into the source myself
to try to figure it out.  I don't think my employer is willing to pay for
commercial service to fix this bug, as it only affects the 6 SGIs we have.

I've made extra effort to ensure that I've followed the configuration
steps correctly, and double checked the info files for known problems.

Thanks!

---
Garrett D'Amore                                  <mailto:garrett@qualcomm.com>
UNIX System Administration Team            <http://www.qualcomm.com/~garrett/>
QUALCOMM Incorporated
Technical Details
Message-ID: <199612170254.SAA12928@liferaft.qualcomm.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,ace14e682ff10989,start
X-Google-Attributes: gid113d02,public
From: "Garrett D'Amore" <garrett@qualcomm.com>
Subject: gcc 2.7.2.1 fails build on IRIX 5.3
Date: 1996/12/16
Message-ID: <199612170254.SAA12928@liferaft.qualcomm.com>
X-Deja-AN: 204509429
sender: bug-gcc-request@prep.ai.mit.edu
x-gateway: relay6.UU.NET from bug-gcc to gnu.gcc.bug; Mon, 16 Dec 1996 21:55:14 EST
newsgroups: gnu.gcc.bug