Menu

#282 Crash with MinGW64 (64 bit) using PCH

None
open
nobody
None
5
2015-09-01
2015-09-01
No

Sorry no to provide a sample case - I was unable to strip a simple example.
When you use the MinGW64 compiler and PCH (i.e. a simple wx project in Code::Blocks) the compiler crashes hardly. Deactivatig PCH solves the issue.

GCC -V:
Using built-in specs.
COLLECT_GCC=C:\Devel\CodeBlocks\MinGW64\bin\gcc.EXE
COLLECT_LTO_WRAPPER=C:/Devel/CodeBlocks/MinGW64/bin/../libexec/gcc/x86_64-w64-mingw32/5.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-5.1.0/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1 --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: posix
gcc version 5.1.0 (tdm64-1)

LD -V:
GNU ld (GNU Binutils) 2.25

Discussion

Anonymous
Anonymous

Add attachments
Cancel