Hello, I am using mesa in conjunction with meta-qt6 without X11/wayland on an iMX6 with etnaviv.
So in a bbappend I have: PACKAGECONFIG:append = " etnaviv". I use poky with the following DISTRO_FEATURES: DISTRO_FEATURES:remove = "x11 wayland vulkan 3g nfc nfs zeroconf" DISTRO_FEATURES:append = " directfb opengl" Unfortunately, nativesdk-mesa now no longer builds on build via "-c populate_sdk". However, the package for the target still builds. | ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default | | ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support I compared the meson calls on the target and SDK builds: NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms= -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv, virgl -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dopengl=true - Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dglx=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled. .. NOTE: Executing meson -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast, etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled. .. Does anyone have any idea what I could do to get the SDK built? Many greetings, Matthias
log.do_configure.968764
Description: log.do_configure.968764
Build started at 2022-03-15T18:45:07.585380 Main binary: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/nativepython3 Build Options: -Dshared-glapi=enabled -Dgallium-opencl=disabled -Dglx-read-only-text=true -Dplatforms=x11 -Ddri3=disabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,etnaviv -Dllvm=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dvulkan-drivers= -Dgallium-xa=disabled -Dgallium-xvmc=disabled -Dprefix=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/usr -Dbindir=bin -Ddatadir=share -Dincludedir=include -Dinfodir=share/info -Dlibdir=lib -Dlibexecdir=libexec -Dlocalstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/var -Dmandir=share/man -Dsbindir=bin -Dsharedstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/com -Dsysconfdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-sdk-linux/etc -Dbuildtype=plain -Dwrap_mode=nodownload '--cross-file /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/meson.cross' '--native-file /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/meson.native' Python system: Linux The Meson build system Version: 0.61.2 Source dir: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/mesa-22.0.0 Build dir: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build Build type: cross build Program python3 found: YES (/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3) Running command: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 bin/meson_get_version.py --- stdout --- 22.0.0 --- stderr --- Project name: mesa Project version: 22.0.0 Sanity testing C compiler: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot Is cross compiler: True. Sanity check compiler command line: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot sanitycheckc.c -o sanitycheckc_cross.exe -O2 -pipe -fmacro-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native= -D_FILE_OFFSET_BITS=64 -c Sanity check compile stdout: ----- Sanity check compile stderr: ----- C compiler for the host machine: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot (gcc 11.2.0 "x86_64-sdk-linux-gcc (GCC) 11.2.0") C linker for the host machine: x86_64-sdk-linux-gcc --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot ld.bfd 2.38.20220313 Sanity testing C++ compiler: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot Is cross compiler: True. Sanity check compiler command line: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot sanitycheckcpp.cc -o sanitycheckcpp_cross.exe -O2 -pipe -fmacro-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0=/usr/src/debug/nativesdk-mesa/2_22.0.0-r0 -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native= -D_FILE_OFFSET_BITS=64 -c Sanity check compile stdout: ----- Sanity check compile stderr: ----- C++ compiler for the host machine: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot (gcc 11.2.0 "x86_64-sdk-linux-g++ (GCC) 11.2.0") C++ linker for the host machine: x86_64-sdk-linux-g++ --sysroot=/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot ld.bfd 2.38.20220313 Sanity testing C compiler: gcc Is cross compiler: False. Sanity check compiler command line: gcc sanitycheckc.c -o sanitycheckc.exe -isystem/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_FILE_OFFSET_BITS=64 -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/mak/yocto-bekolog-tx6/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build/meson-private/sanitycheckc.exe C compiler for the build machine: gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: gcc ld.bfd 2.35.2 Sanity testing C++ compiler: g++ Is cross compiler: False. Sanity check compiler command line: g++ sanitycheckcpp.cc -o sanitycheckcpp.exe -isystem/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -D_FILE_OFFSET_BITS=64 -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -L/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/mak/yocto-bekolog-tx6/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/mak/yocto-bekolog-tx6/build/tmp/work/x86_64-nativesdk-sdk-linux/nativesdk-mesa/2_22.0.0-r0/build/meson-private/sanitycheckcpp.exe C++ compiler for the build machine: g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110") C++ linker for the build machine: g++ ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 ../mesa-22.0.0/meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default ../mesa-22.0.0/meson.build:614:2: ERROR: Problem encountered: kmsro requires dri3 for X11 support
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#163323): https://lists.openembedded.org/g/openembedded-core/message/163323 Mute This Topic: https://lists.openembedded.org/mt/89817006/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
