This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld static link problem


Hi Araos,

> # > cat aa.c
> main ()
> { }
>
> # > gcc --static aa.c
> /sw/gnu64b/bin/ld: a.out: Not enough room for program headers (allocated 5,
> need 6)
> /sw/gnu64b/bin/ld: final link failed: Bad value

Could you provide us with the output of running this command with the
"-v" switch added to the command line ?

> # > ld --version
> GNU ld version 2.14 20030612

Just being paranoid here - I assume that the "ld" on the command there
is the one in /sw/gnu64b/bin and not one from somewhere else ?

Cheers
        Nick
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]