ld static link problem

Nick Clifton nickc@redhat.com
Mon Dec 15 16:02:00 GMT 2003
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
        



More information about the Binutils mailing list