qemu: exclude some ARM EABI obsolete syscalls
authorRoy.Li <rongqing.li@windriver.com>
Mon, 23 Jun 2014 06:28:30 +0000 (14:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Jul 2014 11:28:51 +0000 (12:28 +0100)
commitfbf34de91fa4e6432c2f130b0b1a1bd1cf0feb74
treebac49f4613bdc08554619a4121dbeea68551241f
parent1a69bf40b7f451a135d5929fbf9b5f0eaeff9a0f
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>
meta/recipes-devtools/qemu/files/exclude-some-arm-EABI-obsolete-syscalls.patch [new file with mode: 0644]
meta/recipes-devtools/qemu/qemu.inc