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

Qemumips64 fails to build qtbase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.3
    • Coin Configuration
    • None
    • Linux/Yocto

    Description

      When trying to build toolchain for qemu using the qemumips64 as target, Qtbase fails to build.

      Full error log here:
      http://qt-pkg.ci.qt.io/view/B2Qt/job/B2Qt_Yocto/15129/cfg=linux-g++-Ubuntu20.04-x64/consoleFull

       

      Looking at the linker strings, it would seem something goes wrong in generating them for 2 parts of it, see snippet of log below. 

       

      I realize the broken part is a little hard to find from that, so here's the exact 4 lines that are broken (in error log find task 173/1427).

      *15:01:42* | [173/1427] : && /home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native/usr/bin/mips64-poky-linux/mips64-poky-linux-g++ meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -DNDEBUG -O2 -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -Wl,-O1 -Wl,hash-style=gnu -Wl,as-needed -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,hash-style=gnu -Wl,as-needed -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,gc-sections -fuse-ld=gold src/tools/tracegen/CMakeFiles/tracegen_native.dir/etw.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/helpers.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/lttng.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/panic.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/provider.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/qtheaders.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/tracegen.cpp.o -o libexec/tracegen -Wl,-rpath,:::::::::::::: src/tools/bootstrap/libBootstrap.a && :
      *15:01:42* | FAILED: libexec/tracegen
      *15:01:42* | : && /home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native/usr/bin/mips64-poky-linux/mips64-poky-linux-g++ -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -DNDEBUG -O2 -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -meb -mabi=64 -mhard-float -march=mips64r2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wdate-time --sysroot=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot -Wl,-O1 -Wl,hash-style=gnu -Wl,as-needed -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,hash-style=gnu -Wl,as-needed -fmacro-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0=/usr/src/debug/qtbase/6.3.0-r0 -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/qt/work/build/tmp/work/mips64r2-poky-linux/qtbase/6.3.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-gc-sections -fuse-ld=gold src/tools/tracegen/CMakeFiles/tracegen_native.dir/etw.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/helpers.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/lttng.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/panic.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/provider.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/qtheaders.cpp.o src/tools/tracegen/CMakeFiles/tracegen_native.dir/tracegen.cpp.o -o libexec/tracegen -Wl,-rpath,:::::::::::::: src/tools/bootstrap/libBootstrap.a && :
      *15:01:42* | collect2: fatal error: cannot find 'ld'
      *15:01:42* | compilation terminated.
      

      Attachments

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

        Activity

          People

            tosaraja Tony Sarajärvi
            feilz Dan Ackers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes