[GHC] #2063: Breackage on OpenBSD due to mmap remap

GHC trac at galois.com
Fri Jan 25 04:21:30 EST 2008


#2063: Breackage on OpenBSD due to mmap remap
----------------------+-----------------------------------------------------
 Reporter:  dons      |          Owner:                  
     Type:  bug       |         Status:  new             
 Priority:  high      |      Milestone:  6.10 branch     
Component:  Compiler  |        Version:  6.8.2           
 Severity:  normal    |     Resolution:                  
 Keywords:  OpenBSD   |     Difficulty:  Moderate (1 day)
 Testcase:            |   Architecture:  Multiple        
       Os:  OpenBSD   |  
----------------------+-----------------------------------------------------
Changes (by simonmar):

  * priority:  normal => high
  * difficulty:  => Moderate (1 day)
  * milestone:  => 6.10 branch

Comment:

 This is related to #2013.  There's a real bug here that was previously
 hidden: we use the `MAP_32BIT` flag to `mmap`, which is only supported on
 Linux.  Unfortunately we really need this flag.  There's a patch in #2013
 that works around it for FreeBSD by asking for memory at specific
 addresses, so the fix is somewhat fragile.  Furthermore, the fix needs to
 be ported to HEAD, where the code has changed due to the patch mentioned
 by dons above.

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


More information about the Glasgow-haskell-bugs mailing list