[PATCH] Fix Shark build in JDK9

Roman Kennke rkennke at redhat.com
Wed Jan 7 14:45:03 UTC 2015


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