Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8138820

JDK Hotspot build fails with Xcode 7.0.1

XMLWordPrintable

    • b89

        gcc.make needs this alteration to work with the latest Xcode compilers:

        bash-3.2$ hg diff
        diff -r daf8acf3afda make/bsd/makefiles/gcc.make
        --- a/make/bsd/makefiles/gcc.make Wed Sep 30 04:35:39 2015 -0400
        +++ b/make/bsd/makefiles/gcc.make Fri Oct 02 16:34:51 2015 -0400
        @@ -313,10 +313,10 @@
         
         # Work around some compiler bugs.
         ifeq ($(USE_CLANG), true)
        - # Clang <= 6.1
        + # Clang <= 7.1
           ifeq ($(shell expr \
        - $(CC_VER_MAJOR) \< 6 \| \
        - \( $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) \<= 1 \) \
        + $(CC_VER_MAJOR) \< 7 \| \
        + \( $(CC_VER_MAJOR) = 7 \& $(CC_VER_MINOR) \<= 1 \) \
             ), 1)
             OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
             OPT_CFLAGS/unsafe.o += -O1

              twisti Christian Thalinger (Inactive)
              morris Morris Meyer (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: