Skip to content
Snippets Groups Projects
Ben Gamari's avatar
Ben Gamari authored
`musl` defines the `environ` symbol as a weak alias, which on AArch64
requires particular treatment by the compiler. As GHC doesn't have
access to the prototype of the symbol, it doesn't know that this
treatment is necessary and consequently we emit assembly that the linker
will choke on.

See GHC #24011.
d63e6b41
History

The unix Package Hackage GitHub Build Status

See unix on Hackage for more information.

Installing from Git

To build this package using Cabal directly from Git, you must run autoreconf -i before the usual Cabal build steps (cabal {configure,build,install}). The program autoreconf is part of GNU autoconf. There is no need to run the configure script: cabal configure will do this for you.