Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot build boot2qt 6.5.2 Unsupported ELF machine 183
Forum Update on Monday, May 27th 2025

Cannot build boot2qt 6.5.2 Unsupported ELF machine 183

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 477 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kamilosxd678
    wrote on last edited by kamilosxd678
    #1

    Hi,

    I am trying to build boot2qt for RaspberryPi4 64bit, yet I cannot build QtWebEngine recipe (nor b2qt-embedded-qt6-image as it includes webengine). I follow https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html

    | FAILED: yocto_native/transport_security_state_generator
    | /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/bin/python3-native/python3 "../../../../../git/src/3rdparty/chromium/build/toolchain/gcc_link_wrapper.py" --output="yocto_native/transport_security_state_generator" -- g++  -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -fuse-ld=gold -m64 -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl,-z,defs -Wl,--as-needed -pie -Wl,--disable-new-dtags -L/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot/usr/lib -L/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/lib                         -L/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o "yocto_native/transport_security_state_generator" -Wl,--start-group @"yocto_native/transport_security_state_generator.rsp"  -Wl,--end-group  -ldl -lpthread -lrt -lsmime3 -lnss3 -lsoftokn3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lz
    | /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/hosttools/ld.gold: fatal error: /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot/usr/lib/libpthread.so: unsupported ELF machine number 183
    | collect2: error: ld returned 1 exit status
    | [10/10230] LINK yocto_native/root_store_tool
    | FAILED: yocto_native/root_store_tool
    | /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/bin/python3-native/python3 "../../../../../git/src/3rdparty/chromium/build/toolchain/gcc_link_wrapper.py" --output="yocto_native/root_store_tool" -- g++  -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -fuse-ld=gold -m64 -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl,-z,defs -Wl,--as-needed -pie -Wl,--disable-new-dtags -L/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot/usr/lib -L/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/lib                         -L/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o "yocto_native/root_store_tool" -Wl,--start-group @"yocto_native/root_store_tool.rsp"  -Wl,--end-group  -ldl -lpthread -lrt -lsmime3 -lnss3 -lsoftokn3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lz
    | /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/hosttools/ld.gold: fatal error: /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot/usr/lib/libpthread.so: unsupported ELF machine number 183
    | collect2: error: ld returned 1 exit status
    | [11/10230] CXX obj/v8/v8_snapshot/v8_snapshot_jumbo_1.o
    | ninja: build stopped: subcommand failed.
    | FAILED: src/core/Release/aarch64/QtWebEngineCore.stamp src/core/Release/aarch64/QtWebEngineCore /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/build/src/core/Release/aarch64/QtWebEngineCore.stamp /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/build/src/core/Release/aarch64/QtWebEngineCore
    | cd /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/build/src/core && /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/recipe-sysroot-native/usr/bin/ninja -C /home/kamilos/repos/Qt_CrossCompile/b2qt6/build-raspberrypi3-64/tmp/work/cortexa53-poky-linux/qtwebengine/6.5.2-r0/build/src/core/Release/aarch64 QtWebEngineCore
    | ninja: build stopped: subcommand failed.
    | WARNING: exit code 1 from a shell command.
    ERROR: Task (/home/kamilos/repos/Qt_CrossCompile/b2qt6/sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb:do_compile) failed with exit code '1'
    

    I have this error for both RaspberryPi 3 and 4 (and both 32bit and 64bit) - but for 32bit the code is 40 instead of 183

    1 Reply Last reply
    0
    • S Offline
      S Offline
      soufb63O
      wrote on last edited by
      #2

      Hello kamilosxd678 did you find any solution for this problem ?
      I'm facing the same issue with qtwebengine do-compile task it keeps crashing !

      K 1 Reply Last reply
      0
      • S soufb63O

        Hello kamilosxd678 did you find any solution for this problem ?
        I'm facing the same issue with qtwebengine do-compile task it keeps crashing !

        K Offline
        K Offline
        kamilosxd678
        wrote on last edited by
        #3

        @soufb63O unfortunately not. I just abandoned this idea

        1 Reply Last reply
        0
        • N Offline
          N Offline
          Nobuddy
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved