freemaster crashes when loading an elf file generated by gcc 11

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

freemaster crashes when loading an elf file generated by gcc 11

Jump to solution
1,163 Views
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.

Tags (1)
0 Kudos
1 Solution
1,124 Views
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

View solution in original post

0 Kudos
4 Replies
1,132 Views
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 Kudos
1,125 Views
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 Kudos
484 Views
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 Kudos
1,113 Views
Jimny
Contributor II

Hello Michal

I tried your solution, it works. Thank you.

0 Kudos