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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Mar 24 11:10:24 UTC 2016


Hello.
The same problem occured again. Is that a known issue?
....
gcc.make:341: *** "Update compiler workarounds for Clang 7.3".  Stop.
....

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