On Thu, 7 May 2026 at 22:29, Quan Sun <[email protected]> wrote:
> When these subprojects are built standalone (outside the main QEMU meson > project), they fail to compile because they cannot find headers from the > top-level QEMU source tree (e.g. include/standard-headers/ or root-level > headers). In a normal upstream build, the parent project provides these > paths implicitly. OE's build environment triggers standalone subproject > builds, requiring explicit include paths. I'm afraid I don't understand, and I can't reproduce the issue. I deleted this patch from SRC_URI, and qemu-native, qemu-system-native and qemu (target) still build just fine. What kind of error are you observing? How can it be reproduced? What exactly triggers the 'standalone build' and how does it look like compared to 'normal upstream build'? What I see is that qemu recipe just runs the top level qemu meson build, and these are built as regular subprojects of it: log.do_configure: Executing subproject libvduse libvduse| Project name: libvduse libvduse| Project version: undefined libvduse| C compiler for the host machine: x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/srv/storage/alex/yocto/build-64-alt/tmp/work/x86-64-v3-poky-linux/qemu/11.0.0/recipe-sysroot -m64 (gcc 15.2.0 "x86_64-poky-linux-gcc (GCC) 15.2.0") libvduse| C linker for the host machine: x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/srv/storage/alex/yocto/build-64-alt/tmp/work/x86-64-v3-poky-linux/qemu/11.0.0/recipe-sysroot -m64 ld.bfd 2.46 libvduse| C compiler for the build machine: gcc (gcc 14.2.0 "gcc (Debian 14.2.0-19) 14.2.0") libvduse| C linker for the build machine: gcc ld.bfd 2.44 libvduse| Compiler for C supports arguments -Wsign-compare: YES (cached) libvduse| Compiler for C supports arguments -Wdeclaration-after-statement: YES (cached) libvduse| Compiler for C supports arguments -Wstrict-aliasing: YES (cached) libvduse| Build targets in project: 5 libvduse| Subproject libvduse finished. log.do_compile: [744/5268] Compiling C object subprojects/libvduse/libvduse.a.p/libvduse.c.o ... [817/5268] Linking static target subprojects/libvduse/libvduse.a Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#236737): https://lists.openembedded.org/g/openembedded-core/message/236737 Mute This Topic: https://lists.openembedded.org/mt/119154124/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
