From: Stephane Glondu Date: Tue, 30 Jul 2019 11:12:46 +0000 (+0200) Subject: Disable native compiler on powerpc X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~2^2~17^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ae932ccac5e88cd99b106a65bbda647aa664acd8;p=ocaml.git Disable native compiler on powerpc --- 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