
#12695: Build failure due to MAP_NORESERVE being removed in FreeBSD 11.x and later -------------------------------------+------------------------------------- Reporter: Ashish SHUKLA | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: FreeBSD | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Erik de Castro Lopo): You can get around this by configuring GHC with `--disable-large-address- space` and rebuilding it. This turns off the large address space features to give the same behavior as versions of GHC before 8.0. It would also be interesting to test whether `#defined MAP_NO_RESERVE 0` at the top of `rts/posix/OSMem.c` and configuring with `--enable-large- address-space` results in a working compiler. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12695#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler