On Tue, 3 Nov 2020 13:39:19 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> There is a race when compiling build.tools.symbolgenerator.CreateSymbols:
> 
> [2020-11-03T07:21:12,118Z] Error: LinkageError occurred while loading main 
> class build.tools.symbolgenerator.CreateSymbols
> [2020-11-03T07:21:12,119Z] java.lang.ClassFormatError: Truncated class file
> [2020-11-03T07:21:12,125Z] Gendata.gmk:69: recipe for target 
> '/.../build/macosx-x64-open/support/javadoc-symbols/symbols' failed
> [2020-11-03T07:21:12,125Z] make[3]: *** 
> [/.../build/macosx-x64-open/support/javadoc-symbols/symbols] Error 1
> [2020-11-03T07:21:12,127Z] make/Main.gmk:148: recipe for target 
> 'jdk.javadoc-gendata' failed
> [2020-11-03T07:21:12,127Z] make[2]: *** [jdk.javadoc-gendata] Error 2
> [2020-11-03T07:21:12,127Z] make[2]: *** Waiting for unfinished jobs....
> 
> This was caused by https://bugs.openjdk.java.net/browse/JDK-8216497, which 
> started compiling the same buildtool twic, in different, independent 
> makefiles, to the same output directory.
> 
> The long term correct solution is to fix 
> https://bugs.openjdk.java.net/browse/JDK-8241463.
> 
> For now, I opted to just make sure the output is placed in separate 
> directories to avoid the race. We will still compile the build tool twice; 
> it's annoying but not a major performance problem.

Marked as reviewed by erikj (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/1037

Reply via email to