bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ldsimpc problem


From: Nick Clifton
Subject: Re: ldsimpc problem
Date: Thu, 16 Nov 2000 15:03:21 -0800

Hi Sam,

: I am using ldsimpc for NT, and I found the following problem when I use the 
ldsimpc:
: 
: ldsimpc: PCF_ResAllocComp.tmp: reloc overflow: 0x1197d > 0xffff
: PCF_ResAllocComp.tmp: final close failed: File truncated
: make: [PCF_ResAllocComp.out] Error 0x1 (ignored)
: 
: Would you please tell me if this is a bug in ldsimpc or not?
: If not, could you please tell me how to fix this problem?

Probably not.  (It is hard to be certain without more information to
go on).

What the message means is that the compiler has generated an
instruction when compiling PCF_ResAllocComp which takes a 16bit 
unsigned offset.  Unfortunately, when the linker tries to place the
offset into the instruction it finds out that the value is too big
(0x1197din this case) and so it generates an error message and refuses
to create an executable.

The first thing to do, though is to fix the other warning and error
messages that you are seeing.  Once you have done that, if the problem
still exists, then you need to examine the sources and try to work out
which piece of source code is causing the problem.  Most likely there
will be some target specific code involved, and this will be at the
root of the problem.

Cheers
        Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]