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

aarch32: disable -Werror for libsctp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • port-stage-aarch32-8
    • port-stage-aarch32-8
    • core-libs
    • None
    • aarch32
    • linux

      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.

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

              Created:
              Updated:
              Resolved: