diff options
author | Roy.Li <rongqing.li@windriver.com> | 2014-06-23 14:28:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-17 12:28:51 +0100 |
commit | 58e3c4d56be159fe8dedd398527caf625458f380 (patch) | |
tree | bfcd058c361db5816882960697838b1e9db01473 /meta/recipes-devtools/qemu/qemu.inc | |
parent | 97899bc908a421295d814801ff86edeb9304d2fd (diff) | |
download | poky-58e3c4d56be159fe8dedd398527caf625458f380.tar.gz |
qemu: exclude some ARM EABI obsolete syscalls
some syscalls are obsolete and no longer available for EABI, exclude them to
fix the below error:
In file included from qemu-seccomp.c:16:0:
qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function)
{ SCMP_SYS(select), 252 },
^
qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function)
{ SCMP_SYS(mmap), 247 },
^
qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function)
{ SCMP_SYS(getrlimit), 245 },
^
qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function)
{ SCMP_SYS(time), 245 },
^
qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function)
{ SCMP_SYS(alarm), 241 },
please refer source files:
arch/arm/include/uapi/asm/unistd.h
or kernel header:
/usr/include/asm/unistd.h
(From OE-Core rev: 49257247fdc57e9296520bbd598fd8cbf425d44a)
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 611ee61beb..ccd7908bc5 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -20,6 +20,7 @@ SRC_URI = "\ | |||
20 | file://no-strip.patch \ | 20 | file://no-strip.patch \ |
21 | file://larger_default_ram_size.patch \ | 21 | file://larger_default_ram_size.patch \ |
22 | file://disable-grabs.patch \ | 22 | file://disable-grabs.patch \ |
23 | file://exclude-some-arm-EABI-obsolete-syscalls.patch \ | ||
23 | " | 24 | " |
24 | 25 | ||
25 | SRC_URI_append_class-native = "\ | 26 | SRC_URI_append_class-native = "\ |