[Buildroot] [PATCH] tor: disable unit-tests for aarch64

Waldemar Brodkorb wbx at openadk.org
Mon Mar 7 03:27:31 UTC 2016


Fixes following autobuild failure:
http://autobuild.buildroot.net/results/13ef47c962afefbaa9ea7a95de083f885f1a8825/

There still might be a bug outside the unit-test.

Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>

---
Bug reported upstream:
https://trac.torproject.org/projects/tor/ticket/18490

---
 package/tor/tor.mk |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/tor/tor.mk b/package/tor/tor.mk
index f6874a6..efd0d8d 100644
--- a/package/tor/tor.mk
+++ b/package/tor/tor.mk
@@ -32,6 +32,12 @@ else
 TOR_CONF_OPTS += --disable-seccomp
 endif
 
+# aarch64 toolchain triggers a code problem, message is misleading
+# relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against symbol
+ifeq ($(BR2_aarch64),y)
+TOR_CONF_OPTS += --disable-unittests
+endif
+
 # uses gnu extensions
 TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
 
-- 
1.7.10.4



More information about the buildroot mailing list