From: SourceForge.net <no...@so...> - 2008-03-07 08:31:25
|
Bugs item #1889115, was opened at 2008-02-07 23:05 Message generated for change (Comment added) made by nmarci You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1889115&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gcc Group: Known bugs Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tiago Carneiro (tiagogsc) Assigned to: Nobody/Anonymous (nobody) Summary: internal compiler error Initial Comment: I was trying to compile the TerraLib library (www.terralib.org) which is a C++ library for GIS development. But I found the following error: "Internal compiler error: in rest_of_handle_final, at toplev.c:2067" My development environment is: * Windows XP pro * gcc 3.4.5 * ld version 2.17.50 20060824 * mingw version 5.1.3 * build environment : DOS cmd * no MSYS The full error msg: make -f makeTerralib mingw32-make[1]: Entering directory `F:/ElicpseWKspcs/Terralib320rc3/TerraLib/terralibx/terralib' g++ -c -g -frtti -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -I"..\..\src\terralib\kernel" -I"..\..\src\terralib\functions" -I"..\..\src\terralib\utils" -I"..\..\src\tiff" -I"..\..\src\zlib" -I"..\..\src\terralib\drivers\libjpeg" -I"c:\Qt\4.3.2\mkspecs\win32-g++" -o .obj\TeAffineGTFactory.o ..\..\src\terralib\kernel\TeAffineGTFactory.cpp In file included from ../../src/terralib/kernel/TeMatrix.h:30, from ../../src/terralib/kernel/TeGeometricTransformation.h:32, from ../../src/terralib/kernel/TeGTFactory.h:44, from ../../src/terralib/kernel/TeProjectiveGTFactory.h:28, from ../../src/terralib/kernel/TeGTFactory.h:38, from ..\..\src\terralib\kernel\TeAffineGTFactory.h:31, from ..\..\src\terralib\kernel\TeAffineGTFactory.cpp:24: ../../src/terralib/kernel/TeException.h:30: warning: ignoring #pragma warning ..\..\src\terralib\kernel\TeAffineGTFactory.cpp: In constructor `TeAffineGTFactory::TeAffineGTFactory()': ..\..\src\terralib\kernel\TeAffineGTFactory.cpp:31: internal compiler error: in rest_of_handle_final, at toplev.c:2067 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. mingw32-make[1]: *** [.obj\TeAffineGTFactory.o] Error 1 mingw32-make[1]: Leaving directory `F:/ElicpseWKspcs/Terralib320rc3/TerraLib/terralibx/terralib' mingw32-make: *** [TerraLib] Error 2 ---------------------------------------------------------------------- Comment By: Mon Nth (nmarci) Date: 2008-03-07 09:31 Message: Logged In: YES user_id=599017 Originator: NO I get the same error message with gcc 3.4.5: C:\test>gcc -c a.c a.c: In function `test2': a.c:15: internal compiler error: in rest_of_handle_final, at toplev.c:2067 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. C:\test>type a.c __declspec(dllexport) int __stdcall test1(); __declspec(dllexport) int __stdcall test1() { return 0; } #if 1 /* the followings are not correct: */ __declspec(dllimport) int __stdcall test2(); __declspec(dllimport) int __stdcall test2() { return 0; } #endif C:\test>gcc --version gcc (GCC) 3.4.5 (mingw special) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1889115&group_id=2435 |