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

aarch32: disable -Werror for libsctp

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: port-stage-aarch32-8
    • Fix Version/s: port-stage-aarch32-8
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      aarch32
    • OS:
      linux

      Description

      libsctp is currently compiled with "-Werror" flag. For GCC6 additional flag "-std=gnu++98" is required for hotspot compilation. But due to peculiarities of hotspot build flags that option needs to be specified using --with-extra-cflags configure option (--with-extra-cxxflags is ignored by hotspot). This causes incorrect (for C) "-std" value to be applied to all C code in jdk. That causes compiler warnings and libsctp breaks compilation because of Werror enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                akasko Alex Kasko
                Reporter:
                akasko Alex Kasko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: