Reputation: 2311
I'm trying to compile a complex application with nvcc, and a need to change the compiler from mpic++ to g++, since that I'm having this error:
/usr/bin/ld: Dwarf Error: found dwarf version '3', this reader only handles version 2 information.
What is Dwarf? What this error means?
Any tip to solve it? What usefull informations I'm missing here?
Upvotes: 7
Views: 17816
Reputation: 171253
If cleaning up the mpic++ object files doesn't solve it you can tell g++ not to emit DWARF3 info with -gdwarf-2 -gstrict-dwarf
Upvotes: 11