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

harfbuzz build fails with GCC 7 after JDK-8301998

    XMLWordPrintable

Details

    • 2d
    • 21
    • b17
    • generic
    • linux

    Backports

      Description

        ERROR: Build failed for target 'all' in configuration 'linux-x86_64-server-release' (exit code 2)

        === Output from failing command(s) repeated here ===
        * For target support_native_java.desktop_libfontmanager_gsubgpos-context.o:
        In file included from src/java.desktop/share/native/libharfbuzz/graph/../hb.hh:514:0,
                         from src/java.desktop/share/native/libharfbuzz/graph/../hb-set.hh:31,
                         from src/java.desktop/share/native/libharfbuzz/graph/graph.hh:27,
                         from src/java.desktop/share/native/libharfbuzz/graph/gsubgpos-graph.hh:27,
                         from src/java.desktop/share/native/libharfbuzz/graph/gsubgpos-context.cc:27:
        src/java.desktop/share/native/libharfbuzz/graph/../hb-iter.hh: In instantiation of 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]':
        src/java.desktop/share/native/libharfbuzz/graph/../hb-iter.hh:697:12: required from 'hb_apply_t<Appl&><unnamed struct>::operator()(Appl*) const [with Appl = void(void*) throw ()]'
        src/java.desktop/share/native/libharfbuzz/graph/../hb-pool.hh:43:16: required from 'hb_pool_t<T, ChunkLen>::~hb_pool_t() [with T = hb_serialize_context_t::object_t; unsigned int ChunkLen = 32]'
        src/java.desktop/share/native/libharfbuzz/graph/../hb-serialize.hh:181:21: required from here
        src/java.desktop/share/native/libharfbuzz/graph/../hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ^~~~~~~~~~
        src/java.desktop/share/native/libharfbuzz/graph/../hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
        src/java.desktop/share/native/libharfbuzz/graph/../hb-iter.hh:680:8: error: mangled name for 'void hb_apply_t<Appl>::operator()(Iter) [with Iter = hb_array_t<hb_pool_t<hb_serialize_context_t::object_t>::chunk_t* const>; typename hb_enable_if<hb_is_iterator_of<Iter, typename Iter::item_t>::value>::type* <anonymous> = 0; Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           void operator () (Iter it)
           ... (rest of output omitted)
        * For target support_native_java.desktop_libfontmanager_hb-aat-layout.o:
        In file included from src/java.desktop/share/native/libharfbuzz/hb.hh:514:0,
                         from src/java.desktop/share/native/libharfbuzz/hb-aat-layout.cc:28:
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh: In instantiation of 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]':
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:697:12: required from 'hb_apply_t<Appl&><unnamed struct>::operator()(Appl*) const [with Appl = void(void*) throw ()]'
        src/java.desktop/share/native/libharfbuzz/hb-pool.hh:43:16: required from 'hb_pool_t<T, ChunkLen>::~hb_pool_t() [with T = hb_serialize_context_t::object_t; unsigned int ChunkLen = 32]'
        src/java.desktop/share/native/libharfbuzz/hb-serialize.hh:181:21: required from here
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ^~~~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:680:8: error: mangled name for 'void hb_apply_t<Appl>::operator()(Iter) [with Iter = hb_array_t<hb_pool_t<hb_serialize_context_t::object_t>::chunk_t* const>; typename hb_enable_if<hb_is_iterator_of<Iter, typename Iter::item_t>::value>::type* <anonymous> = 0; Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           void operator () (Iter it)
                ^~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ... (rest of output omitted)
        * For target support_native_java.desktop_libfontmanager_hb-aat-map.o:
        In file included from src/java.desktop/share/native/libharfbuzz/hb.hh:514:0,
                         from src/java.desktop/share/native/libharfbuzz/hb-aat-map.cc:29:
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh: In instantiation of 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]':
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:697:12: required from 'hb_apply_t<Appl&><unnamed struct>::operator()(Appl*) const [with Appl = void(void*) throw ()]'
        src/java.desktop/share/native/libharfbuzz/hb-pool.hh:43:16: required from 'hb_pool_t<T, ChunkLen>::~hb_pool_t() [with T = hb_serialize_context_t::object_t; unsigned int ChunkLen = 32]'
        src/java.desktop/share/native/libharfbuzz/hb-serialize.hh:181:21: required from here
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ^~~~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:680:8: error: mangled name for 'void hb_apply_t<Appl>::operator()(Iter) [with Iter = hb_array_t<hb_pool_t<hb_serialize_context_t::object_t>::chunk_t* const>; typename hb_enable_if<hb_is_iterator_of<Iter, typename Iter::item_t>::value>::type* <anonymous> = 0; Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           void operator () (Iter it)
                ^~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ... (rest of output omitted)
        * For target support_native_java.desktop_libfontmanager_hb-buffer.o:
        In file included from src/java.desktop/share/native/libharfbuzz/hb.hh:514:0,
                         from src/java.desktop/share/native/libharfbuzz/hb-buffer.hh:33,
                         from src/java.desktop/share/native/libharfbuzz/hb-buffer.cc:30:
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh: In instantiation of 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]':
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:697:12: required from 'hb_apply_t<Appl&><unnamed struct>::operator()(Appl*) const [with Appl = void(void*) throw ()]'
        src/java.desktop/share/native/libharfbuzz/hb-pool.hh:43:16: required from 'hb_pool_t<T, ChunkLen>::~hb_pool_t() [with T = hb_serialize_context_t::object_t; unsigned int ChunkLen = 32]'
        src/java.desktop/share/native/libharfbuzz/hb-serialize.hh:181:21: required from here
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ^~~~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:680:8: error: mangled name for 'void hb_apply_t<Appl>::operator()(Iter) [with Iter = hb_array_t<hb_pool_t<hb_serialize_context_t::object_t>::chunk_t* const>; typename hb_enable_if<hb_is_iterator_of<Iter, typename Iter::item_t>::value>::type* <anonymous> = 0; Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           void operator () (Iter it)
                ^~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           ... (rest of output omitted)
        * For target support_native_java.desktop_libfontmanager_hb-common.o:
        In file included from src/java.desktop/share/native/libharfbuzz/hb.hh:514:0,
                         from src/java.desktop/share/native/libharfbuzz/hb-common.cc:29:
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh: In instantiation of 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]':
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:697:12: required from 'hb_apply_t<Appl&><unnamed struct>::operator()(Appl*) const [with Appl = void(void*) throw ()]'
        src/java.desktop/share/native/libharfbuzz/hb-pool.hh:43:16: required from 'hb_pool_t<T, ChunkLen>::~hb_pool_t() [with T = hb_serialize_context_t::object_t; unsigned int ChunkLen = 32]'
        src/java.desktop/share/native/libharfbuzz/hb-serialize.hh:181:21: required from here
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ^~~~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:680:8: error: mangled name for 'void hb_apply_t<Appl>::operator()(Iter) [with Iter = hb_array_t<hb_pool_t<hb_serialize_context_t::object_t>::chunk_t* const>; typename hb_enable_if<hb_is_iterator_of<Iter, typename Iter::item_t>::value>::type* <anonymous> = 0; Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           void operator () (Iter it)
                ^~~~~~~~
        src/java.desktop/share/native/libharfbuzz/hb-iter.hh:676:3: error: mangled name for 'hb_apply_t<Appl>::hb_apply_t(Appl) [with Appl = void (&)(void*) throw ()]' will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]
           hb_apply_t (Appl a) : a (a) {}
           ... (rest of output omitted)

        * All command lines available in /home/jiangfeilong/workspace/jdk/build/linux-x86_64-server-release/make-support/failure-logs.
        === End of repeated output ===

        Attachments

          Issue Links

            Activity

              People

                jcao Joshua Cao
                fjiang Feilong Jiang
                Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: