OpenJDK rebuilding on windows takes a long time (original) (raw)

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Fri Feb 8 12🔞14 UTC 2013


Building one line change in OpenJDK on my Windows takes about from 4 to 7 minutes.

I tried to install the ccache-3.1.9 but build process fails with error:

LINK : fatal error LNK1181: cannot open input file 'c:/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/libverify/check_code.obj' LINK : fatal error LNK1181: cannot open input file 'c:/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/libfdlibm/e_acos.obj' LINK : fatal error LNK1181: cannot open input file 'c:/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/libdt_shmem/SharedMemoryConnection.obj'

Could not start process! Failed with error 2: ?? ??????? ????? ????????? ????.

make[2]: *** [/cygdrive/c/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/fdlibm.lib] Error 157 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/cygdrive/c/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/bin/verify.dll] Error 157 make[2]: *** [/cygdrive/c/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/bin/dt_shmem.dll] Error 157 make[1]: *** [libs-only] Error 2 make: *** [jdk-only] Error 2

7 minutes is too long for the small change rebuilding. The previous systems makes it faster. Is it possible to use the ccache on windows or make the rebuilding process faster?

Thanks, Alexandr.



More information about the build-dev mailing list