[MacPorts] #59467: ghc @8.6.5_1: Built ghc not working on Catalina

MacPorts noreply at macports.org
Thu Oct 24 07:01:48 UTC 2019


#59467: ghc @8.6.5_1: Built ghc not working on Catalina
----------------------+--------------------
 Reporter:  abusse    |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.2
 Keywords:  catalina  |       Port:  ghc
----------------------+--------------------
 Compiled on macOS 10.15 with system compiler (Xcode 11.1) completes
 bootstrap, but the compiler later fails to run simple programs with a
 memory-related error:

 {{{
 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)
 }}}

 Homebrew seems to have the same issue: https://github.com/Homebrew
 /homebrew-core/pull/44802

 The issue is discussed upstream:
 https://gitlab.haskell.org/ghc/ghc/issues/17353 However, it seems to be an
 issue during building and not in the ghc code.

-- 
Ticket URL: <https://trac.macports.org/ticket/59467>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list