[Issue 22483] DMD generates invalid string sections that work by coincidence

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 1 22:05:07 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=22483

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15978 "merge stable" was merged into master:

- 3a85e6bdbee15235d12f714f608a757ad1983bc3 by Siarhei Siamashka:
  fix Issue 22483 - DMD generates invalid string sections that work by
coincidence (#15915)

  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/15978

--


More information about the Digitalmars-d-bugs mailing list