[OE-core] [PATCH v2 0/4] Make qemu.inc useful for generic use

Martin Jansa martin.jansa at gmail.com
Tue Feb 21 17:25:46 UTC 2017


It's not caused by these changes, but also probably not fixed by these
changes, so this is just FYI

Currently qemu-native fails to build on hosts with glibc-2.25:

| qga/commands-posix.o: In function `dev_major_minor':
|
/OE/build/owpb/webos-ports/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/qga/commands-posix.c:656:
undefined reference to `major'
|
/OE/build/owpb/webos-ports/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/qga/commands-posix.c:657:
undefined reference to `minor'
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:322: qemu-ga] Error 1

linux-user/strace.o: In function `print_mknodat':
/OE/build/owpb/webos-ports/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/linux-user/strace.c:2010:
undefined reference to `major'
/OE/build/owpb/webos-ports/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/linux-user/strace.c:2011:
undefined reference to `minor'
linux-user/strace.o: In function `print_mknod':
/OE/build/owpb/webos-ports/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/linux-user/strace.c:1990:
undefined reference to `major'
/OE/build/owpb/webos-ports/tmp-glibc/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/linux-user/strace.c:1991:
undefined reference to `minor'
collect2: error: ld returned 1 exit status

Including sys/sysmacros in these files works, there is a patch in review
upstream with proper fix:

https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg03548.html


On Tue, Feb 21, 2017 at 2:12 PM, Nathan Rossi <nathan at nathanrossi.com>
wrote:

> This series is intended to make the qemu.inc more generic and useful for
> other recipes to use. This is achieved by moving version specific
> patches, task steps and ptest support into the qemu_*.bb recipe,
> additionally improvements are made to the PACKAGECONFIG options and
> changes to the configure step are made to allow for the configuration to
> be more complete as well as easier to override/modify.
> ---
> Changes in v2:
>  * Rebased on top of current master
>  * Updated changes for QEMU 2.8.0 recipe
>
>
> Nathan Rossi (4):
>   qemu: Improve and add PACKAGECONFIG options
>   qemu: Consolidate EXTRA_OECONF
>   qemu: Convert KVMOPTS to PACKAGECONFIG
>   qemu: Move recipe version specific patches and features to recipe
>
>  meta/recipes-devtools/qemu/qemu.inc      | 84
> +++++++++++++-------------------
>  meta/recipes-devtools/qemu/qemu_2.8.0.bb | 33 ++++++++++++-
>  2 files changed, 65 insertions(+), 52 deletions(-)
>
> --
> 2.11.0
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170221/906a2c48/attachment-0002.html>


More information about the Openembedded-core mailing list