[mapguide-trac] #1077: GCC 4.x builds libMapGuideJavaApi.so incorrectly and causes TomCat to crash

MapGuide Open Source trac_mapguide at osgeo.org
Fri Aug 28 12:47:53 EDT 2009


#1077: GCC 4.x builds libMapGuideJavaApi.so incorrectly and causes TomCat to crash
--------------------------+-------------------------------------------------
 Reporter:  brucedechant  |         Owner:  brucedechant
     Type:  defect        |        Status:  assigned    
 Priority:  high          |     Milestone:  2.2         
Component:  Build System  |       Version:              
 Severity:  critical      |    Resolution:              
 Keywords:                |   External_id:              
--------------------------+-------------------------------------------------
Old description:

> The GCC 4.x compiler generates code that causes the built
> libMapGuideJavaApi.so to crash TomCat when the Java viewer is used.
>
> The fix for this is that the SWIG generated code needs to be compiled
> with the following compiler setting:
>
> -fno-strict-aliasing

New description:

 The GCC 4.x compiler generates code that causes the built
 libMapGuideJavaApi.so to crash !TomCat when the Java viewer is used.

 The fix for this is that the SWIG generated code needs to be compiled with
 the following compiler setting:

 -fno-strict-aliasing

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1077#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list