
#12839: mmap functions not properly guarded by RTS_LINKER_USE_MMAP in Linker.c -------------------------------------+------------------------------------- Reporter: shlevy | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 8.1 System (Linker) | Keywords: | Operating System: Other Architecture: | Type of failure: Compile-time Unknown/Multiple | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- A few uses of munmap etc. are inside of C conditional statements (e.g. `if (RTS_LINKER_USE_MMAP && oc->imageMapped)`) instead of CPP conditional statements, causing compilation failure on systems that don't use MMAP -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12839 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler