Hi all, building JDK on Mac OSX 10.11.4 with Clang 7.3.0 fails with the error:
xxxxx:~/Projects/jdk9_websocket $ make all Building target 'all' in configuration 'macosx-x86_64-normal-server-release' /Users/Xxxxxx/Projects/jdk9_websocket/hotspot/make/bsd/makefiles/gcc.make:341: *** "Update compiler workarounds for Clang 7.3". Stop. The following small change seems to fix the problem: --- a/make/bsd/makefiles/gcc.make Wed Mar 23 19:33:34 2016 -0700 +++ b/make/bsd/makefiles/gcc.make Mon Mar 28 16:10:45 2016 +0200 @@ -326,7 +326,7 @@ ifeq ($(shell expr \ $(CC_VER_MAJOR) \< 6 \| \ \( $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) \<= 1 \) \| \ - \( $(CC_VER_MAJOR) = 7 \& $(CC_VER_MINOR) \<= 0 \) \ + \( $(CC_VER_MAJOR) = 7 \& $(CC_VER_MINOR) \<= 3 \) \ ), 1) OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) OPT_CFLAGS/unsafe.o += -O1 It would be nice if somebody could fix it. Best regards, Andrej Golovnin