internal compiler error

View: New views
3 Messages — Rating Filter:   Alert me  

internal compiler error

by raian.ufop :: Rate this Message:

| View Threaded | Show Only this Message

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

Can you help me?

Thanks
Raian

Re: internal compiler error

by Brian Dessent :: Rate this Message:

| View Threaded | Show Only this Message


> ..\..\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

The URL tells you how to report the problem to MinGW and that's what you
should do.  Filing a PR with the FSF gcc bug tracker won't accomplish
anything because 3.4 has not been maintained in quite some time, so it
will just be closed as invalid.  For various reasons the MinGW and
Cygwin projects are still stuck using older versions with lots of local
patches, and so you're better off dealing with issues there rather than
upstream.

You should try the MinGW gcc 4.2 technology preview release and see if
it still has this error.

Brian

Re: internal compiler error

by raian.ufop :: Rate this Message:

| View Threaded | Show Only this Message

Hello Brian,
I have trying to use the MinGW gcc 4.2 already, but I'm having the same error with this version. And I was reported this error either.

Thanks