You indicated that the compiler ~ / android-ndk-r8e / toolchains / arm-linux-androideabi-4.6 / prebuilt / linux-x86_64 / bin / arm-linux-androideabi-gcc-4.6
Make sure that this is the correct full path in the command (perhaps replace '~'?) And that arm-linux-androideabi-gcc-4.6 is exactly what is used for compilation.
I had the same problem because Coverity expected GCC to be used, but cc is used in my build!
Then I install:
~/coverity-current/bin/cov-configure --compiler /usr/bin/cc --comptype gcc
The following is displayed:
[WARNING] A template configuration is recommended for this compiler. Add "--template" to your command line, or use one of the template configuration shortcut command lines below: cov-configure --gcc
Cov-build command:
../../coverity-current/bin/cov-build --dir ~/build_cov/myapp/cov-log-all-output make -C ~/build_cov/myapp
Result:
../../coverity-current/bin/cov-build --dir ~/build_cov/myapp/cov-log-all-output make -C ~/build_cov/myapp [...] 76 C/C++ compilation units (100%) are ready for analysis The cov-build utility completed successfully.
You have a large emit-db file in cov-log-all-output / c / emit / pcname /
source share