www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22443] New: OpenBSD: Fix Fiber support by adding MAP_STACK

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 puremagic.com
          Reporter: bcallah 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 openbsd.org -- I am committing it for him.

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

--
Oct 27 2021