From ae932ccac5e88cd99b106a65bbda647aa664acd8 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Tue, 30 Jul 2019 13:12:46 +0200 Subject: [PATCH] Disable native compiler on powerpc --- debian/native-archs | 2 +- debian/rules | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/native-archs b/debian/native-archs index 6b492b06..1c9dfd58 100644 --- a/debian/native-archs +++ b/debian/native-archs @@ -1 +1 @@ -amd64 arm64 armhf hurd-i386 i386 kfreebsd-i386 kfreebsd-amd64 lpia powerpc ppc64 ppc64el sparc s390x +amd64 arm64 armhf hurd-i386 i386 kfreebsd-i386 kfreebsd-amd64 lpia ppc64 ppc64el sparc s390x diff --git a/debian/rules b/debian/rules index 479fcac5..fdf8616e 100755 --- a/debian/rules +++ b/debian/rules @@ -62,7 +62,8 @@ CONFIGURE_OPTS := \ # Upstream recommends dropping support on armel, see https://github.com/ocaml/ocaml/issues/7642 # Binaries generated by ocamlopt segfault on x32 -ifneq (,$(filter $(DEB_HOST_ARCH),armel x32)) +# ld reports spurious messages on powerpc, see https://github.com/ocaml/ocaml/issues/8846 +ifneq (,$(filter $(DEB_HOST_ARCH),armel powerpc x32)) CONFIGURE_OPTS += --disable-native-compiler endif -- 2.30.2