Linking error in Tasking compiler

Discussion in 'Technical Support' started by Sunil, May 4, 2010.

  1. Sunil

    Sunil

    Joined:
    May 4, 2010
    Messages:
    1
    Likes Received:
    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>
     
    Sunil, May 4, 2010
    #1
  2. Sunil

    legourski

    Joined:
    Jul 15, 2010
    Messages:
    1
    Likes Received:
    0
    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
     
    legourski, Jul 15, 2010
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.