[Issue 16856] D does not work on FreeBSD current (what will eventually be 12) due to libunwind

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 9 14:31:10 PDT 2017


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

--- Comment #12 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/ce863ecdd9ba0e56a40c8afa7b247946702f2995
Fix issue 16856: Don't use dlopen from the fini sections

In case finalizers are called from the runtime linker
we shouldn't try to get handle to and reference the
dying shared object. This was used just for the asserting,
so this simply removes the assert making it working on the
platforms where this is strictly forbiden (e.g. FreeBSD 12).

https://github.com/dlang/druntime/commit/1d983500f8d66b2bcb8fac514b2b23394ab60b37
Merge pull request #1862 from Burgos/dso

Fis issue 16856: Don't use dlopen from the fini sections
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach at gmail.com>

--


More information about the Digitalmars-d-bugs mailing list