This does not compile: --- public import core.sys.posix.sys.mman; import core.sys.linux.config; static if (__USE_MISC) { enum MAP_RENAME = MAP_ANONYMOUS; } static if (__USE_MISC) { enum MAP_ANONYMOUS = MAP_ANON; } --- Swapping the static ifs around, however, and it does. This is particular bug is causing SPARC, SPARC64, MIPS and MIPS64 builds to fail.
Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/e239f80fbee0c953ed50a039d140d0376647d7d4 Add workaround for issue 17883 in core.sys.linux.sys.mman https://github.com/dlang/druntime/commit/58d573a593d6417928b9d710421b16802001a2c2 Merge pull request #1931 from ibuclaw/wkarnd17883 Add workaround for issue 17883 in core.sys.linux.sys.mman merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
Commits pushed to stable at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/e239f80fbee0c953ed50a039d140d0376647d7d4 Add workaround for issue 17883 in core.sys.linux.sys.mman https://github.com/dlang/druntime/commit/58d573a593d6417928b9d710421b16802001a2c2 Merge pull request #1931 from ibuclaw/wkarnd17883