Disable native compiler on powerpc
authorStephane Glondu <steph@glondu.net>
Tue, 30 Jul 2019 11:12:46 +0000 (13:12 +0200)
committerStephane Glondu <Stéphane Glondu glondu@debian.org>
Tue, 30 Jul 2019 11:20:30 +0000 (13:20 +0200)
debian/native-archs
debian/rules

index 6b492b0638364b661e7fcc3df52f186646aa2de4..1c9dfd58cc70b45cd9c38abe417188c6b5b5630d 100644 (file)
@@ -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
index 479fcac52b7250a9426026cd1e3b620023ccd39c..fdf8616e1e3b6fb8de51239ad82935ee8feb23c6 100755 (executable)
@@ -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