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

[macOS] [Xcode13] libjvm.dylib link error after 8351440

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • infrastructure
    • None
    • os_x

      JDK-8351440 introduces the linker parameter -Wl,-reproducible which is, in itself, a good thing. Unfortunately, this parameter is not known to the linker used with Xcode13. I tried Xcode_13.4.1:
        Linking libjvm.dylib
        ld: unknown option: -reproducible
        clang: error: linker command failed with exit code 1 (use -v to see invocation)

      From Xcode14, the libjvm.so link step goes through with out error. According to https://openjdk.org/groups/build/doc/building.html Xcode13 is still supported.

      As a remedy, I would suggest to either lift the minimum version to Xcode14 or to make the use of -Wl,-reproducible dependent on the Xcode version.

            Unassigned Unassigned
            lucy Lutz Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: