ATTRIBUTE_NO_UBSAN seems not to work on macOS and AIX

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 25
    • Component/s: hotspot
    • os_x, aix

      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.

            Assignee:
            Unassigned
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: