- 
    Type:
Enhancement
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 15
 - 
    Component/s: infrastructure
 
- 
        b06
 - 
        generic
 - 
        generic
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8248685 | 11.0.9-oracle | Douglas Simon | P4 | Resolved | Fixed | b01 | 
| JDK-8241193 | 11.0.8 | Severin Gehwolf | P4 | Resolved | Fixed | b01 | 
                    Right now when somebody wants to build Graal, in particular Substrate VM, using OpenJDK HEAD the mx tool refuses to do so early on with:
$ mx native-image
Building GraalVM with native-image in /disk/graal/upstream-sources/graal/sdk/mxbuild/linux-amd64/GRAALVM_LIBGRAAL_JAVA14_BNATIVE-IMAGE_BNATIVE-IMAGE-CONFIGURE_LLP_NI_NIC_NIL_NJU_SJVMCICOMPILER_SNATIVE-IMAGE-AGENT/graalvm-libgraal-java14-20.0.0-dev
build: Checking SubstrateVM requirements for building ...
Could not find any unresolved JVM_* symbols in static JDK libraries
Yet, there are build targets to produce statically linked versions of native libraries in OpenJDK (JDK-8232748). What's missing is to merge a JDK image with the static-libs-image libs. The result would be suitable as a build JDK for Substrate VM.
            
$ mx native-image
Building GraalVM with native-image in /disk/graal/upstream-sources/graal/sdk/mxbuild/linux-amd64/GRAALVM_LIBGRAAL_JAVA14_BNATIVE-IMAGE_BNATIVE-IMAGE-CONFIGURE_LLP_NI_NIC_NIL_NJU_SJVMCICOMPILER_SNATIVE-IMAGE-AGENT/graalvm-libgraal-java14-20.0.0-dev
build: Checking SubstrateVM requirements for building ...
Could not find any unresolved JVM_* symbols in static JDK libraries
Yet, there are build targets to produce statically linked versions of native libraries in OpenJDK (
- backported by
 - 
                    
JDK-8241193 Add build target to produce a JDK image suitable for a Graal/SVM build
-         
     - Resolved
 
 -         
 - 
                    
JDK-8248685 Add build target to produce a JDK image suitable for a Graal/SVM build
-         
     - Resolved
 
 -         
 
- relates to
 - 
                    
JDK-8232748 Build static versions of certain JDK libraries
-         
     - Resolved
 
 -