RFR (M): Enable HotSpot build with Clang

Volker Simonis volker.simonis at gmail.com
Wed May 22 23:19:38 PDT 2013


On Thursday, May 23, 2013, David Holmes wrote:

> On 23/05/2013 1:59 PM, Christian Thalinger wrote:
>
>>
>> On May 22, 2013, at 2:28 PM, David Chase <david.r.chase at oracle.com>
>> wrote:
>>
>>  Any idea how this interacts with "new build"?
>>>
>>
>> It shouldn't since it doesn't set USE_CLANG=true.
>>
>
> Let me rephrase David's question :)
>
> Will this allow me to simply point configure at clang, using
> --with-toolkit, and have everything just work?
>
> I suspect not as, as you say, it doesn't set USE_CLANG=true.
>
> Note I suspect the same is true for attempting to build on Solaris using
> gcc.


You're right. This change only affects the HotSpot repository and it is
only the first ( and currently manual) step towards a complete JDK build
with clang.

Nevertheless it seems usefull to me for the reasons I've pointed out. And
the resulting HotSpot should be usable within a 'normal' JDK build with GCC
(at least for the few smoke tests I've run).

Once it's in we could start with the JDK forest and the configure part in
the base repository. That would require two extra change sets anyway. The
HotSpot build currently isn't very configure-agnostic anyway and once the
other parts have been completed, configure could just pass USE_CLANG=true
(plus perhaps some extra variables in the case we have more than one clang
version on the system) to the HotSpot build and everything should work.

 As a last step we would have to test on Mac as well. I currently don't
have one at hand, but sponsors are always welcome:)

Volker


> David H.
>
>  -- Chris
>>
>>
>>> David
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130523/6085b2f4/attachment.html 


More information about the hotspot-runtime-dev mailing list