RFR: JDK-8134157: adlc fails to compile with SS12u4
    Erik Joelsson 
    erik.joelsson at oracle.com
       
    Tue Aug 25 14:27:25 UTC 2015
    
    
  
Hello,
We are working towards upgrading the officially supported compilers for 
JDK 9 and on Solaris, the proposed new compiler is Solaris Studio 12 
update 4. When attempting to build with that compiler, the hotspot build 
fails very early with:
"/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/adlc/adlparse.cpp", line 
2331: Error: Could not find source for 
RegisterForm::addRegClass<RegClass>(const char*).
This can be worked around by adding -template=extdef to the compiler 
flags. I propose we add this just when compiling adlc and for this 
particular version of Solaris Studio. See bug for further discussion of 
the issue.
Bug: https://bugs.openjdk.java.net/browse/JDK-8134157
Webrev: http://cr.openjdk.java.net/~erikj/8134157/webrev/
/Erik
    
    
More information about the hotspot-dev
mailing list