Skip to content

mmap functions not properly guarded by RTS_LINKER_USE_MMAP in Linker.c

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

Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System (Linker)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information