문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top