[GHC] #12695: Build failure due to MAP_NORESERVE being removed in FreeBSD 11.x and later

GHC ghc-devs at haskell.org
Fri Mar 3 02:13:24 UTC 2017


#12695: Build failure due to MAP_NORESERVE being removed in FreeBSD 11.x and later
-------------------------------------+-------------------------------------
        Reporter:  abbe              |                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 dmm):

 I had no issue building stack and purescript with ghc 8.0.1 on FreeBSD 11
 after adding
 #define MAP_NORESERVE 0
 to rts/posix/OSMem.c

 Building 8.0.2 now with same define.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12695#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list