You can try --disable-precompiled-headers and see if that helps. We have had special considerations for combining these features in the past, but it's certainly a source of trouble for ccache.

/Erik


On 2018-11-08 16:20, Maurizio Cimadamore wrote:

On 08/11/2018 20:31, Erik Joelsson wrote:
I think we need more details here to figure it out, but it doesn't surprise me that hotspot is the part that's failing. Building hotspot is way more complex than the rest.

Digging more into the command lines of the various HS files, they include many generated sources and, also this folder:

build/<CONF>/hotspot/variant-server/libjvm/objs/precompiled

Now, I don't know exactly how ccache deals with PCH but I notices that every time that the files in this folder are regenerated by the build (I can easily do that by rerunning the same command line that is stored inside the , a ccache miss follows.

Maurizio


Reply via email to