Some versioned symbols in libctf are undefined when libctf-nobfd.so is linked. Suppress errors with lld >= 17 due to these undefined symbols.
Created attachment 244847 [details] devel/binutils: fix build with lld 17
Approved.
Changed my mind. Pushed the commit under your name myself.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=495843badfe7d717f01466b9f41763524e670379 commit 495843badfe7d717f01466b9f41763524e670379 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-14 23:41:41 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2023-09-14 23:43:08 +0000 devel/binutils: fix build with lld 17 Some versioned symbols in libctf are undefined when libctf-nobfd.so is linked. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273791 MFH: 2023Q3 devel/binutils/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d3866a1abd528929cb6a357cd63402bdccc7b47 commit 3d3866a1abd528929cb6a357cd63402bdccc7b47 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-14 23:41:41 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2023-09-15 14:07:46 +0000 devel/binutils: fix build with lld 17 Some versioned symbols in libctf are undefined when libctf-nobfd.so is linked. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273791 MFH: 2023Q3 (cherry picked from commit 495843badfe7d717f01466b9f41763524e670379) devel/binutils/Makefile | 4 ++++ 1 file changed, 4 insertions(+)