Opened 15 years ago

Last modified 15 years ago

#1077 closed defect

GCC 4.x builds libMapGuideJavaApi.so incorrectly and causes TomCat to crash — at Version 2

Reported by: brucedechant Owned by: brucedechant
Priority: high Milestone: 2.2
Component: Build System Version:
Severity: critical Keywords:
Cc: External ID:

Description (last modified by brucedechant)

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

Change History (2)

comment:1 by brucedechant, 15 years ago

Owner: set to brucedechant
Status: newassigned

comment:2 by brucedechant, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.