[Issue 22443] New: OpenBSD: Fix Fiber support by adding MAP_STACK

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 28 02:00:08 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22443

          Issue ID: 22443
           Summary: OpenBSD: Fix Fiber support by adding MAP_STACK
           Product: D
           Version: D2
          Hardware: All
                OS: Other
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: bcallah at openbsd.org

On OpenBSD, MAP_STACK is required for Fibers to work. Without it, code using
Fibers immediately segfaults.

This patch was created by gkoehler at openbsd.org -- I am committing it for him.

The OpenBSD packages of all three D compilers are using this fix.

--


More information about the Digitalmars-d-bugs mailing list