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

Christian Thalinger christian.thalinger at oracle.com
Thu Oct 8 23:44:25 UTC 2015


Thanks, Igor.

> On Oct 8, 2015, at 1:37 PM, Igor Veresov <igor.veresov at oracle.com> wrote:
> 
> Good.
> 
> igor
> 
>> On Oct 8, 2015, at 1:34 PM, Christian Thalinger <christian.thalinger at oracle.com> 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
>> 
> 



More information about the hotspot-dev mailing list