<div dir="ltr"><div>It's not caused by these changes, but also probably not fixed by these changes, so this is just FYI</div><div><br></div><div>Currently qemu-native fails to build on hosts with glibc-2.25:</div><div><br></div><div>| qga/commands-posix.o: In function `dev_major_minor':</div><div>| /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'</div><div>| /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'</div><div>| collect2: error: ld returned 1 exit status</div><div>| make: *** [Makefile:322: qemu-ga] Error 1</div><div><br></div><div><div>linux-user/strace.o: In function `print_mknodat':</div><div>/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'</div><div>/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'</div><div>linux-user/strace.o: In function `print_mknod':</div><div>/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'</div><div>/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'</div><div>collect2: error: ld returned 1 exit status</div></div><div><br></div><div>Including sys/sysmacros in these files works, there is a patch in review upstream with proper fix:</div><div><br></div><div><a href="https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg03548.html">https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg03548.html</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 2:12 PM, Nathan Rossi <span dir="ltr"><<a href="mailto:nathan@nathanrossi.com" target="_blank">nathan@nathanrossi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This series is intended to make the qemu.inc more generic and useful for<br>
other recipes to use. This is achieved by moving version specific<br>
patches, task steps and ptest support into the qemu_*.bb recipe,<br>
additionally improvements are made to the PACKAGECONFIG options and<br>
changes to the configure step are made to allow for the configuration to<br>
be more complete as well as easier to override/modify.<br>
---<br>
Changes in v2:<br>
* Rebased on top of current master<br>
* Updated changes for QEMU 2.8.0 recipe<br>
<br>
<br>
Nathan Rossi (4):<br>
qemu: Improve and add PACKAGECONFIG options<br>
qemu: Consolidate EXTRA_OECONF<br>
qemu: Convert KVMOPTS to PACKAGECONFIG<br>
qemu: Move recipe version specific patches and features to recipe<br>
<br>
meta/recipes-devtools/qemu/<wbr>qemu.inc | 84 +++++++++++++-----------------<wbr>--<br>
meta/recipes-devtools/qemu/<a href="http://qemu_2.8.0.bb" rel="noreferrer" target="_blank">qem<wbr>u_2.8.0.bb</a> | 33 ++++++++++++-<br>
2 files changed, 65 insertions(+), 52 deletions(-)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.11.0<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>