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 memory allocating 14819216480 bytes after a total of 135168 bytes
I'm using clang/profile_rt to generate the files gcov needs, I'm assuming that might have something to do with it. It's also working fine on my other computer (osx) so I assume it can be fixed somehow.
Hi Chris, I had the same problem. I guess your gcov/gcc version is 4.7.x, which is newer than the version that Clang supports. Install a lower version of gcc, e.g. 4.4 is the most recommended version as your gcno version is 404*. I also tried with 4.6 version of gcc, which will give you a warning, but still works.