Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top