[PATCH] Fix Shark build in JDK9

Roman Kennke rkennke at redhat.com
Wed Jan 7 15:03:59 UTC 2015

I just realized that I posted some unneeded stuff, and that the check
for ZERO *or* ZEROSHARK can be made simpler:



Am Mittwoch, den 07.01.2015 um 15:45 +0100 schrieb Roman Kennke:
> Hello there,
> I made some fixes to the build machinery to be able to build Shark:
> http://cr.openjdk.java.net/~rkennke/shark-build-top/
> http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/
> http://cr.openjdk.java.net/~rkennke/shark-build-jdk/
> In particular, it does:
> - Improve the sed command to figure out the LLVM version. LLVM changed
> its version string from x.y to x.y.z. The command now correctly strips
> x.y.z to xy, we're only interested in the first two numbers. I also
> hand-changed the generated configure, please forgive me ;-)
> - In hotspot's makefile, I fixed a typo, allowing to build with unzipped
> debug info.
> - In JDK's build, I added the ZEROSHARK variant to exclude the SA
> generation.
> Notice that this alone doesn't make Shark build and run fine, it still
> requires some code changes. Those are not related to build-dev though, I
> will post them to the appropriate lists asap.
> Can you please review the changes? I would like to push this to
> build-infra/jdk9.
> Regards,
> Roman

More information about the build-dev mailing list