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

8261169 broke Harfbuzz build with gcc 7 and 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: client-libs
    • Labels:
      None
    • Resolved In Build:
      b22

      Description

      Harfbuzz upgrade broke Linux x64 build on older gccs.

      In file included from /shared/projects/openjdk/jdk-jdk/source/src/java.desktop/share/native/libharfbuzz/hb-ot-shape-complex-use.cc:33:0:
      hb-ot-shape-complex-use-machine.rl: In instantiation of 'machine_index_t<Iter>::machine_index_t(const machine_index_t<Iter>&) [with Iter = hb_zip_iter_t<hb_iota_iter_t<unsigned int, unsigned int>, hb_filter_iter_t<hb_filter_iter_t<hb_zip_iter_t<hb_iota_iter_t<unsigned int, un
      signed int>, hb_array_t<hb_glyph_info_t> >, find_syllables_use(hb_buffer_t*)::<lambda(const hb_glyph_info_t&)>, const<unnamed struct>&, 0>, find_syllables_use(hb_buffer_t*)::<lambda(hb_pair_t<unsigned int, const hb_glyph_info_t&>)>, const<unnamed struct>&, 0> >]':
      hb-ot-shape-complex-use-machine.rl:249:11: required from here
      hb-ot-shape-complex-use-machine.rl:194:9: error: base class 'struct hb_iter_with_fallback_t<machine_index_t<hb_zip_iter_t<hb_iota_iter_t<unsigned int, unsigned int>, hb_filter_iter_t<hb_filter_iter_t<hb_zip_iter_t<hb_iota_iter_t<unsigned int, unsigned int>, hb_array_t<hb_glyp
      h_info_t> >, find_syllables_use(hb_buffer_t*)::<lambda(const hb_glyph_info_t&)>, const<unnamed struct>&, 0>, find_syllables_use(hb_buffer_t*)::<lambda(hb_pair_t<unsigned int, const hb_glyph_info_t&>)>, const<unnamed struct>&, 0> > >, hb_pair_t<unsigned int, hb_pair_t<unsigned
       int, hb_glyph_info_t&> > >' should be explicitly initialized in the copy constructor [-Werror=extra]
      cc1plus: error: unrecognized command line option '-Wno-class-memaccess' [-Werror]
      cc1plus: all warnings being treated as errors
      make[3]: *** [lib/Awt2dLibraries.gmk:516: /shared/projects/openjdk/jdk-jdk/output-fastdebug/support/native/java.desktop/libfontmanager/hb-ot-shape-complex-use.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[2]: *** [make/Main.gmk:202: java.desktop-libs] Error 2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: