From 0231acb556e4e0510316a399dd45c590f9959109 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Wed, 4 Sep 2024 15:13:23 +0200 Subject: [PATCH] * Use -mxgot on mips64el. * Disable tests on mips64el, they do timeout. --- debian/changelog | 2 ++ debian/rules | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b2f46add..bb69281d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ llvm-toolchain-19 (1:19.1.0~++rc4-2) UNRELEASED; urgency=medium * Disable z3 again for Ubuntu, and make the libz3-dev (build) dependency conditional. + * Use -mxgot on mips64el. + * Disable tests on mips64el, they do timeout. -- Matthias Klose Wed, 04 Sep 2024 11:52:22 +0200 diff --git a/debian/rules b/debian/rules index ff43ef4c..1631fd9a 100755 --- a/debian/rules +++ b/debian/rules @@ -262,6 +262,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips64el)) # avoid an issue with search path on mips64el # https://bugs.llvm.org/show_bug.cgi?id=41204 STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=mips64el-linux-gnuabi64 + CFLAGS_EXTRA += -mxgot + CXXFLAGS_EXTRA += -mxgot endif ifneq (,$(filter $(DEB_HOST_ARCH),powerpc)) @@ -442,7 +444,7 @@ endif endif # llvm tests timeout, disable it on mipsel and x32 -ifneq (,$(filter $(DEB_HOST_ARCH), mipsel x32)) +ifneq (,$(filter $(DEB_HOST_ARCH), mipsel mips64el x32)) RUN_TEST=no endif