Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI: internal compiler error when building cppcheck #12

Open
Stinkfist0 opened this issue Nov 23, 2015 · 1 comment
Open

Travis CI: internal compiler error when building cppcheck #12

Stinkfist0 opened this issue Nov 23, 2015 · 1 comment

Comments

@Stinkfist0
Copy link
Contributor

Cppcheck run is disabled for Travis CI for now due to internal compiler error when building cppcheck:

cppcheck
    Cloning, please wait...
2015-11-23 15:01:40 URL:http://skylineservers.dl.sourceforge.net/project/cppcheck/cppcheck/1.66/cppcheck-1.66.tar.gz [1349300/1349300] -> "cppcheck-1.66.tar.gz" [1]
    Building, please wait...
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/check.o lib/check.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/check64bit.o lib/check64bit.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkassert.o lib/checkassert.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkassignif.o lib/checkassignif.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkautovariables.o lib/checkautovariables.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkbool.o lib/checkbool.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkboost.o lib/checkboost.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkbufferoverrun.o lib/checkbufferoverrun.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkclass.o lib/checkclass.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkexceptionsafety.o lib/checkexceptionsafety.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkinternal.o lib/checkinternal.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkio.o lib/checkio.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkleakautovar.o lib/checkleakautovar.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkmemoryleak.o lib/checkmemoryleak.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checknonreentrantfunctions.o lib/checknonreentrantfunctions.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checknullpointer.o lib/checknullpointer.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkobsoletefunctions.o lib/checkobsoletefunctions.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkother.o lib/checkother.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkpostfixoperator.o lib/checkpostfixoperator.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checksizeof.o lib/checksizeof.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkstl.o lib/checkstl.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkuninitvar.o lib/checkuninitvar.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkunusedfunctions.o lib/checkunusedfunctions.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/checkunusedvar.o lib/checkunusedvar.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/cppcheck.o lib/cppcheck.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/errorlogger.o lib/errorlogger.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/executionpath.o lib/executionpath.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/library.o lib/library.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/mathlib.o lib/mathlib.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/path.o lib/path.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/preprocessor.o lib/preprocessor.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/settings.o lib/settings.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/suppressions.o lib/suppressions.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/symboldatabase.o lib/symboldatabase.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/templatesimplifier.o lib/templatesimplifier.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/timer.o lib/timer.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/token.o lib/token.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/tokenize.o lib/tokenize.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/tokenlist.o lib/tokenlist.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o lib/valueflow.o lib/valueflow.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o cli/cmdlineparser.o cli/cmdlineparser.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o cli/cppcheckexecutor.o cli/cppcheckexecutor.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o cli/filelister.o cli/filelister.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o cli/main.o cli/main.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o cli/pathmatch.o cli/pathmatch.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o cli/threadexecutor.o cli/threadexecutor.cpp
g++-4.8 -Ilib -Iexternals/tinyxml   -O2 -include lib/cxx11emu.h  -DNDEBUG -Wall  -std=c++0x -c -o externals/tinyxml/tinyxml2.o externals/tinyxml/tinyxml2.cpp
g++-4.8: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [lib/checkmemoryleak.o] Error 4
make: *** Waiting for unfinished jobs....
g++-4.8: internal compiler error: Killed (program cc1plus)
g++-4.8: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [lib/checkclass.o] Error 4
make: *** [lib/preprocessor.o] Error 4
@jonnenauha
Copy link
Member

The tools shipped with travis might have changed at this point. I think we try to upgrade gcc and clang to some minimum version for travis https://github.com/realXtend/tundra-urho3d/blob/master/.travis.yml#L12-L30

I suspect something with g++ version possibly. The cppcheck is always the same version so the sources could not have changed.

Also note that clang has been disabled from the compiler stack due to lack of features https://github.com/realXtend/tundra-urho3d/blob/master/.travis.yml#L4-L6 I'm quite sure clang now has them if travis has moved to a newer ubuntu etc. Might hesitate to guess both compilers might be a newer version that what we force there and the version stuff causes problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants