Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / Packages / unix
Source project has a limited visibility.
  • Ben Gamari's avatar
    d63e6b41
    Don't `foreign import` `environ` · d63e6b41
    Ben Gamari authored and Julian Ospald's avatar Julian Ospald committed
    `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
    Don't `foreign import` `environ`
    Ben Gamari authored and Julian Ospald's avatar Julian Ospald committed
    `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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.