Skip to content

Commit 79b6a6d

Browse files
committed
There is still an issue with cross compiling (not C++ related)
1 parent 9150701 commit 79b6a6d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/th-dlls/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ let
2020

2121
in recurseIntoAttrs {
2222
meta.disabled = stdenv.hostPlatform.isGhcjs
23+
# On aarch64 this test breaks form musl cross compiles on x86_64-linux
24+
# Error is:
25+
# iserv-proxy-interpreter: internal error: 0x0 address for .LANCHOR1 + 0 of type 562
26+
# in tmp/nix/store/kgprix3jn2w320flxpf7yr29f7dczykr-libsodium-aarch64-unknown-linux-musl-1.0.18/lib/libsodium.a
27+
# (#103:librdrand_la-randombytes_internal_random.o) for relocation 4 in section 1 of kind: 0
28+
|| (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl && !stdenv.builtPlatform.isAarch64)
2329
# Not sure why this is failing with a seg fault
2430
|| (builtins.elem compiler-nix-name ["ghc9102" "ghc9102llvm"] && stdenv.hostPlatform.isAndroid && stdenv.hostPlatform.isAarch32)
2531
# unhandled ELF relocation(Rel) type 10

0 commit comments

Comments
 (0)