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

QtWebEngine doesn't build on 32bit architectures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.7.1, 5.8.0
    • WebEngine
    • None

    Description

      I had been trying to get it to build for Flatpak, here's the error message I'm getting:

      /usr/lib/gcc/arm-unknown-linux-gnueabi/6.2.0/../../../../arm-unknown-linux-gnueabi/bin/ld.bfd: failed to set dynamic section sizes: Memory exhausted
      collect2: error: ld returned 1 exit status
      make[3]: *** [Makefile.core_module:170: ../../lib/libQt5WebEngineCore.so.5.8.0] Error 1
      make[3]: Leaving directory '/run/build-runtime/qt5-qtwebengine/src/core'
      make[2]: *** [Makefile:158: sub-core_module-pro-make_first] Error 2
      make[2]: Leaving directory '/run/build-runtime/qt5-qtwebengine/src/core'
      make[1]: *** [Makefile:51: sub-core-make_first] Error 2
      make[1]: Leaving directory '/run/build-runtime/qt5-qtwebengine/src'
      make: *** [Makefile:45: sub-src-make_first] Error 2
      Error: module qt5-qtwebengine: Child process exited with code 2
      Makefile:7: recipe for target 'all' failed
      make: *** [all] Error 1
      

      That is by enforcing bfd, with ld.gold I get a similar error message.

      Since I found this problem I've been discussing it with other people responsible for similar builds, apparently on Debian systems there's similar issues:
      http://dci.pangea.pub/job/netrunner-backports_release_ds9-debian-qt_qtwebengine_bin_armhf/

      Here you can find the options I'm currently using:
      https://cgit.kde.org/flatpak-kde-runtime.git/tree/org.kde.Sdk.json#n71
      They work successfully both on x86_64 and aarch64.

      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
            apol Aleix Pol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes