/ usr / bin / ld: Dwarf error

I am trying to compile a complex application with nvcc and need to change the compiler from mpiC ++ to g ++, since I have this error:

/ usr / bin / ld: Dwarf Error: found dwarf version '3', this reader only handles version 2 information.

What is a gnome? What does this error mean?

What advice to decide? What useful information am I missing here?

+5
source share
1 answer

If cleaning up mpiC ++ object files does not solve the problem, you can tell g ++ not to generate DWARF3 information with -gdwarf-2 -gstrict-dwarf

+11
source

All Articles