gcov out of memory / mismatched version?

后端 未结 3 1236
轮回少年
轮回少年 2021-02-05 06:25

Just trying to get gcov up and running, getting the following error:

$ gcov src/main.c -o build
build/main.gcno:version \'404*\', prefer \'407*\'

gcov: out of m         


        
3条回答
  •  太阳男子
    2021-02-05 06:53

    I just had the same problem and I had the correct versions installed. Solution in my case: remove all *.gcda files from any subdir you compile in. My make clean did not cover them.

提交回复
热议问题