[Issue 20802] [REG2.088.0] Link failure with writefln
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 1 23:56:54 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=20802
--- Comment #10 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16276 "merge stable" was merged into master:
- 6a2fe78ba45b4fcd495f7ab340f784640b9daf01 by Tim Schendekehl:
Fix Bugzilla 20802 - Link failure with writefln (#16200)
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/16276
--
More information about the Digitalmars-d-bugs
mailing list