Linking error in Tasking compiler

Joined
May 4, 2010
Messages
1
Reaction score
0
Hello,

I am using Tasking compiler 3.3r1, I get the below error when I build the application from external ram.
Can anyone help me to resolve the issue?

LSL: section ".text.libc.reset" (function _START) was not selected because it alr
eady has an absolute restriction ltc E121: relocation patch error in "task1": re
location value 0xa1003476 for relocation of type abs24 space at offset 16 in sec
tion ".text.libc" at address 0xa1003460 is not a valid address in R_TRICORE_24AB
S. Hint: check the mapfile for a section that occupies this address. ltc F019: u
nrecoverable error: fatal locate error ). <0> expected but was <2>
 
Hello,

I had a similar problem today, I was using tasking 2.5r2 on TriCore:
---
ltc E121: relocation patch error in "task1": relocation value .. for relocation of type abs18 space at offset 112 in section "..." at address .. is not a valid address in .... Hint: check the mapfile for a section that occupies this address.
ltc F019: unrecoverable error: fatal locate error
---

it turned out to be a strange alignment problem in my case. I replaced the compiler option:
-Wc--align=2
with
-Wc--align=4
and it worked out.

You might try it out, hopufully it can solve your problem too.

best regards
Voin
 

Latest threads

Back
Top