Skip to content

[haskell-updates] Packages fail with a linker error on darwin #152859

@veprbl

Description

@veprbl

Several Haskell packages fail with

ld: in /nix/store/dm5wmj1k92jxs6w78548x648nn5gyfds-http-client-tls-0.3.5.3/lib/ghc-8.10.7/x86_64-osx-ghc-8.10.7/http-client-tls-0.3.5.3-3jOEYa4lgKaExeUduTGzPs/libHShttp-client-tls-0.3.5.3-3jOEYa4lgKaExeUduTGzPs.a(TLS.o), in section __TEXT,__text reloc 505: X86_64_RELOC_UNSIGNED following a X86_64_RELOC_SUBTRACTOR must have same r_length
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)

examples:

Bisecting points to a3b6030 as the first bad commit

Also see #152408 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: darwinRunning or building packages on Darwin6.topic: haskellGeneral-purpose, statically typed, purely functional programming language

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions