Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351490

ATTRIBUTE_NO_UBSAN seems not to work on macOS aarch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • hotspot
    • aarch64
    • os_x

      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.

            Unassigned Unassigned
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: