From 1340b0b5e6849f3deb6d332717ae31d42696d8ff Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Thu, 12 Dec 2024 10:44:44 +1300 Subject: [PATCH] Disable failing GHC 9.8.4 aarch64 cross compile TH test --- test/th-dlls/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/th-dlls/default.nix b/test/th-dlls/default.nix index be6343552..9e2ac540a 100644 --- a/test/th-dlls/default.nix +++ b/test/th-dlls/default.nix @@ -22,6 +22,11 @@ in recurseIntoAttrs { meta.disabled = stdenv.hostPlatform.isGhcjs # On aarch64 this test also breaks form musl builds (including cross compiles on x86_64-linux) || (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl) + # On for aarch64 cross compile on GHC 9.8.4 this test is fails sometimes for non profiled builds + # (and always for the profiled builds). + # This may be related to the memory allocation changes made in 9.8.4 that + # replace the pool allocator patches we used in earlier versions. + || (compiler-nix-name == "ghc984" && stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64) # Failed to lookup symbol: __aarch64_swp8_acq_rel || (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64) # We have been unable to get windows cross compilation of th-orphans to work for GHC 8.10 using the latest nixpkgs