Bug 273791 - devel/binutils: fix build with lld 17
Summary: devel/binutils: fix build with lld 17
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks: 273753
  Show dependency treegraph
 
Reported: 2023-09-14 17:42 UTC by Dimitry Andric
Modified: 2023-09-15 14:09 UTC (History)
1 user (show)

See Also:
cy: maintainer-feedback+


Attachments
devel/binutils: fix build with lld 17 (949 bytes, patch)
2023-09-14 17:43 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 17:42:55 UTC
Some versioned symbols in libctf are undefined when libctf-nobfd.so is
linked. Suppress errors with lld >= 17 due to these undefined symbols.
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 17:43:17 UTC
Created attachment 244847 [details]
devel/binutils: fix build with lld 17
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2023-09-14 23:40:19 UTC
Approved.
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2023-09-14 23:43:56 UTC
Changed my mind. Pushed the commit under your name myself.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-09-14 23:44:40 UTC
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(+)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-09-15 14:09:42 UTC
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(+)