freemaster crashes when loading an elf file generated by gcc 11

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

freemaster crashes when loading an elf file generated by gcc 11

ソリューションへジャンプ
1,263件の閲覧回数
Jimny
Contributor II

Hello together,

I load an elf in freemaster, but when I try to save the project, freemaster crashes.

1.PNG

The elf file is generated by arm-none-eabi-gcc version 11.3.1. But when I compile the same source code with arm-none-eabi-gcc version 10.3.1, freemaster works fine.

Here is the version of freemaster.

2.PNG

You can also find the elf which makes freemaster crash in the attachment.

It's very nice of you to give some help.

タグ(1)
0 件の賞賛
1 解決策
1,224件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello,

until this is resolved, you should be able to use -gdwarf-4 gcc option as a workaround. The issue seems to be related to Dwarf version 5 parsing.

Regards,
Michal

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,232件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello,

I can confirm the error when parsing the ELF file format generated by GCC11. 

We will analyze the issue and provide more information here.

Thank you,
Michal

0 件の賞賛
1,225件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello,

until this is resolved, you should be able to use -gdwarf-4 gcc option as a workaround. The issue seems to be related to Dwarf version 5 parsing.

Regards,
Michal

0 件の賞賛
584件の閲覧回数
EB_A
Contributor I

The problem still remain in case we are including any library (also from NXP ) that was not created with that option.

is there any plan to solve the gdwarf 5 issue ?.   

Regards,

Emi

0 件の賞賛
1,213件の閲覧回数
Jimny
Contributor II

Hello Michal

I tried your solution, it works. Thank you.

0 件の賞賛