-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.10.0
-
None
When cross-compiling pyside6 in Yocto and using clang instead GCC compiler, following failure occurs:
FAILED: [code=1] PySide6/QtConcurrent/mjb_rejected_classes.log PySide6/QtConcurrent/PySide6/QtConcurrent/qtconcurrent_wrapper.cpp PySide6/QtConcurrent/PySide6/QtConcurrent/qfuturevoid_wrapper.cpp PySide6/QtConcurrent/PySide6/QtConcurrent/qfutureqstring_wrapper.cpp PySide6/QtConcurrent/PySide6/QtConcurrent/qfuturewatchervoid_wrapper.cpp PySide6/QtConcurrent/PySide6/QtConcurrent/qfuturewatcherqstring_wrapper.cpp PySide6/QtConcurrent/PySide6/QtConcurrent/qtconcurrent_module_wrapper.cpp /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/mjb_rejected_classes.log /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/PySide6/QtConcurrent/qtconcurrent_wrapper.cpp /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/PySide6/QtConcurrent/qfuturevoid_wrapper.cpp /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/PySide6/QtConcurrent/qfutureqstring_wrapper.cpp /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/PySide6/QtConcurrent/qfuturewatchervoid_wrapper.cpp /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/PySide6/QtConcurrent/qfuturewatcherqstring_wrapper.cpp /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent/PySide6/QtConcurrent/qtconcurrent_module_wrapper.cpp cd /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/sources/python3-pyside6-6.10.1/sources/pyside6/PySide6/QtConcurrent && /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/.qfp/bin/shiboken_wrapper.sh /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot-native/usr/bin/shiboken6 \ \ \ \ \ \ \ \ --clang-options=--sysroot=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot,--target=aarch64-poky-linux,,-mcpu=cortex-a57+crc,-mbranch-protection=standard,,--dyld-prefix=/usr,-fstack-protector-strong,,-O2,-D_FORTIFY_SOURCE=2,-Wformat,-Wformat-security,-Werror=format-security,\ \ \ \ \ \ \ \ \ --compiler-path=aarch64-poky-linux-clang++ --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb-bool --include-paths=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/sources/python3-pyside6-6.10.1/sources/pyside6/PySide6:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/lib/mkspecs/linux-clang:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/include:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/include/QtCore --force-process-system-include-paths=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/lib/mkspecs/linux-clang:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/include:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/include/QtCore:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/include --typesystem-paths=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/sources/python3-pyside6-6.10.1/sources/pyside6/PySide6:/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/sources/python3-pyside6-6.10.1/sources/pyside6/PySide6/QtConcurrent --output-directory=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent --license-file=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/sources/python3-pyside6-6.10.1/sources/pyside6/PySide6/QtConcurrent/../licensecomment.txt --lean-headers --api-version=6.10.1 --platform=Linux --arch=aarch64 --compiler-path=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang++ /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/build/PySide6/QtConcurrent_global.h /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/sources/python3-pyside6-6.10.1/sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.10.1/recipe-sysroot/usr/include/QtCore/qglobal.h:13:12: fatal error: 'type_traits' file not found qt.shiboken: (concurrent) CLANG v0.64 targeting "aarch64-poky-linux"/clang, 64bit, (cross build).
This points to similar failure with GCC PYSIDE-1012
I can workaround this issue by adding
-DSHIBOKEN_GENERATOR_EXTRA_FLAGS=--compiler=gnu
- relates to
-
PYSIDE-1012 cent OS/conda forge: fatal error: 'type_traits' file not found
-
- Closed
-
-
PYSIDE-3105 Adapt shiboken generator for cross builds
-
- Closed
-
| For Gerrit Dashboard: PYSIDE-3235 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 691260,1 | shiboken6: Output the host OS in mjb_shiboken.log | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
| 691300,3 | Extend target triplet test by aarch64-poky-linux | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
| 691307,2 | WIP: Fix cross compilers outputting include path not under sysroot | dev | pyside/pyside-setup | Status: NEW | -2 | 0 |
| 691310,1 | WIP: shiboken6/compilersupport: Remove option -nostdinc | dev | pyside/pyside-setup | Status: NEW | -2 | +1 |