RFR: 8276905: Function frag_col has a deployment target which is incompatible with this OS

Jayathirth D V jdv at openjdk.java.net
Thu Nov 11 06:01:08 UTC 2021


When JDK is built on BigSur with Xcode12.5 and used to run jtreg tests in macOS10.15 with Xcode <=12.4 we are getting compilation error. We dont set any deployment target when when we use xcrun to create .air file and this issue looks similar to https://developer.apple.com/forums/thread/105719. Also https://developer.apple.com/forums/thread/105719 states that even if they set app deployment target they need to explicitly set deployment in "xcrun metal".

Made same change to use -mmacosx-version-min=10.12.00 in our make file. Whether we should keep 10.12.00 or 10.13/14 is open to discussion for metal pipeline.

SwingSet2, J2DDemo & JCK/jtreg runs in CI are green. Also Vitaly(Submitter) has confirmed that patch resolves the issue.

-------------

Commit messages:
 - 8276905: Function frag_col has a deployment target which is incompatible with this OS

Changes: https://git.openjdk.java.net/jdk/pull/6346/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6346&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8276905
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6346.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6346/head:pull/6346

PR: https://git.openjdk.java.net/jdk/pull/6346



More information about the build-dev mailing list