Unsupported ELF relocation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unsupported ELF relocation

868件の閲覧回数
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.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

522件の閲覧回数
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 件の賞賛
返信