[MacPorts] #59467: ghc @8.6.5_1: Built ghc not working on Catalina
MacPorts
noreply at macports.org
Mon Jan 20 11:44:49 UTC 2020
#59467: ghc @8.6.5_1: Built ghc not working on Catalina
---------------------+-----------------------
Reporter: abusse | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: catalina
Port: ghc |
---------------------+-----------------------
Comment (by essandess):
Replying to [comment:1 cjones051073]:
> Simple solution, until either Apple fix it or upstream do something is
blacklist Xcode 11 clang.
I tried this, but it still produces a broken {{{ghc}}} binary, with
exactly the same problem as with Apple clang as far as I can tell:
{{{
PortGroup compiler_blacklist_versions 1.0
…
# Fix Xcode 11 issue; see https://trac.macports.org/ticket/59467
compiler.blacklist-append clang
}}}
Error (same one as with a clang compile):
{{{
ghci
GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
ghc: mmap 131072 bytes at 0x0: Operation not permitted
ghc: Try specifying an address with +RTS -xm<addr> -RTS
ghc: internal error: m32_allocator_init: Failed to map
(GHC version 8.6.5 for x86_64_apple_darwin)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Abort trap: 6
}}}
Would you please post or do a PR for the Portfile you're using to get a
working bootstrapped {{{ghc}}} on Catalina?
--
Ticket URL: <https://trac.macports.org/ticket/59467#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list