[Issue 20802] [REG2.088.0] Link failure with writefln
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 18 22:35:06 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=20802
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16200 "Fix Bugzilla 20802 - Link failure with writefln"
was merged into stable:
- f4ee5234bccf21a4d2b5ca6d3962ccc3dd7a7d06 by Tim Schendekehl:
Fix Bugzilla 20802 - Link failure with writefln
The issue is caused by compiling druntime/phobos and the application
with different flags. The template instance for __switch_errorT is not
included in the build of druntime/phobos, because they are compiled
with -release. DMD will also not include it in an application compiled
without -release, because it assumes, that it is already in druntime.
See comment https://issues.dlang.org/show_bug.cgi?id=20802#c3 by Spoov.
The template instance for __switch_errorT is now always instantiated in
druntime, so it is part of the ABI of druntime.
https://github.com/dlang/dmd/pull/16200
--
More information about the Digitalmars-d-bugs
mailing list