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

Zero: alpha builds fail with '-fstack-protector not supported for this target'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: infrastructure
    • Labels:

      Description

      Configuration summary:
      * Name: linux-alpha-zero-slowdebug
      * Debug level: slowdebug
      * HS debug level: debug
      * JVM variants: zero
      * JVM features: zero: 'epsilongc g1gc jni-check jvmti management nmt parallelgc serialgc services vm-structs zero'
      * OpenJDK target: OS: linux, CPU architecture: alpha, address length: 64
      * Version string: 17-internal+0-adhoc.shade.jdk (17-internal)

      Tools summary:
      * Boot JDK: openjdk version "15-testing" 2020-09-15 OpenJDK Runtime Environment (build 15-testing+0-builds.shipilev.net-openjdk-jdk15-b17-20201010) OpenJDK 64-Bit Server VM (build 15-testing+0-builds.shipilev.net-openjdk-jdk15-b17-20201010, mixed mode, sharing) (at /home/shade/Install/jdk15.0.2-ea)
      * Toolchain: gcc (GNU Compiler Collection)
      * C Compiler: Version 9.3.0 (at /usr/bin/alpha-linux-gnu-gcc)
      * C++ Compiler: Version 9.3.0 (at /usr/bin/alpha-linux-gnu-g++)

      $ CONF=linux-alpha-zero-fastdebug make hotspot

      * For target hotspot_variant-zero_libjvm_objs_cardTable.o:
      cc1plus: error: '-fstack-protector' not supported for this target [-Werror]
      cc1plus: all warnings being treated as errors

      JDK-8199405 removed the conditional checks for -fstack-protector availability. I believe the intent was to trust that every recent GCC has this option. But this issue shows that stack-protector support is also arch-specific?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: