From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,7b6a0c19ec6250ed X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,7b6a0c19ec6250ed X-Google-Attributes: gidfee84,public From: Jim Tarrant Subject: Re: GNU ld (binutils-2.8) on alpha-dec-osf2.0 Date: 1997/06/06 Message-ID: <3397D7BB.237C@inri.co.uk>#1/1 X-Deja-AN: 246503663 X-NNTP-Posting-Host: inri.demon.co.uk [158.152.21.88] References: <3396EC49.31DF@inri.co.uk> Organization: INRI UK Ltd Newsgroups: comp.unix.programmer,comp.unix.osf.osf1 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.