RFR: 8348207: Linux PPC64 PCH build broken after JDK-8347909 [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Jan 24 14:58:24 UTC 2025


> 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.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  adjust gcc PCH exclusion on ppc64le

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23268/files
  - new: https://git.openjdk.org/jdk/pull/23268/files/cd1589f6..a750c2a2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23268&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23268&range=00-01

  Stats: 11 lines in 1 file changed: 10 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23268.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23268/head:pull/23268

PR: https://git.openjdk.org/jdk/pull/23268


More information about the build-dev mailing list