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

QtWebEngine compilation fails on dyld_interpose_tuple on Mojave

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.11.2
    • Fix Version/s: 5.11.3, 5.12.0 Beta 3
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      Mojave 10.14.0
    • Platform/s:
      macOS
    • Commits:
      3edd9466fb50ef817e2dffced023668c9c595bb7 (qt/qtwebengine/5.11)

      Description

      QtWebEngine fails with the following error:

       

      FAILED: obj/media/audio/audio/coreaudio_dispatch_override.o 
       ../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -MMD -MF obj/media/audio/audio/coreaudio_dispatch_override.o.d -DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -DCR_XCODE_VERSION=0100 -DCR_CLANG_REVISION=\"321529-2\" -D_STDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -DASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DMEDIA_IMPLEMENTATION -DWEBP_EXTERN=extern -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_BUILD_FOR_MAC -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/libyuv/include -I../../3rdparty/chromium/skia/config -I../../3rdparty/chromium/skia/ext -I../../3rdparty/chromium/third_party/skia/include/c -I../../3rdparty/chromium/third_party/skia/include/config -I../../3rdparty/chromium/third_party/skia/include/core -I../../3rdparty/chromium/third_party/skia/include/effects -I../../3rdparty/chromium/third_party/skia/include/encode -I../../3rdparty/chromium/third_party/skia/include/gpu -I../../3rdparty/chromium/third_party/skia/include/images -I../../3rdparty/chromium/third_party/skia/include/lazy -I../../3rdparty/chromium/third_party/skia/include/pathops -I../../3rdparty/chromium/third_party/skia/include/pdf -I../../3rdparty/chromium/third_party/skia/include/pipe -I../../3rdparty/chromium/third_party/skia/include/ports -I../../3rdparty/chromium/third_party/skia/include/utils -I../../3rdparty/chromium/third_party/vulkan/include -I../../3rdparty/chromium/third_party/skia/src/gpu -I../../3rdparty/chromium/third_party/skia/src/sksl -fno-strict-aliasing -fstack-protector-strong -Wno-builtin-macro-redefined -DDATE= -DTIME= -DTIMESTAMP_= -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option -fcolor-diagnostics -no-canonical-prefixes -arch x86_64 -Wall -Wextra -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c+11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-tautological-unsigned-zero-compare -Wno-null-pointer-arithmetic -Wno-tautological-constant-compare -Wtautological-constant-out-of-range-compare -O0 -fno-omit-frame-pointer -gdwarf-2 -isysroot ../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.11 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-parentheses-equality -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c14 -stdlib=libc+ -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../3rdparty/chromium/media/audio/mac/coreaudio_dispatch_override.cc -o obj/media/audio/audio/coreaudio_dispatch_override.o
       ../../3rdparty/chromium/media/audio/mac/coreaudio_dispatch_override.cc:178:24: error: no matching constructor for initialization of '(anonymous namespace)::dyld_interpose_tuple'
       dyld_interpose_tuple interposition(&GetGlobalQueueOverride,
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~
       ../../3rdparty/chromium/media/audio/mac/coreaudio_dispatch_override.cc:19:3: note: candidate template ignored: deduced conflicting types for parameter 'T' ('dispatch_queue_s *(long, unsigned long)' vs. 'dispatch_queue_global_s *(long, unsigned long)')
       dyld_interpose_tuple(const T* replacement, const T* replacee)
       ^
       ../../3rdparty/chromium/media/audio/mac/coreaudio_dispatch_override.cc:17:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
       struct dyld_interpose_tuple
      ^ ../../3rdparty/chromium/media/audio/mac/coreaudio_dispatch_override.cc:17:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 1 error generated.
      

        Attachments

        For Gerrit Dashboard: QTBUG-70981
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            mibrunin Michael Bruning
            Reporter:
            patrickkiddak Patrick Stinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes