Skip to content

AArch64 Build error for tls-1.6.0

Summary

When compiling the tls-1.6.0 package, GHC fails with the following error:

tls> /private/tmp/nix-build-tls-1.6.0.drv-1/ghc53769_0/ghc_351.s:9569416:2: error:
tls>      error: fixup value out of range
tls>             b.eq Ls5Ogb
tls>             ^
tls>         |
tls> 9569416 |         b.eq Ls5Ogb

The package compiles fine on non-M1 computers.

Steps to reproduce

Compile the tls-1.6.0 package on a M1 computer.

Expected behavior

It compiles without errors

Environment

  • GHC version used: 9.6.2, 9.6.3

Optional:

  • Operating System: macOS
  • System Architecture: AArch64 / M1 mac
Edited by Marc Scholten
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information