From: SourceForge.net <no...@so...> - 2004-02-27 22:10:04
|
Bugs item #904052, was opened at 2004-02-25 00:07 Message generated for change (Comment added) made by pipesmokex9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=904052&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nigel Browne (pipesmokex9) Assigned to: Danny Smith (dannysmith) Summary: Internal compiler error: Segmentation Fault Initial Comment: I have been trying to compile wxWindows 2.4.2. I keep getting an "internal compiler error: Segmentation Fault" error when g++ is creating various object files. I have use the current and candidate builds for MSYS, MINGW and binutils. Here a smaple message for g++: c++ -c -I./lib/wx/include/mswu-2.4 -I./include -I./src/regex -I./src/zlib -I./src/png -I./src/jpeg -I./src/tiff -D_WIN32_IE=0x400 -D__WXMSW__ -mthreads -fno-pcc-struct-return -O2 -MMD -mthreads -Wall -o toplvcmn.o ./src/common/toplvcmn.cpp src/common/toplvcmn.cpp: In member function `void wxTopLevelWindowBase::OnCloseWindow(wxCloseEvent&)': src/common/toplvcmn.cpp:211: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make: *** [toplvcmn.o] Error 1 The error does not occur in the smae functions or files. ---------------------------------------------------------------------- >Comment By: Nigel Browne (pipesmokex9) Date: 2004-02-27 13:59 Message: Logged In: YES user_id=983760 Another segfault. Different file c++ -c -I./lib/wx/include/mswu-2.4 -I./include -I./src/regex -I./src/zlib -I./src/png -I./src/jpeg -I./src/tiff -D_WIN32_IE=0x400 -D__WXMSW__ -mthreads -save-temps -fno-pcc-struct-return -O2 -MMD -mthreads -Wall -save-temps -o grid.o ./src/generic/grid.cpp src/generic/grid.cpp: In destructor ` wxGridRowOrColAttrData::~wxGridRowOrColAttrData()': src/generic/grid.cpp:2414: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make: *** [grid.o] Error 1 ---------------------------------------------------------------------- Comment By: Nigel Browne (pipesmokex9) Date: 2004-02-26 09:08 Message: Logged In: YES user_id=983760 I will send more temp files later today. Should I only send the temp of the file that causes the segfault or are there others that you would like to see? Just out of curiosity, are you compiling with configure or are you using the makefiles directly? Also, where did you get your copy of bison and Flex? I did not use the version in the wxWindows extra.zip, I downloaded the two programs directly from GnuWin32. One more question. I'm running an AMD Athlon 3200+, could this be part of the problem? ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-02-25 23:55 Message: Logged In: YES user_id=11494 The file you uploaded appears to be truncated. There is no closing brace to last function. So I get a syntax error but no ICE. Please try again. Danny ---------------------------------------------------------------------- Comment By: Nigel Browne (pipesmokex9) Date: 2004-02-25 22:39 Message: Logged In: YES user_id=983760 Just tried to recompile again. The segfault was in a different file: gcc -c -I./lib/wx/include/mswu-2.4 -I./include -I./src/regex -I./src/zlib -I./src/png -I./src/jpeg -I./src/tiff -D_WIN32_IE=0x400 -D__WXMSW__ -mthreads -DWXUSINGDLL=1 -save-temps -fno-pcc-struct-return -O2 -MMD -Wall -save-temps -UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1 -o jcphuff.o ./src/jpeg/jcphuff.c cc1.exe: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make: *** [jcphuff.o] Error 1 ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-02-25 12:05 Message: Logged In: YES user_id=11494 I have successfully built wxwindows-2.4.2 with gcc-3.3 and am unable to duplicate your error with the information you have provided. Can you please send preprocessed source file (add -save-temps to CFLAGS: the prepocessed source will have .ii suffix.) Danny ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2004-02-25 09:39 Message: Logged In: YES user_id=15438 Danny, you should be the one to answer this issue. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=904052&group_id=2435 |