From: Jim Tarrant <jtarrant@inri.co.uk>
Subject: Re: GNU ld (binutils-2.8) on alpha-dec-osf2.0
Date: 1997/06/06 [thread overview]
Message-ID: <3397D7BB.237C@inri.co.uk> (raw)
In-Reply-To: Pine.LNX.3.96.970605222809.5900B-100000@reflections.eng.mindspring.net
Todd Graham Lewis wrote:
>
> On Thu, 5 Jun 1997, Jim Tarrant wrote:
>
> > Has anyone got the GNU linker (from binutils-2.8) working on DEC Alpha
> > OSF/1 2.0? I have it compiled and running but when it links large
> > executables, they core dump (with memory faults) when run. It seems to
> > handle small ones fine though. Any ideas?
>
> How big? "More than one object file"? "Over 1000 .o files"? Have you
> run gdb on the resulting executables to see where/why it faults?
One is gcc-2.7.2.2, the other is ~200 object files, ~50 libraries, ~12Mb
executable. gdb reports various problems from "hit heuristic fence post
when looking for function" to SEGV signals when calling system library
routines.
> I assume the program in question runs using another linker? Are you
> linking objects compiled by something other than gcc?
Yes, the OSF/1 ld produces a runnable executable from the same .o
files. Doesn't seem to matter what produces the .o files, all gcc
produced still results in the problem.
> You are aware that the OSF linker optimizes better than ld for the Alpha?
Yes, but the GNU linker is better at reporting where unresolved symbols
come from so I tend to use it for development and the OSF/1 linker for
released builds.
Thanks for your interest.
Jim.
prev parent reply other threads:[~1997-06-06 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-05 4:00 GNU ld (binutils-2.8) on alpha-dec-osf2.0 Jim Tarrant
1997-06-05 4:00 ` Todd Graham Lewis
1997-06-06 4:00 ` Jim Tarrant [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox