-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P3
-
None
-
Affects Version/s: openjdk8u482
-
Component/s: infrastructure
-
x86_64
-
os_x
When building OpenJDK8u on MacOS using Clang, we see this error:
clang: error: invalid version number in '-mmacosx-version-min=11.00.00'
I believe this was caused by this commit:
https://github.com/openjdk/jdk8u/commit/5c0b36a630a4280d3ea4a6494e9bcf76c57191a6
My first idea is to change MACOSX_VERSION_MIN to 11.0.0
I'm running a build now to see if that change would resolve this.
Update: Same problem. Trying 11.0
Update: This problem appears to have been caused by using an earlier version of the xcode SDK that is prior to 11.
This seems counter-intuitive, as the error message seems to imply that the problem is either:
- The version string has an invalid format.
or
- The MacOS version is too old.
Solutions to this problem include using a later version of the Xcode SDK for builds.
Resolving this bug. Good to have this issue documented anyway, in case anyone else has this issue.
clang: error: invalid version number in '-mmacosx-version-min=11.00.00'
I believe this was caused by this commit:
https://github.com/openjdk/jdk8u/commit/5c0b36a630a4280d3ea4a6494e9bcf76c57191a6
My first idea is to change MACOSX_VERSION_MIN to 11.0.0
I'm running a build now to see if that change would resolve this.
Update: Same problem. Trying 11.0
Update: This problem appears to have been caused by using an earlier version of the xcode SDK that is prior to 11.
This seems counter-intuitive, as the error message seems to imply that the problem is either:
- The version string has an invalid format.
or
- The MacOS version is too old.
Solutions to this problem include using a later version of the Xcode SDK for builds.
Resolving this bug. Good to have this issue documented anyway, in case anyone else has this issue.
- caused by
-
JDK-8317970 Bump target macosx-x64 version to 11.00.00
-
- Resolved
-