When running with ubsan - enabled binaries on macOS aarch64, it seems the function/method exclusions seem not work work.
For example in jtreg test
javax/sound/midi/Gervill/ModelStandardTransform/TransformConvex.java
we still see the error below :
/priv/jenkins/client-home/workspace/openjdk-jdk-weekly-macos_aarch64-opt/jdk/src/hotspot/share/runtime/sharedRuntimeTrans.cpp:129:20: runtime error: division by zero
#0 0x1097890b4 in __ieee754_log(double) sharedRuntimeTrans.cpp:129
#1 0x11ae33e98 (<unknown module>)
#2 0x11ae308ec (<unknown module>)
This should not be the case because we set
ATTRIBUTE_NO_UBSAN
static double __ieee754_log(double x) {
On Linux this works but on macOS aarch64 with XCode 15 the attribute does not work.
For example in jtreg test
javax/sound/midi/Gervill/ModelStandardTransform/TransformConvex.java
we still see the error below :
/priv/jenkins/client-home/workspace/openjdk-jdk-weekly-macos_aarch64-opt/jdk/src/hotspot/share/runtime/sharedRuntimeTrans.cpp:129:20: runtime error: division by zero
#0 0x1097890b4 in __ieee754_log(double) sharedRuntimeTrans.cpp:129
#1 0x11ae33e98 (<unknown module>)
#2 0x11ae308ec (<unknown module>)
This should not be the case because we set
ATTRIBUTE_NO_UBSAN
static double __ieee754_log(double x) {
On Linux this works but on macOS aarch64 with XCode 15 the attribute does not work.
- relates to
-
JDK-8338449 ubsan: division by zero in sharedRuntimeTrans.cpp
-
- Resolved
-