RFR: JDK-8134157: adlc fails to compile with SS12u4

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Aug 25 16:54:15 UTC 2015


Looks good.

Thanks,
Vladimir

On 8/25/15 7:27 AM, Erik Joelsson wrote:
> 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