[Issue 22483] DMD generates invalid string sections that work by coincidence
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 16 02:47:36 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=22483
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #2 from Dlang Bot <dlang-bot at 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
--
More information about the Digitalmars-d-bugs
mailing list