[Issue 24597] New: FreeBSD/OpenBSD: Enable ELF_COMDAT
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 10 13:26:15 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24597
Issue ID: 24597
Summary: FreeBSD/OpenBSD: Enable ELF_COMDAT
Product: D
Version: D2
Hardware: All
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: bcallah at openbsd.org
There is a note stating that old ld.bfd did not support ELF_COMDAT, and as such
it was made Linux-only.
This no longer needs to be the case. LLVM lld has been an option on FreeBSD
since 2016 and is the default linker since FreeBSD 13, released in 2021.
OpenBSD made lld the default linker in OpenBSD 6.5, released in 2019.
I think it is time to add these two OSes to the ELF_COMDAT list.
--
More information about the Digitalmars-d-bugs
mailing list