From: Debian Haskell Group Date: Thu, 28 Feb 2019 14:18:49 +0000 (+0000) Subject: x32-use-native-x86_64-insn X-Git-Tag: archive/raspbian/8.4.4+dfsg1-2+rpi1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec7b55c11e9967a1a24655a59253eb62872b9148;p=ghc.git x32-use-native-x86_64-insn Gbp-Pq: Name x32-use-native-x86_64-insn.patch --- diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 2ea6713e..557766ea 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -919,7 +919,7 @@ // 64-bit support functions in libgcc.a -#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) +#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) && !(defined(__x86_64__) && defined(__ILP32__)) #define RTS_LIBGCC_SYMBOLS \ SymI_NeedsProto(__divdi3) \ SymI_NeedsProto(__udivdi3) \