On Tue, Mar 8, 2022 at 10:38 PM Alexander Kanavin <[email protected]> wrote: > > Also, what error specifically are you seeing? How is your build set up? >
There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to EGL_NO_X11 from mesa/khronos headers, however this define is relatively new and 3D stacks do not have this adopted but apps like qemu and bunch of others depend on it, I guess they assume mesa. One can argue that its better to fix the 3D stacks to behave like mesa but this means every BSP using these stacks will need to carry such a fix. https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h > Alex > > On Wed 9. Mar 2022 at 7.11, Alexander Kanavin via lists.openembedded.org > <[email protected]> wrote: >> >> Why is this issue not seen on autobuilder’s no-x11 job? >> >> Alex >> >> On Wed 9. Mar 2022 at 2.18, Khem Raj <[email protected]> wrote: >>> >>> Signed-off-by: Khem Raj <[email protected]> >>> --- >>> meta/recipes-devtools/qemu/qemu_6.2.0.bb | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/meta/recipes-devtools/qemu/qemu_6.2.0.bb >>> b/meta/recipes-devtools/qemu/qemu_6.2.0.bb >>> index 062ed32b015..c7eef0a9d5e 100644 >>> --- a/meta/recipes-devtools/qemu/qemu_6.2.0.bb >>> +++ b/meta/recipes-devtools/qemu/qemu_6.2.0.bb >>> @@ -6,6 +6,8 @@ DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native >>> meson-native" >>> >>> DEPENDS:append:libc-musl = " libucontext" >>> >>> +CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', >>> '-DEGL_NO_X11=1', d)}" >>> + >>> RDEPENDS:${PN}:class-target += "bash" >>> >>> EXTRA_OECONF:append:class-target = " >>> --target-list=${@get_qemu_target_list(d)}" >>> -- >>> 2.35.1 >>> >>> >>> >>> >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#162974): https://lists.openembedded.org/g/openembedded-core/message/162974 Mute This Topic: https://lists.openembedded.org/mt/89652908/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
