Windows build failure in JDK8 with --disable-zip-debug-info
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Nov 5 12:25:34 UTC 2014
On 2014-11-05 12:21, David Holmes wrote:
> If I set
> in JDK8u and do a windows build it fails with:
> make: *** No rule to make target
> needed by `all'. Stop.
> This doesn't happen in JDK 9.
> Any suggestions?
The map files are special since they are produced as a side-effect of
the compilation. The makefiles in jdk8 (this piece of code has been
modified serveral times in jdk9) does not have a rule ??? -> ?.map,
instead the rule is ??? -> ?.dll, and the map file gets produced at the
same time, without make knowning about it.
I'm not sure why something started to depend on the .map file, but you
could probably add a rule from *.map to *.dll in
make/common/NativeCompilation.gmk. Something like this pseudo code:
I even have a vague memory of a fix along these lines in jdk9. If that's
correct, it's probably due for backporting. I'll see if I can locate it.
More information about the build-dev