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

qtwebengine fails (linking convert_dict)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.3.2, 6.4.0
    • WebEngine
    • None
    • Linux/X11

    Description

      I am trying to build QtWebEngine 6.4.0 (and 6.3.2 before), but it always fails when linking convert_dict

      I already tried many different configurations (with/without different system packages on different systems etc.).

      After several dozen unsuccessful attempts, I now seem to have found a solution. If I build QtWebEngine  without parallel builds (-j1), the build seems to be successful.

       

      [2418/31276] CXX obj/third_party/angle/src/libANGLE/renderer/vulkan/angle_vulkan_backend/SurfaceVk.o 
      In file included from ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/SurfaceImpl.h:16, 
                       from ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/SurfaceVk.h:15, 
                       from ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/SurfaceVk.cpp:10: 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/SurfaceVk.cpp: In member function ‘angle::Result rx::WindowSurfaceVk::drawOverlay(rx::ContextVk*, rx::impl::SwapchainImage*) const’: 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/SurfaceVk.cpp:2366:35: warning: ‘this’ pointer is null [-Wnonnull] 
       2366 |     ANGLE_TRY(overlayVk->onPresent(contextVk, &image->image, imageView, 
            |               ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
       2367 |                                    Is90DegreeRotation(getPreTransform()))); 
            |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/Error.h:125:32: note: in definition of macro ‘ANGLE_TRY_TEMPLATE’ 
        125 |         auto ANGLE_LOCAL_VAR = EXPR;                  \ 
            |                                ^~~~ 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/SurfaceVk.cpp:2366:5: note: in expansion of macro ‘ANGLE_TRY’ 
       2366 |     ANGLE_TRY(overlayVk->onPresent(contextVk, &image->image, imageView, 
            |     ^~~~~~~~~ 
      In file included from ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.h:20, 
                       from ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/SurfaceVk.cpp:18: 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/OverlayVk.h:30:19: note: in a call to non-static member function ‘angle::Result rx::OverlayVk::onPresent(rx::ContextVk*, rx::vk::ImageHelper*, const rx::vk::ImageView*, bool)’ 
         30 |     angle::Result onPresent(ContextVk *contextVk, 
            |                   ^~~~~~~~~ 
      [2431/31276] CXX obj/third_party/angle/src/libANGLE/renderer/vulkan/angle_vulkan_backend/TextureVk.o 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/TextureVk.cpp: In member function ‘virtual angle::Result rx::TextureVk::setStorageExternalMemory(const gl::Context*, gl::TextureType, size_t, GLenum, const gl::Extents&, gl::Memo
      ryObject*, GLuint64, GLbitfield, GLbitfield, const void*)’: 
      ../../../../sources/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/TextureVk.cpp:1347:46: warning: bitwise comparison always evaluates to true [-Wtautological-compare] 
       1347 |     if ((usageFlags | kRenderableUsageFlags) != 0) 
            |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~ 
      [2117/2117] LINK ./convert_dict 
      FAILED: convert_dict  
      /usr/bin/python3 "../../../../sources/src/3rdparty/chromium/build/toolchain/gcc_link_wrapper.py" --output="./convert_dict" -- /usr/bin/c++ -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -m64 -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl,-z,defs -Wl,--
      as-needed -pie -Wl,--disable-new-dtags -o "./convert_dict" -Wl,--start-group @"./convert_dict.rsp"  -Wl,--end-group  -ldl -lpthread -lrt 
      /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: obj/third_party/icu/libbundled_icui18n.a: error adding symbols: file format not recognized 
      collect2: error: ld returned 1 exit status 
      ninja: build stopped: subcommand failed. 
      gmake[2]: *** [src/core/CMakeFiles/convert_dict_Release_x86_64.dir/build.make:73: src/core/Release/x86_64/convert_dict.stamp] Error 1 
      gmake[1]: *** [CMakeFiles/Makefile2:1166: src/core/CMakeFiles/convert_dict_Release_x86_64.dir/all] Error 2 
      gmake[1]: *** Waiting for unfinished jobs.... 
      [4215/31276] CXX obj/third_party/icu/bundled_icui18n/formattedvalue.o 
      ../../../../sources/src/3rdparty/chromium/third_party/icu/source/i18n/formattedvalue.cpp: In function ‘const UChar* icu_70::ufmtval_getString_70(const UFormattedValue*, int32_t*, UErrorCode*)’: 
      ../../../../sources/src/3rdparty/chromium/third_party/icu/source/i18n/formattedvalue.cpp:215:1: warning: function may return address of local variable [-Wreturn-local-addr] 
        215 | } 
            | ^ 
      ../../../../sources/src/3rdparty/chromium/third_party/icu/source/i18n/formattedvalue.cpp:205:19: note: declared here 
        205 |     UnicodeString readOnlyAlias = impl->fFormattedValue->toTempString(*ec); 
            |                   ^~~~~~~~~~~~~ 
      [4805/31276] CC obj/third_party/libaom/libaom/grain_table.o
      

       

      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
            hilefoks Stefan Böhmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes