[graalvm-users] Building substratevm, Graal 20.0 github, vanilla AdoptOpenJDK (build 11.0.6+10) HotSpot, Linux

Michal Karm michal.babacek at gmail.com
Fri Feb 14 06:47:43 PST 2020


On 02/14/2020 09:49 AM, Gilles Duboscq wrote:
> Hi Michal,
>
> To build GraalVM CE, we use this codebase for OpenJDK11:
> https://github.com/graalvm/labs-openjdk-11
>
> If you build from there you should have no problem.
> There is a `build_labsjdk.py` which you can directly use or at least look at to see things like options passed to configure or make.
>
> There are also pre-built tars there:
> https://github.com/graalvm/labs-openjdk-11/releases
>
> Cheers,
>  Gilles

Thank you Gilles, it works for me now.

Cheers
K.

>
>
> On 14/02/2020 09:07, Michal Karm wrote:
>> Hello,
>>
>> While I am able to build the compiler without issues,
>> I seem to be having difficulties building substratevm.
>>
>>     karm at local:~/workspace/graal/graal/substratevm (20.0 %)$ mx build
>>     build: Checking SubstrateVM requirements for building ...
>>     Could not find any unresolved JVM_* symbols in static JDK libraries
>>
>> I noticed this line in Graal's .travis.yml:
>>
>>     # GR-16977
>>     #  - env: JDK="jdk11" GATE="build,test,helloworld" PRIMARY="substratevm"
>>
>> And found:
>>
>>     https://hg.openjdk.java.net/jdk/jdk/rev/786a4824dba3
>>
>> If I want to build the whole suite of Graal, including substratevm,
>> does it mean that I have to backport the aforementioned patch to OpenJDK 11,
>> build my own OpenJDK 11 and try again...?
>>
>> Thanks for pointers / pun intended /
>>
>> Cheers
>>
>> K.
>>
>> Michal Karm Babacek
>>
>>
>> _______________________________________________
>> GraalVM-Users mailing list
>> GraalVM-Users at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/graalvm-users
>>
> _______________________________________________
> GraalVM-Users mailing list
> GraalVM-Users at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/graalvm-users


Michal Karm Babacek

-- 
Sent from my Hosaka Ono-Sendai Cyberspace 7


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://oss.oracle.com/pipermail/graalvm-users/attachments/20200214/f75960b4/attachment.bin 


More information about the GraalVM-Users mailing list