Download raw body.
binutils: enable ld.bfd ?
On Sat, Nov 29, 2025 at 08:17:19PM +0000, Klemens Nanni wrote: > > net/ipxe in openbsd-wip seems to require the GNU linker. > > > > 2.17 from base just segfaults (certainly too old) and ld.lld(1) complains > > differently, depending on what/how I build stuff: > > > > - ld: error: section .text file range overlaps with .shstrtab > > - ld: error: output file too large: 18446744073709485768 bytes > > > > When using gld built with the diff below, ipxe.efi links fine. > > > > > > Is there a reason disable it? > > If yes, would a FLAVOR (that is not hooked up) and/or enabling it > only for amd64 and arm64 (none other needed, atm) be acceptable? There was simply no use-case for it, because as far as I remember it is not going to produce working OpenBSD executables. Adding a FLAVOR would probably be overkill, but as it will only be useful to build net/ipxe on amd64 and arm64 I think it indeed makes sense to only enable building ld on these architectures.
binutils: enable ld.bfd ?