Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* GNU ld (binutils-2.8) on alpha-dec-osf2.0
@ 1997-06-05  4:00 Jim Tarrant
  1997-06-05  4:00 ` Todd Graham Lewis
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Tarrant @ 1997-06-05  4:00 UTC (permalink / raw)



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?

Jim.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GNU ld (binutils-2.8) on alpha-dec-osf2.0
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Todd Graham Lewis @ 1997-06-05  4:00 UTC (permalink / raw)



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?

I assume the program in question runs using another linker?  Are you
linking objects compiled by something other than gcc?

You are aware that the OSF linker optimizes better than ld for the Alpha?
(I still use the gnu suite for tons of stuff, but for important things it
can be a concern.)

-- 
Todd Graham Lewis       Manager of Web Engineering    MindSpring Enterprises
(800) 719-4664, x2804             Linux!               tlewis@mindspring.net




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GNU ld (binutils-2.8) on alpha-dec-osf2.0
  1997-06-05  4:00 ` Todd Graham Lewis
@ 1997-06-06  4:00   ` Jim Tarrant
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Tarrant @ 1997-06-06  4:00 UTC (permalink / raw)



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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-06-06  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox