From: SourceForge.net <no...@so...> - 2008-07-27 14:23:49
|
Bugs item #1896576, was opened at 2008-02-18 18:44 Message generated for change (Settings changed) made by tdragon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1896576&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: None Status: Open Resolution: None >Priority: 3 Private: No Submitted By: Tiago Carneiro (tiagogsc) Assigned to: Nobody/Anonymous (nobody) Summary: g++ 3.4.5 internal 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 : qmake 2.01a (makefile attached to this message) * 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: John E. (tdragon) Date: 2008-07-27 08:23 Message: Logged In: YES user_id=960627 Originator: NO This happens when a function definition is declared with the dllimport attribute. This ICE does not occur in later versions of GCC and will probably not be fixed in 3.4.5. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1896576&group_id=2435 |