OpenJDK 8 and Shark

Mario Torre neugens at redhat.com
Wed Jan 7 12:08:34 UTC 2015


On Mon, 2015-01-05 at 11:08 +0000, Andrew Haley wrote:
> > 
> > 2) What was the last version of LLVM that anyone used to build
> Shark?  The 
> > latest gcc compiler complains about "#elif _MSC_VER" not being
> defined in the 
> > llvm 3.4 headers.  Changing it to "#elif defined(_MSC_VER)" solves
> the problem.

I think I pushed a patch to address this on JDK9, I remember it was
backported to 8 also, so Shark on 8 and 9 "should" be buildable with
llvm 3.4 and 3.2.

I think the patch was here (IIRC):

http://cr.openjdk.java.net/~neugens/zero-2014-02-24/webrev.03/

I'm CC'ing Severin that took over most of my work there, maybe he knows
something more.

It's possible something changed in the JDK so that this patch is not
valid anymore, unfortunately as Andrew says LLVM is too much of a moving
target to keep up with it, but any patches are welcomed!

Cheers,
Mario




More information about the distro-pkg-dev mailing list