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

Build with gcc8 is broken after JDK-8307301

    XMLWordPrintable

Details

    • b22

    Backports

      Description

        * For target support_native_java.desktop_libfontmanager_gsubgpos-context.o:
        In file included from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/../hb-set.hh:31,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/graph.hh:27,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/gsubgpos-graph.hh:27,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/gsubgpos-context.cc:27:
        /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/../hb.hh:257:61: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
         #if defined(__OPTIMIZE__) && hb_has_builtin(__builtin_expect)
                                                                     ^
        In file included from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/../hb.hh:527,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/../hb-set.hh:31,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/graph.hh:27,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/gsubgpos-graph.hh:27,
                         from /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/gsubgpos-context.cc:27:
        /data/jdk/src/java.desktop/share/native/libharfbuzz/graph/../hb-algs.hh:116:39: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
               hb_has_builtin(__builtin_bswap16)))
                                               ^
           ... (rest of output omitted)

        Attachments

          Issue Links

            Activity

              People

                jiefu Jie Fu
                jiefu Jie Fu
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: