RFR: 8295779: Xcode 14.0 fails to build jdk on m1 macos
Lutz Schmidt
lucy at openjdk.org
Fri Nov 11 08:22:43 UTC 2022
On Wed, 19 Oct 2022 15:33:31 GMT, Archie L. Cobbs <duke at openjdk.org> wrote:
> Building on MacOS 12.6 M1 with Xcode 14.0 fails due to C compiler unused parameter warnings:
>
> Creating support/modules_libs/java.desktop/libosx.dylib from 1 file(s)
This is a moving target, and the changes depend on the build mode as well as on the Xcode version + subversion. My company forced me on Xcode 14.1 lately. That triggered "deprecated-declarations" warnings in adlc (1x), hotspot (20x), and java.desktop (1x). These are all caused by the use of sprint(). The next Xcode subversion will for sure find other code snippets to complain about.
I'm not sure which policy to follow here. Adapt the make file (will hide the warning "forever")? Change the source code (and potentially introduce new issues)? Any advice from the build gurus?
-------------
PR: https://git.openjdk.org/jdk/pull/10768
More information about the client-libs-dev
mailing list