Bug 22443 – OpenBSD: Fix Fiber support by adding MAP_STACK

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Other
Creation time
2021-10-28T02:00:08Z
Last change time
2021-10-28T07:24:25Z
Keywords
pull
Assigned to
No Owner
Creator
Brian Callahan

Comments

Comment #0 by bcallah — 2021-10-28T02:00:08Z
On OpenBSD, MAP_STACK is required for Fibers to work. Without it, code using Fibers immediately segfaults. This patch was created by [email protected] -- I am committing it for him. The OpenBSD packages of all three D compilers are using this fix.
Comment #1 by dlang-bot — 2021-10-28T02:01:27Z
@ibara created dlang/druntime pull request #3601 "Fix Issue 22443 - OpenBSD: Fix Fiber support by adding MAP_STACK" fixing this issue: - Fix Issue 22443 - OpenBSD: Fix Fiber support by adding MAP_STACK https://github.com/dlang/druntime/pull/3601
Comment #2 by dlang-bot — 2021-10-28T07:24:25Z
dlang/druntime pull request #3601 "Fix Issue 22443 - OpenBSD: Fix Fiber support by adding MAP_STACK" was merged into stable: - 05f8b65f52b10946d03b94c39a2f4b693cb56097 by Brian Callahan: Fix Issue 22443 - OpenBSD: Fix Fiber support by adding MAP_STACK https://github.com/dlang/druntime/pull/3601