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

fail to build hotspot with gcc-4.8.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • gc
    • x86_64
    • linux

      === error message ===
      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_ad_x86_gen.o:
      In file included from ./src/hotspot/share/gc/z/zThreadLocalData.hpp:27:0,
                       from src/hotspot/cpu/x86/gc/z/z_x86_64.ad:27,
                       from ad_x86_gen.cpp:28:
      ./src/hotspot/share/gc/z/zMarkStack.hpp:76:33: error: requested alignment is not an integer constant
         ZCACHE_ALIGNED ZMarkStackList _published;
                                       ^
      ./src/hotspot/share/gc/z/zMarkStack.hpp:77:33: error: requested alignment is not an integer constant
         ZCACHE_ALIGNED ZMarkStackList _overflowed;
                                       ^
      cc1plus: warning: unrecognized command line option "-Wno-shift-negative-value" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-misleading-indentation" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]
      * For target hotspot_variant-server_libjvm_objs_ad_x86_peephole.o:
      In file included from ./src/hotspot/share/gc/z/zThreadLocalData.hpp:27:0,
                       from src/hotspot/cpu/x86/gc/z/z_x86_64.ad:27,
                       from ad_x86_peephole.cpp:28:
      ./src/hotspot/share/gc/z/zMarkStack.hpp:76:33: error: requested alignment is not an integer constant
         ZCACHE_ALIGNED ZMarkStackList _published;
                                       ^
      ./src/hotspot/share/gc/z/zMarkStack.hpp:77:33: error: requested alignment is not an integer constant
         ZCACHE_ALIGNED ZMarkStackList _overflowed;
                                       ^
      cc1plus: warning: unrecognized command line option "-Wno-shift-negative-value" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-misleading-indentation" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]
      * For target hotspot_variant-server_libjvm_objs_ad_x86_pipeline.o:
      In file included from ./src/hotspot/share/gc/z/zThreadLocalData.hpp:27:0,
                       from src/hotspot/cpu/x86/gc/z/z_x86_64.ad:27,
                       from ad_x86_pipeline.cpp:28:
      ./src/hotspot/share/gc/z/zMarkStack.hpp:76:33: error: requested alignment is not an integer constant
         ZCACHE_ALIGNED ZMarkStackList _published;
                                       ^
      ./src/hotspot/share/gc/z/zMarkStack.hpp:77:33: error: requested alignment is not an integer constant
         ZCACHE_ALIGNED ZMarkStackList _overflowed;
                                       ^
      cc1plus: warning: unrecognized command line option "-Wno-shift-negative-value" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-misleading-indentation" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default]
      cc1plus: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]

      * All command lines available in /home/lzang1/Source/jdk/build/linux-x86_64-server-release/make-support/failure-logs.
      === End of repeated output ===
      === GCC version info ===
      Using built-in specs.
      COLLECT_GCC=gcc
      COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
      Target: x86_64-redhat-linux
      Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
      Thread model: posix
      gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)

            lzang Lin Zang
            lzang Lin Zang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: