RFR: 8348207: Linux PPC64 PCH build broken after JDK-8347909
Magnus Ihse Bursie
ihse at openjdk.org
Thu Jan 23 23:51:47 UTC 2025
On Thu, 23 Jan 2025 12:59:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> The Linux PPC64 PCH build was broken after JDK-8347909.
> Build error
>
> * For target hotspot_variant-server_libjvm_objs_sharedRuntimeTrans.o:
> cc1plus: error: /jdk25_opt/hotspot/variant-server/libjvm/objs/precompiled/precompiled.hpp.gch: created and used with differing settings of '-mpower8-fusion-sign' [-Werror=invalid-pch]
> cc1plus: error: one or more PCH files were found, but they were invalid
> <command-line>: fatal error: precompiled.hpp: No such file or directory
>
> * For target hotspot_variant-server_libjvm_objs_sharedRuntimeTrig.o:
> cc1plus: error: /jdk25_opt/hotspot/variant-server/libjvm/objs/precompiled/precompiled.hpp.gch: created and used with differing settings of '-mpower8-fusion-sign' [-Werror=invalid-pch]
> cc1plus: error: one or more PCH files were found, but they were invalid
> <command-line>: fatal error: precompiled.hpp: No such file or directory
>
>
> There was a mismatch of the build settings of precompiled.hpp.gch and these 2 compilation units leading to this error; the PCH build exclusion of these 2 files did not work.
I just fixed the same issue in https://github.com/openjdk/jdk/pull/23283. I chose a more conservative path, so I'd only affect ppc64 code.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23268#issuecomment-2611244863
More information about the build-dev
mailing list