Well, let's start a new thread.
I was testing grprof with clib2.
File are created correctly but if I try to use gprof on gmon.out I receive a lot of DWARF errors.
ppc-amigaos-gprof test_grpof gmon.out > analysis.txt
BFD: Dwarf Error: found dwarf version '5', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '5405', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '295', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '207', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '5352', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '68', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '1024', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '35332', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '26990', this reader only handles version 2, 3 and 4 information.
BFD: Dwarf Error: found dwarf version '260', this reader only handles version 2, 3 and 4 information.
....more..
If I use the linux one i get this error:
gprof test_grpof gmon.out > analysis.txt
BFD: DWARF error: can't find .debug_ranges section.
BFD: DWARF error: can't find .debug_ranges section.
BFD: DWARF error: can't find .debug_ranges section.
BFD: DWARF error: can't find .debug_ranges section.
So there is something that is causing a lot of problems in our generated exe files
Any hint?