As far as I know, this is expected. You need to tell Xcode to compile
and link with an older deployment target. I'm a bit fuzzy on the
details, but as I remember it, by default, configure only sets up half
the required settings for your to produce binaries that will work on
Macos versions older than the build environment. At Oracle we also set
"--with-macosx-version-max=10.12.00" which I believe is also needed.
No need to file an issue in my opinion.
/Erik
On 2021-10-27 09:55, Philip Race wrote:
A bug should be filed but if it is specific to using xcode 12.5 we
won't have seen
any issue yet at Oracle as all official builds use xcode 12.4.
However at some point (JDK 19) we'll likely upgrade and then it'll be
an issue.
-phil.
On 10/27/21 3:02 AM, Jayathirth D V wrote:
Hi Vitaly,
There is no issue in JBS with this failure.
We had lanai CI jtreg/JCK test run recently on 23rd October and many
of those runs were on macOS 10.15.7 and macOS 11.6 systems but I
don’t see any compilation error reported.
Also from below mail I am not able to get whether issue is related to
some Xcode version or macOS version. Please clarify.
Thanks,
Jay
On 27-Oct-2021, at 3:04 PM, Vitaly Provodin
<vitaly.provo...@jetbrains.com> wrote:
Sorry did not complete the previous mail
If JDK is built on Catalina with Xcode 12.2, the tests passed well.
On 27 Oct 2021, at 16:32, Vitaly Provodin
<vitaly.provo...@jetbrains.com> wrote:
Hi all,
it was found out that a lot of AWT & Swing tests failed on
macOS-x64 <=10.15 with the following message
2021-10-25 05:36:42.170 java[6916:107817] Failed to create pipeline
state, error Error Domain=CompilerError Code=1 "Function frag_col
has a deployment target which is incompatible with this OS."
UserInfo={NSLocalizedDescription=Function frag_col has a deployment
target which is incompatible with this OS.}
The issue was observed when JDK17, JDK18 was built on BigSur with
Xcode12.5
1. -Dsun.java2d.metal=true & macOS-x64 <=10.15 FAILED
2. -Dsun.java2d.metal=true & macOS-x64 >10.15 PASSED
2. -Dsun.java2d.metal=false & macOS-x64 <=10.15 PASSED
2. -Dsun.java2d.metal=false & macOS-x64 > 10.15 PASSED
If JDK is build on Catalina with Xcode12.2
Not sure if this issue is known. Shoiuld it be reported to JBS?
Thanks,
Vitaly