[REG2.068.0-rc1] Issue 14871 - Linker errors with 2.068.0-rc1#4867
[REG2.068.0-rc1] Issue 14871 - Linker errors with 2.068.0-rc1#48679rnsr wants to merge 3 commits intodlang:stablefrom
Conversation
Place module helpers in COMDAT sections again This commit also contains a fix for the regression, caused by the old insufficient implementation: - Issue 14828 - duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd
|
The breaking change in release candidate version has actually introduced complaint with the frustration. |
|
One problem with this approach is that it still has edge cases. |
|
Those "random object" issues have been quite a bit of trouble for LDC in the past (in a slightly different situation related to templates), because for us one of the modules that happened to be selected quite often was |
|
Ah... I finally understand the issue that you concern. I didn't consider the situation to construct a library file from by collecting the generated object files by
But the sentence is not still understandable to me. The comdat module helpers essentially won't cause duplicated symbols. Do you mean issue 14748 (unintentional binary size bloating)? |
|
@MartinNowak Could you please answer my question? |
|
@MartinNowak Ping. I'm waiting you in order to close this PR. |
|
I'll close it. |
https://issues.dlang.org/show_bug.cgi?id=14871
Place module helpers in COMDAT sections again
This PR overrides the change in #4858.