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

GCC 4.8.5 build failure after JDK-8233530

    XMLWordPrintable

Details

    • b23

    Description

      Compiling on RHEL, with:
      * Toolchain: gcc (GNU Compiler Collection)
      * C Compiler: Version 4.8.5 (at /usr/bin/gcc)
      * C++ Compiler: Version 4.8.5 (at /usr/bin/g++)

      ...breaks after JDK-8233530:

      /home/shade/jdk-jdk/src/hotspot/share/memory/operator_new.cpp:95:24: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas]
       PRAGMA_DISABLE_GCC_WARNING("-Wc++14-compat")
                              ^
      cc1plus: error: unrecognized command line option "-Wno-cast-function-type" [-Werror]
      cc1plus: error: unrecognized command line option "-Wno-misleading-indentation" [-Werror]
      cc1plus: error: unrecognized command line option "-Wno-implicit-fallthrough" [-Werror]
      cc1plus: error: unrecognized command line option "-Wno-int-in-bool-context" [-Werror]
      cc1plus: all warnings being treated as errors
      gmake[3]: *** [/home/shade/jdk-jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/operator_new.o] Error 1

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: