summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu_3.0.0.bb
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-10-05 21:30:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-10 16:52:30 +0100
commitf3a4b208500790f2163dab3fefc8f18b57d37621 (patch)
treeb3e34a58ddf84f90cd6044408de390122c3b183f /meta/recipes-devtools/qemu/qemu_3.0.0.bb
parent93cde0830101b26e598f7366fbaccb3f493d1f7f (diff)
downloadpoky-f3a4b208500790f2163dab3fefc8f18b57d37621.tar.gz
qemu: fix build issue on new hosts with glibc 2.30
This fixes the following error: TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration 254 | _syscall0(int, gettid) | ^~~~~~ TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’ 185 | static type name (void) \ | ^~~~ In file included from /usr/include/unistd.h:1170, from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90, from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ (From OE-Core rev: 5b5ca76cc5dd424248c7e687e562597a2c85df57) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_3.0.0.bb')
-rw-r--r--meta/recipes-devtools/qemu/qemu_3.0.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_3.0.0.bb b/meta/recipes-devtools/qemu/qemu_3.0.0.bb
index 6c3049b40e..e483acab55 100644
--- a/meta/recipes-devtools/qemu/qemu_3.0.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_3.0.0.bb
@@ -40,6 +40,8 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
40 file://CVE-2019-3812.patch \ 40 file://CVE-2019-3812.patch \
41 file://CVE-2019-6778.patch \ 41 file://CVE-2019-6778.patch \
42 file://CVE-2019-8934.patch \ 42 file://CVE-2019-8934.patch \
43 file://0001-linux-user-assume-__NR_gettid-always-exists.patch \
44 file://0001-linux-user-rename-gettid-to-sys_gettid-to-avoid-clas.patch \
43 " 45 "
44UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" 46UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
45 47