Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103314

qtwebengine with jumbo "error: redefinition of 'struct WTF::CrossThreadCopier<rtc::scoped_refptr<U> >'"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.15.2
    • WebEngine
    • None

    Description

      Hi,

       

      Full error:
      ../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_scoped_refptr_cross_thread_copier.h:14:8: error: redefinition of 'struct WTF::CrossThreadCopier<rtc::scoped_refptr<U> >'
      14 | struct CrossThreadCopier<rtc::scoped_refptr<T>> {

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from gen/third_party/blink/renderer/modules/peerconnection/peerconnection_jumbo_2.cc:6:
      ./../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/peer_connection_tracker.cc:55:8: note: previous definition of 'struct WTF::CrossThreadCopier<rtc::scoped_refptr<U> >'
      55
      struct CrossThreadCopier<rtc::scoped_refptr<T>> {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from gen/third_party/blink/renderer/modules/peerconnection/peerconnection_jumbo_2.cc:30:
      ./../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection_handler.cc:75:8: error: redefinition of 'struct WTF::CrossThreadCopier<scoped_refptr<webrtc::DataChannelInterface> >'
      75
      struct CrossThreadCopier<scoped_refptr<DataChannelInterface>>
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from gen/third_party/blink/renderer/modules/peerconnection/peerconnection_jumbo_2.cc:9:
      ./../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc:56:8: note: previous definition of 'struct WTF::CrossThreadCopier<scoped_refptr<webrtc::DataChannelInterface> >'
      56
      struct CrossThreadCopier<scoped_refptr<webrtc::DataChannelInterface>>
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

       On your latest git version, these parts have not changed compare to 5.15.2.

      My setting for jumbo: EXTRA_GN='use_jumbo_build=true jumbo_file_merge_limit=30'

      Reproducible: Always

      Steps to Reproduce:
      1.set USE jumbo-build for webengine
      2.set EXTRA_GN='use_jumbo_build=true jumbo_file_merge_limit=30'
      3.compile qtwebengine
      "jumbo_file_merge_limit=8" works.

      Is there a recommanded/maximum limit?

      Also: Gentoo is using a patch-set (attached). It worked with limit 30 a few months ago (without latest security cherry-picks I think).

      Original ticket: https://www.bugs.gentoo.org/830409

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            sebastienp Sébastien Picavet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes