While compiling RawTherapee with a new patch, I encountered the following internal compiler error:
[ 47%] Building CXX object rtgui/CMakeFiles/rth.dir/filepanel.cc.obj
C:\Users\Michael\workspace\rawtherapee_default\rtgui\filepanel.cc:275:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://tdm-gcc.tdragon.net/bugs for instructions.
mingw32-make[2]: *** [rtgui/CMakeFiles/rth.dir/filepanel.cc.obj] Error 1
mingw32-make[1]: *** [rtgui/CMakeFiles/rth.dir/all] Error 2
mingw32-make: *** [all] Error 2
The rawtherapee_default\rtgui\filepanel.cc:275 is end of file of filepanel.cc:
273 void FilePanel::updateTabsUsesIcons (bool useIcons) {
274 tpc->updateTabsUsesIcons (useIcons);
275 }
276
My setup with MinGW64:
Branch: default
Version: 4.0.9.143
Changeset: 1935e395dc6c
Compiler: gcc 4.6.1
Processor: corei7
System: Windows 7
Bit depth: 64 bits
Gtkmm: V2.22.0
Build type: Release
Build flags: -m64 -mwin32 -mthreads -march=corei7 -fopenmp -mwindows -DNDEBUG -O3
Link flags: -mwin32 -mthreads -mthread -static-libgcc -march=corei7 -mwindows -s -O3
OpenMP support: ON
MMAP support: ON
I was compiling a patch (see attached, source comment 33 on http://code.google.com/p/rawtherapee/issues/detail?id=1572) which had no mods to \filepanel.cc.
Compilation without this patch did not cause errors.
Anonymous
I restarted compilation without cmake and it continues fine.
Need preprocessed source as per the instructions at http://tdm-gcc.tdragon.net/bugs.