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

Do not allow ccache prior to 3.2 on macosx

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Environment:

      OS X 10.10.2

    • Subcomponent:
    • Resolved In Build:
      b148
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Configuring ccache with JDK 9 fails to build if ccache version is below 3.2 on Mac OS X 10.10.x

      Darwin Kernel Version 14.1.0

      Tools summary:
      * Boot JDK: java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b25) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) (at /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home)
      * Toolchain: clang (clang/LLVM)
      * C Compiler: Version Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin14.1.0 Thread model: posix (at /usr/bin/clang)
      * C++ Compiler: Version Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin14.1.0 Thread model: posix (at /usr/bin/clang++)

      Build performance summary:
      * Cores to use: 2
      * Memory limit: 8192 MB
      * ccache status: Active (3.1.6)

      Error Log:

      Creating data for first make execution in new configuration...
      Done
      Building target(s) 'default' in configuration 'macosx-x86_64-normal-server-release'
      Compiling 8 files for BUILD_TOOLS_LANGTOOLS
      Parsing 1 properties into enum-like class for jdk.compiler
      Compiling 20 properties into resource bundles for jdk.compiler
      Compiling 5 properties into resource bundles for jdk.dev
      Compiling 10 properties into resource bundles for jdk.javadoc
      Compiling 822 files for BUILD_INTERIM_LANGTOOLS
      Creating buildtools/interim_langtools.jar
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      Warning: generation and use of skeletons and static stubs for JRMP
      is deprecated. Skeletons are unnecessary, and static stubs have
      been superseded by dynamically generated stubs. Users are
      encouraged to migrate away from using rmic to generate skeletons and static
      stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
      Compiling 23 files for BUILD_INTERIM_JIMAGE
      Compiling 161 files for BUILD_TOOLS_JDK
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      Compiling 141 files for BUILD_IDLJ
      clang: error: argument unused during compilation: '-I .'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/share/vm/prims'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/share/vm'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/share/vm/precompiled'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/cpu/x86/vm'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/os_cpu/bsd_x86/vm'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/os/bsd/vm'
      clang: error: argument unused during compilation: '-I ../../../../../hotspot/src/os/posix/vm'
      clang: error: argument unused during compilation: '-I ../generated'
      clang: error: argument unused during compilation: '-include precompiled.hpp'
      make[10]: *** [abstractCompiler.o] Error 1
      make[9]: *** [the_vm] Error 2
      make[8]: *** [product] Error 2
      make[7]: *** [generic_build2] Error 2
      make[6]: *** [product] Error 2
      make[5]: *** [all_product_universal] Error 2
      make[4]: *** [universal_product] Error 2
      make[3]: *** [/Users/sandeepk/Workspace/JDK/jdk9-dev/build/macosx-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
      make[2]: *** [hotspot] Error 2
      make[2]: *** Waiting for unfinished jobs....
      Compiling 6 files for BUILD_TOOLS_CORBA
      Note: /Users/sandeepk/Workspace/JDK/jdk9-dev/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/som/idlemit/MetaPragma.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      make[1]: *** [main] Error 2
      make: *** [default] Error 2

        Attachments

          Activity

            People

            • Assignee:
              ihse Magnus Ihse Bursie
              Reporter:
              skonchad Sandeep Konchady
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: