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]

Re: ld: Not enough room for program headers


On Fri, Sep 08, 2000 at 08:37:57AM +0800, Franco Broi wrote:
> Hi
> 
> I recently bought an Alpha from the guys at HardData and encountered a problem
> with ld. Michal Jaegermann asked me to pass on my experiences to you.
> 
> The machine arrived loaded with Northern Linux and binutils-2.10.0.9-1. When
> I tried to link my applications I got the following error message:
> 
> /usr/bin/ld: avi_new: Not enough room for program headers (allocated 6, need 7)
> 
> After doing a bit of research, I discovered that this is something to do
> with SIZEOF_HEADERS in the linker script, and Michal suggested I try some
> newer versions of binutils to see if the problem has been fixed.
> 
> After trying a few version of binutils ( 2.10.0.12, 18 and 24) to no avail,
> I discovered that 2.9.5.0.22-6 worked. This has more to do with the version
> of ld I'd imagine, the latter version of binutils has ld 2.9.5, whereas all
> the others I tried have ld 2.10.90.
> 
> I can't send a complete application that failed to link as they all link
> with our own libaries. Some smaller applications linked without any problems
> so it seems that it's the size that matters.
> 
> Please let me know if you require any further information.

It may be a linker bug. But without a testcase, there is very little
I can do.


H.J.

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