|
|
Relocation overflow
Hi everyone,
I'm trying to download and run an application (no problem in building)
via the WDB target connection.
I have this error in the target server log console:
Wed Dec 12 15:51:13 2007
Target name is 172.26.5.15
tgtsvr (tgt_172.26.3.11@PC388_): Wed Dec 12 15:51:13 2007
WTX Library version: 4.0.11.18
Tgtsvr core version: 4.0.11.17
Wind River Target Server: Win32 version
Connecting to target agent... succeeded.
Loading plug-in for VxWorks... succeeded.
Checking License ...OK
VxWorks plugin version: 4.0.11.8
Attaching elf OMF reader for PPC CPU family... succeeded.
tgtsvr (tgt_172.26.3.11@PC388_): Wed Dec 12 15:51:57 2007
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: Relocation value does not fit in 24 bits.
Error: the relocation offset is too large and this caused a
relocation overflow.
Object module load failed for C:/WindRiver/workspace/
whetstone/PPC603gnu_DEBUG/whetstone.out
And I have an error message in the workbench:
"Error downloading '/wheatstone/PPC603gnu_DEBUG/whetstone.out' on
tgt_172.26.3.11.MPC603': WTX Loader Error: Relocation offset too
large'
What could the error be?
Thank you
Matteo
|
|
0
|
|
|
|
Reply
|
Matteo.Canella (8)
|
12/12/2007 3:41:06 PM |
|
ppc uses normaly 24 bits addressing for branc instructions. Try to recompile
with the -mlongcall option.
BT
"MrPink" <Matteo.Canella@gmail.com> wrote in message
news:68dad6e5-040e-4fa5-b750-b566e70599c1@l32g2000hse.googlegroups.com...
> Hi everyone,
> I'm trying to download and run an application (no problem in building)
> via the WDB target connection.
> I have this error in the target server log console:
>
> Wed Dec 12 15:51:13 2007
> Target name is 172.26.5.15
> tgtsvr (tgt_172.26.3.11@PC388_): Wed Dec 12 15:51:13 2007
> WTX Library version: 4.0.11.18
> Tgtsvr core version: 4.0.11.17
> Wind River Target Server: Win32 version
> Connecting to target agent... succeeded.
> Loading plug-in for VxWorks... succeeded.
> Checking License ...OK
> VxWorks plugin version: 4.0.11.8
> Attaching elf OMF reader for PPC CPU family... succeeded.
> tgtsvr (tgt_172.26.3.11@PC388_): Wed Dec 12 15:51:57 2007
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: Relocation value does not fit in 24 bits.
> Error: the relocation offset is too large and this caused a
> relocation overflow.
> Object module load failed for C:/WindRiver/workspace/
> whetstone/PPC603gnu_DEBUG/whetstone.out
>
>
>
> And I have an error message in the workbench:
> "Error downloading '/wheatstone/PPC603gnu_DEBUG/whetstone.out' on
> tgt_172.26.3.11.MPC603': WTX Loader Error: Relocation offset too
> large'
>
> What could the error be?
> Thank you
>
> Matteo
|
|
0
|
|
|
|
Reply
|
spam.me1330
|
12/12/2007 8:32:14 PM
|
|
On 12 Dic, 21:32, "HB" <spam...@microsoft.com> wrote:
> ppc uses normaly 24 bits addressing for branc instructions. Try to recompile
> with the -mlongcall option.
>
> BT
Ok.. It works now...
thank you
Matteo
|
|
0
|
|
|
|
Reply
|
Matteo.Canella (8)
|
12/13/2007 8:31:08 AM
|
|
|
2 Replies
147 Views
(page loaded in 0.092 seconds)
|
|
|
|
|
|
|
|
|