Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
1.8.1
Description
To reproduce the problem, create a helloworld project in QtCreator and select qbs and build system, then select a Boot2Qt kit for crosscompilation, then it gives build error like this on linux:
16:12:52: Running steps for project qbstest...
rcc qml.qrc
compiling qrc_qml.cpp
compiling main.cpp
/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -sysroot=/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi -g -O0 -Wall -Wextra -pipe -fexceptions -fvisibility=default -fPIC -DQT_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QML_LIB -DQT_QUICK_LIB -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5 -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/mkspecs/devices/linux-oe-generic-g++ -I/work6/TestCode/build-qbstest-Boot2Qt_5_8_0_Freescale_SABRE_SD_i_MX6-Debug/qtc_Boot2Qt_5b62cf7d-debug/qbstest.qtc-Boot2Qt5b62cf7d.3036ae09/qt.headers -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtNetwork -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtQml -I/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtQuick -std=c++0x -o /work6/TestCode/build-qbstest-Boot2Qt_5_8_0_Freescale_SABRE_SD_i_MX6-Debug/qtc_Boot2Qt_5b62cf7d-debug/qbstest.qtc-Boot2Qt-5b62cf7d.3036ae09/.obj/3a52ce780950d4d9/main.cpp.o -c /work6/TestCode/qbstest/main.cpp
In file included from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/features.h:392:0,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/c++/5.3.0/arm-poky-linux-gnueabi/bits/os_defines.h:39,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/c+/5.3.0/arm-poky-linux-gnueabi/bits/c+config.h:482,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/c++/5.3.0/type_traits:38,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore/qglobal.h:45,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui/qtguiglobal.h:43,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui/qguiapplication.h:43,
from /home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui/QGuiApplication:1,
from /work6/TestCode/qbstest/main.cpp:1:
/home/kapinter/Qt/5.8/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
compilation terminated.
Process failed with exit code 1.
The following products could not be built for configuration qtc_Boot2Qt__5b62cf7d-debug:
qbstest
Error while building/deploying project qbstest (kit: Boot2Qt 5.8.0 Freescale SABRE SD i.MX6)
When executing step "Qbs Build"
16:12:52: Elapsed time: 00:00.
On windows it gives:
09:13:34: Running steps for project untitled6...
rcc qml.qrc
compiling qrc_qml.cpp
compiling main.cpp
C:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin
/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++.exe
"-sysroot=C:\Qt\5.7\Boot2Qt\imx6qsabresd\toolchain\sysroots\cortexa9hf
vfp-neon-poky-linux-gnueabi" -g -O0 -Wall -Wextra -pipe -fexceptions
"-fvisibility=default" -fPIC -DQT_DEPRECATED_WARNINGS -DQT_CORE_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QML_LIB -DQT_QUICK_LIB
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/include/qt5
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/include/qt5/QtCore
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/lib/mkspecs/devices/linux-oe-generic-g++
-IC:/aaa_megger/Qt_space/Win_Qt/Play/build-untitled6-Boot2Qt_5_7_1_Freescale_S
ABRE_SD_i_MX6-Debug/qtc_Boot2Qt__ff584f73-debug/untitled6.qtc-Boot2Qt--
ff584f73.96ff0d06/qt.headers
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/include/qt5/QtGui
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/include/qt5/QtNetwork
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/include/qt5/QtQml
IC:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots/cortexa9hf-vfp-neon-poky
linux-gnueabi/usr/include/qt5/QtQuick "-std=c++0x" -o
C:/aaa_megger/Qt_space/Win_Qt/Play/build-untitled6-Boot2Qt_5_7_1_Freescale_SAB
RE_SD_i_MX6-Debug/qtc_Boot2Qt__ff584f73-debug/untitled6.qtc-Boot2Qt--
ff584f73.96ff0d06/.obj/3a52ce780950d4d9/main.cpp.o -c
C:/aaa_megger/Qt_space/Win_Qt/Play/untitled6/main.cpp
In file included from C:\Qt\5.7\Boot2Qt\imx6qsabresd\toolchain\sysroots
\cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/features.h:389:0,
from C:\Qt\5.7\Boot2Qt\imx6qsabresd\toolchain\sysroots
\cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/5.2.0/arm-poky-linux-
gnueabi/bits/os_defines.h:39,
from C:\Qt\5.7\Boot2Qt\imx6qsabresd\toolchain\sysroots
\cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/5.2.0/arm-poky-linux-
gnueabi/bits/c++config.h:482,
from C:\Qt\5.7\Boot2Qt\imx6qsabresd\toolchain\sysroots
\cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/5.2.0/cstddef:44,
from C:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots
/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtCore/qglobal.h:45,
from C:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots
/cortexa9hf-vfp-neon-poky-linux-
gnueabi/usr/include/qt5/QtCore/qcoreapplication.h:43,
from C:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots
/cortexa9hf-vfp-neon-poky-linux-
gnueabi/usr/include/qt5/QtGui/qguiapplication.h:43,
from C:/Qt/5.7/Boot2Qt/imx6qsabresd/toolchain/sysroots
/cortexa9hf-vfp-neon-poky-linux-
gnueabi/usr/include/qt5/QtGui/QGuiApplication:1,
from C:/aaa_megger/Qt_space/Win_Qt/Play/untitled6/main.cpp:1:
C:\Qt\5.7\Boot2Qt\imx6qsabresd\toolchain\sysroots\cortexa9hf-vfp-neon-poky-
linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No
such file or directory
compilation terminated.
Process failed with exit code 1.
The following products could not be built for configuration
qtc_Boot2Qt__ff584f73-debug:
untitled6
Error while building/deploying project untitled6 (kit: Boot2Qt 5.7.1 Freescale
SABRE SD i.MX6)
The kit Boot2Qt 5.7.1 Freescale SABRE SD i.MX6 has configuration issues which
might be the root cause for this problem.
When executing step "Qbs Build"