https://issues.dlang.org/show_bug.cgi?id=22483
Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @ssvb created dlang/dmd pull request #15915 "fix Issue 22483 - DMD generates invalid string sections that work by coincidence" fixing this issue: - fix Issue 22483 - DMD generates invalid string sections that work by coincidence DMD generates bogus ".rodata.str" segment, which isn't really mergeable by proper linkers and this trips https://github.com/rui314/mold linker up. As a workaround, just don't set the SHF_MERGE | SHF_STRINGS flags. https://github.com/dlang/dmd/pull/15915 --