[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:30 EDT 2009


#1077: GCC 4.x builds libMapGuideJavaApi.so incorrectly and causes TomCat to crash
----------------------------+-----------------------------------------------
   Reporter:  brucedechant  |       Owner:     
       Type:  defect        |      Status:  new
   Priority:  high          |   Milestone:  2.2
  Component:  Build System  |     Version:     
   Severity:  critical      |    Keywords:     
External_id:                |  
----------------------------+-----------------------------------------------
 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>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list