Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: X10 2.0.2
-
Fix Version/s: X10 2.0.3
-
Component/s: Native X10: Compiler Codegen
-
Labels:None
-
Environment:condor.watson.ibm.com (macos_x86 with shared libraries and GC)
-
Number of attachments :
Description
Comparing what should be equivalent regression tests runs between condor (MacOS) and triloka22 (linux), one can see that there are about 30 more test failes on MacOS than on Linux.
https://x10.watson.ibm.com/cattrack/compare?firstRun=3130&secondRun=3131
I spot checked half a dozen of the condor test failures, and they were all due to an assertion failure that RTTs are not being properly initialized. This seems very likely to be related to C++ static initialization not being done properly in the presence of shared libraries. (At least that was the diagnosis for a similar error on cygwin).
I suspect we may need to disable building with shared libs on MacOS until we can investigate the problem further and determine if there is some way to get the static initialization and/or dynamic linking to do the right thing (or at least the same thing it is doing on Linux, which seems to work).
Issue Links
- relates to
-
XTENLANG-1116
Itable lookup failure with shared libraries on Cygwin
-
Linking to cygwin shared library issue.