User forums > Help

MinGW 64 bit suddendly crashes

(1/3) > >>

MortenMacFly:
Well, as of today when compiling C::B using C::B for 64 bit the executable "cc1plus.exe" (part of GCC) crashes when compiling SDK files.

It seems it is related to the mix of -mthreads, -DHAVE_W32API_H and (probably) the use of PCH. When I remove one of these flags form the command line it works suddenly. Is anyone is experiencing the same???

Strange: This did work properly for ages. But I cannot make it work again. Compiler: GCC 4.6 of TDM (4.6.1-tdm64-1), Windows 7 Ultimate 64 bit, command line:
x86_64-w64-mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -Woverloaded-virtual -DEXPORT_LIB -DEXPORT_EVENTS -DWXMAKINGDLL_SCI  -m64 -fno-keep-inline-dllexport -D_WIN64 -iquote.objs64\include -I.objs64\include -I. -IC:\Devel\wxWidgets_293_64\include -IC:\Devel\wxWidgets_293_64\contrib\include -IC:\Devel\wxWidgets_293_64\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude -Iinclude\tinyxml -Iinclude\scripting\bindings -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet  -c sdk\configmanager-revision.cpp -o .objs64\sdk\configmanager-revision.o

Full clean, re-compile and stuff does not work. Also, re-installing TDM...

Edit: Additional info: Compiling the libs than come before the SDK files in the project file all work, inclusive wxScintilla. Also, it crashes on the command line (w/o C::B), too.

oBFusCATed:
Does it work if your svn update -r 7919?

MortenMacFly:

--- Quote from: oBFusCATed on April 07, 2012, 06:23:07 pm ---Does it work if your svn update -r 7919?

--- End quote ---
I just realised it does also not work outside C::B on the command line - so it seems not C::B related. ???

MortenMacFly:

--- Quote from: MortenMacFly on April 07, 2012, 06:28:40 pm ---I just realised it does also not work outside C::B on the command line - so it seems not C::B related. ???

--- End quote ---
Well it *is* (somehow) C::B related.
Guess what: When I compile an older revision of the C::B code it works, compiling trunk crashes. Its really a compiler bug, but some of the latest changes in C::B make the compiler crash.

WHERE IS TDM GCC 4.7.x??? ;D

oBFusCATed:
I guess you'll have to bisect it in order to find the code that breaks it.

Navigation

[0] Message Index

[#] Next page

Go to full version