Error building hotspot with shark/zero (original) (raw)

Andrew Hughes gnu.andrew at redhat.com
Thu Feb 6 14:46:51 PST 2014


----- Original Message -----

Can you talk to Andrew (CCed) about integrating your changes?

On Feb 5, 2014, at 8:30 PM, Neale Ferguson <neale at sinenomine.net> wrote: > I simply followed the instructions and did a hg clone and then used the > getsource script to populate everything. > > I did find a patch that removed generatestubs etc and things ran to > completion. There were certain methods that needed adding to > sharkMemoryManager such as allocateCodeSection. Other issues included > createPHI and CreateCall parameters having changed. Also llvm-config > --ldflags doesn't return -lot info so I had to provide a quick and dirty > fix to the generic profile script. >

The obvious thing that occurs to me is that:

8003868: fix shark for latest HotSpot and LLVM Reviewed-by: twisti Contributed-by: Roman Kennke <rkennke at redhat.com>

is only present in 8 and not 7u. That added support for LLVM 3.3 IIRC.

There were also Makefile changes required for Zero that probably apply to Shark too:

http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-February/012451.html

(notably gcc.make has conditionals on Shark but doesn't bring in defs.make where they are set)

Andrew :)

Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07



More information about the hotspot-dev mailing list