[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to newCTFE at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/575e6d130d10410e3845a9df1ee2f7e13e84cd9a fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline https://github.com/dlang/dmd/commit/661be50c59cc83a9376776598ff63fb84b08bb55 Merge pull request #6452 from WalterBright/fix17072 --
[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/575e6d130d10410e3845a9df1ee2f7e13e84cd9a fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline https://github.com/dlang/dmd/commit/661be50c59cc83a9376776598ff63fb84b08bb55 Merge pull request #6452 from WalterBright/fix17072 --
[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/575e6d130d10410e3845a9df1ee2f7e13e84cd9a fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline https://github.com/dlang/dmd/commit/661be50c59cc83a9376776598ff63fb84b08bb55 Merge pull request #6452 from WalterBright/fix17072 fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline --
[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 --- Comment #3 from Walter Bright--- https://github.com/dlang/dmd/pull/6452 --
[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 --- Comment #2 from Walter Bright--- (In reply to Rainer Schuetze from comment #0) > This does not happen with dmd 2.072 or without -inline. It does work if you throw -dip25. Still a regression, though. --
[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline
https://issues.dlang.org/show_bug.cgi?id=17072 Martin Nowakchanged: What|Removed |Added CC||bugzi...@digitalmars.com, ||c...@dawg.eu --- Comment #1 from Martin Nowak --- There is a difference between the mangling of the symbol included in phobos64.lib and the one requested. phobos64.lib has: _D4core4time8Duration46__T10opOpAssignVAyaa1_2dTS4core4time8DurationZ10opOpAssignMFNaNbNcNiNjNfxS4core4time8DurationZS4core4time8Duration linker wants: _D4core4time8Duration46__T10opOpAssignVAyaa1_2dTS4core4time8DurationZ10opOpAssignMFNaNbNcNiNfxS4core4time8DurationZS4core4time8Duration ddemangle doesn't yet know Nj, it stands for FuncAttrReturn (https://dlang.org/spec/abi.html#FuncAttrReturn). So what we have here is likely a difference in return inference in different compilations, leading the test below to think that the template was already instantiated by druntime, therefor not emitting it itself, but the instantiation in druntime inferred a different STCreturn. It's only reproducible w/ -inline b/c that runs semantic3 on imported functions and templates. Happens because the released library is build with -dip25 which enables return inference and obviously creates ABI incompatibilities. --