* [PATCH 1/1] gnutls: account for ARM_EABI
@ 2017-01-24 20:09 Joe Slater
2017-01-24 23:23 ` ✗ patchtest: failure for " Patchwork
0 siblings, 1 reply; 2+ messages in thread
From: Joe Slater @ 2017-01-24 20:09 UTC (permalink / raw)
To: openembedded-core
Do not reference unavailable system calls when
building for ARM_EABI.
Signed-off-by: Joe Slater <jslater@windriver.com>
---
meta/recipes-support/gnutls/gnutls/arm_eabi.patch | 19 +++++++++++++++++++
meta/recipes-support/gnutls/gnutls_3.5.7.bb | 1 +
2 files changed, 20 insertions(+)
create mode 100644 meta/recipes-support/gnutls/gnutls/arm_eabi.patch
diff --git a/meta/recipes-support/gnutls/gnutls/arm_eabi.patch b/meta/recipes-support/gnutls/gnutls/arm_eabi.patch
new file mode 100644
index 0000000..8bf06f1
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls/arm_eabi.patch
@@ -0,0 +1,19 @@
+Certain syscall's are not availabe for arm-eabi, so we eliminate
+reference to them.
+
+Upstream-status: pending
+
+Signed-off-by: Joe Slater <jslater@windriver.com>
+
+--- a/tests/seccomp.c
++++ b/tests/seccomp.c
+@@ -49,7 +49,9 @@ int disable_system_calls(void)
+ }
+
+ ADD_SYSCALL(nanosleep, 0);
++#if ! defined(__ARM_EABI__)
+ ADD_SYSCALL(time, 0);
++#endif
+ ADD_SYSCALL(getpid, 0);
+ ADD_SYSCALL(gettimeofday, 0);
+ #if defined(HAVE_CLOCK_GETTIME)
diff --git a/meta/recipes-support/gnutls/gnutls_3.5.7.bb b/meta/recipes-support/gnutls/gnutls_3.5.7.bb
index cf77a20..9508a8e 100644
--- a/meta/recipes-support/gnutls/gnutls_3.5.7.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.5.7.bb
@@ -4,6 +4,7 @@ SRC_URI += "file://correct_rpl_gettimeofday_signature.patch \
file://0001-configure.ac-fix-sed-command.patch \
file://use-pkg-config-to-locate-zlib.patch \
file://0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch \
+ file://arm_eabi.patch \
"
SRC_URI[md5sum] = "08ad2c539bc1d91283f610539deef34e"
SRC_URI[sha256sum] = "60cbfc119e6268cfa38d712621daa473298a0c5b129c0842caec4c1ed4d7861a"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* ✗ patchtest: failure for gnutls: account for ARM_EABI
2017-01-24 20:09 [PATCH 1/1] gnutls: account for ARM_EABI Joe Slater
@ 2017-01-24 23:23 ` Patchwork
0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2017-01-24 23:23 UTC (permalink / raw)
To: Joe Slater; +Cc: openembedded-core
== Series Details ==
Series: gnutls: account for ARM_EABI
Revision: 1
URL : https://patchwork.openembedded.org/series/4945/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:
* Issue Added patch file is missing Upstream-Status in the header [test_upstream_status_presence]
Suggested fix Add Upstream-Status: <status> to the header of meta/recipes-support/gnutls/gnutls/arm_eabi.patch (possible values: Pending, Submitted, Accepted, Backport, Denied, Inappropriate)
If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).
---
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-24 23:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 20:09 [PATCH 1/1] gnutls: account for ARM_EABI Joe Slater
2017-01-24 23:23 ` ✗ patchtest: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox