Skip to content

Commit de27fe3

Browse files
committed
Disable musl32 tests (unhandled ELF relocation(Rel) type 10)
1 parent 540b8a2 commit de27fe3

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

test/annotations/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ let
1111
in recurseIntoAttrs {
1212
meta.disabled = stdenv.hostPlatform.isGhcjs
1313
# Failed to lookup symbol: __aarch64_swp8_acq_rel
14-
|| (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64);
14+
|| (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64)
15+
# unhandled ELF relocation(Rel) type 10
16+
|| (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32);
1517
ifdInputs = {
1618
inherit (project) plan-nix;
1719
};

test/js-template-haskell/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ in recurseIntoAttrs {
2424
};
2525

2626
meta.disabled = stdenv.buildPlatform != stdenv.hostPlatform && stdenv.hostPlatform.isAarch64
27-
|| builtins.elem compiler-nix-name ["ghc91320241204"];
27+
|| builtins.elem compiler-nix-name ["ghc91320241204"]
28+
# unhandled ELF relocation(Rel) type 10
29+
|| (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32);
2830

2931
build = packages.js-template-haskell.components.library;
3032
check = packages.js-template-haskell.checks.test;

test/th-dlls/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ in recurseIntoAttrs {
2626
|| (builtins.elem compiler-nix-name ["ghc947" "ghc948"] && haskellLib.isCrossHost && stdenv.hostPlatform.isAarch64)
2727
# We have been unable to get windows cross compilation of th-orphans to work for GHC 8.10 using the latest nixpkgs
2828
|| (compiler-nix-name == "ghc8107" && stdenv.hostPlatform.isWindows)
29+
# unhandled ELF relocation(Rel) type 10
30+
|| (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_32)
2931
;
3032

3133
ifdInputs = {

0 commit comments

Comments
 (0)