RFR (XXS): 8138820: JDK Hotspot build fails with Xcode 7.0.1

Christian Thalinger christian.thalinger at oracle.com
Fri Mar 25 00:27:47 UTC 2016


> On Mar 24, 2016, at 1:10 AM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> Hello.
> The same problem occured again. Is that a known issue?
> ....
> gcc.make:341: *** "Update compiler workarounds for Clang 7.3".  Stop.
> ….

I haven’t updated yet but you likely can just bump the CC_VER_MINOR.

> 
> On 08.10.15 23:34, Christian Thalinger wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8138820
>> 
>> I’ve verified we still need both workarounds.
>> 
>> diff -r 0011fab3f1b5 make/bsd/makefiles/gcc.make
>> --- a/make/bsd/makefiles/gcc.make	Thu Oct 08 10:25:45 2015 +0000
>> +++ b/make/bsd/makefiles/gcc.make	Thu Oct 08 10:33:02 2015 -1000
>> @@ -313,10 +313,11 @@ endif
>> 
>>  # Work around some compiler bugs.
>>  ifeq ($(USE_CLANG), true)
>> -  # Clang <= 6.1
>> +  # Clang <= 6.1 | <= 7.0
>>    ifeq ($(shell expr \
>>        $(CC_VER_MAJOR) \< 6 \| \
>> -      \( $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) \<= 1 \) \
>> +      \( $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) \<= 1 \) \| \
>> +      \( $(CC_VER_MAJOR) = 7 \& $(CC_VER_MINOR) \<= 0 \) \
>>      ), 1)
>>      OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
>>      OPT_CFLAGS/unsafe.o += -O1
>> 
> 
> 
> -- 
> Best regards, Sergey.



More information about the hotspot-dev mailing list