Compiler errors on develop branch (commit 6baf289a)
Description
Some errors from compiler itself (gcc-7.3.0) are trigerred on HAL when compiling new version of develop.
For example :
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
make[2]: *** [Modules/IO/TestKernel/src/CMakeFiles/OTBTestKernel.dir/otbTestHelper.cxx.o] Error 4
make[1]: *** [Modules/IO/TestKernel/src/CMakeFiles/OTBTestKernel.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
This problem does not occur for all applications, only a few ones.
Steps to reproduce
On HAL, cloning new version of develop, loading environment (with module load otb-depends/7.0-python3.7.2, for instance) and compiling OTB.
Configuration information
OS : CentOS 7 (HAL) OTB version : develop branch, commit 6baf289a
FYI, my settings for configuration are :
CC=GCCHOME/bin/gcc CXX=
GCCHOME/bin/g++ cmake ../otb/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER:FILEPATH=GCCHOME/bin/g++ -DCMAKE_C_COMPILER:FILEPATH=
GCCHOME/bin/gcc -DCMAKE_CXX_FLAGS="-std=c++
14" -DCMAKE_INSTALL_PREFIX=/work/ADM/hpc/ussegliog/Diapason/My_OTB/install_7.0 -DOTB_USE_QWT=ON -DOTB_USE_OPENGL=ON -DOTB_USE_GLEW=ON -DOTB_USE_GLUT=ON -DOTB_USE_QT=ON -DOTB_USE_MUPARSER=ON -DOTB_USE_M
UPARSERX=ON -DOTB_WRAP_PYTHON=ON -DOTB_USE_LIBSVM=ON -DBUILD_TESTING=OFF -DOTB_I18N_MERGE_TS=OFF -DOTB_USE_CURL=OFF -DOTB_USE_GLFW=OFF -DOTB_USE_GSL=OFF -DOTB_USE_LIBKML=OFF -DOTB_USE_OPENCV=OFF -DOTB_USE_SHARK=OFF -DOTB_USE_SPTW=OFF