Unsupported ELF relocation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unsupported ELF relocation

867 Views
sebastianhoernl
Contributor I

Hi,

when I try to link a lib to my project, I get the following linker error:

mwldeppc Linker Error:

#   Unsupported ELF relocation (225)

#   of symbol 'dp_workingMemory_i16'

#   in 'xyz.o' of archive 'xyz_lib.lib'

 

I looked into the relocation section with readelf -r and I suspect the problem only comes up for symbols of type R_PPC_VLE_SDA21. R_PPC_EMB_SDA21 seems to work.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

521 Views
stanish
NXP Employee
NXP Employee

Hello,

Thank you for this question.

I assume the library was build by the different compiler then CodeWarrior.

This is probably a known issue logged in our defect database. Some relocation VLE types are different in CodeWarrior. We are working on fix at the moment.


Can you perhaps share your library with us? We can use it for fix testing.


Thanks!

Stan

0 Kudos
Reply