sumatra/graal build instructions

Jules Gosnell jules_gosnell at yahoo.com
Sat Feb 14 18:08:27 UTC 2015


BTW - if you need more detail:

here is the jdk8 build log :

http://ouroboros.dyndns-free.com/ci/view/clumatra/job/sumatra/314/console

I then take that jdk8 and build a graal enabled jdk8:

http://ouroboros.dyndns-free.com/ci/view/clumatra/job/graal/439/console

Then I use this to build/run my project clumatra:

http://ouroboros.dyndns-free.com/ci/view/clumatra/job/clumatra-hardware-acceleration/615/console

this last build fails because the graal jvm fails to start saying:


Unrecognized VM option 'UseHSAILDeoptimization'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I've tried removing this option and just die on the next graal-specific 
option - I have to remove all of them to start the jvm and then it is 
not much use to me:

-Xms1g -Xmx8g -server -XX:-UseHSAILDeoptimization 
-XX:-UseHSAILSafepoints -G:Log=CodeGen -XX:+GPUOffload 
-XX:+TraceGPUInteraction -XX:-UseGraalClassLoader

I'm hoping that there was some change that went in recently whereby I 
have to build or run with some new flag about which I don't know ?

any help would be much appreciated.


Jules

P.S.

if you want to look over the build scripts they are here :

https://github.com/JulesGosnell/clumatra/tree/master/bin


On 14/02/15 12:53, Jules Gosnell wrote:
>
> over xmas I rebuilt my ci server and hsa box on fedora 21, I upgraded to
> kfd-1.0 and took some time out - so I'm not sure whether I have a os /
> kfd or bit-rot issue...
>
> I've had a problem building sumatra, which I fixed last night by rolling
> back to gnu make 3.81.
>
> I'm now having a problem with the graal build.
>
> my build script, which produced a vm which understood all the graal cli
> flags before xmas, now produces a vm which does not seem to know
> anything about graal...
>
> I'm following the instructions  at:
>
> https://wiki.openjdk.java.net/display/Sumatra/Sumatra+JDK+build+instructions
>
>
> I note that the unit test 'hsail.test.IntAddTest' no longer seems to
> exist, so the instructions seem to be outdated. Is there anything else
> that I am missing for building a working sumatra/graal stack ?
>
> many thanks,
>
>
> Jules
>



More information about the sumatra-dev mailing list