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 Initial Version
Reported by: | brucedechant | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 2.2 |
Component: | Build System | Version: | |
Severity: | critical | Keywords: | |
Cc: | External ID: |
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
Note:
See TracTickets
for help on using tickets.