Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831339 - net-libs/xdp-tools-1.2.0 fails to compile: clang-13: error: -Wl,-O1: linker input unused [-Werror,-Wunused-command-line-argument]
Summary: net-libs/xdp-tools-1.2.0 fails to compile: clang-13: error: -Wl,-O1: linker i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror systemwide-clang
  Show dependency tree
 
Reported: 2022-01-17 08:34 UTC by Agostino Sarubbo
Modified: 2022-06-11 05:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,53.87 KB, text/plain)
2022-01-17 08:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-17 08:34:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/xdp-tools-1.2.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-17 08:34:57 UTC
Created attachment 762382 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-06-11 05:36:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f78148645a266219e9a3e72663f7473e0de6c6

commit 81f78148645a266219e9a3e72663f7473e0de6c6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 05:34:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 05:36:03 +0000

    net-libs/xdp-tools: drop Werror
    
    Closes: https://bugs.gentoo.org/846938
    Closes: https://bugs.gentoo.org/831339
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/xdp-tools-1.2.3-no-werror.patch          | 73 ++++++++++++++++++++++
 net-libs/xdp-tools/xdp-tools-1.2.3.ebuild          |  4 ++
 2 files changed, 77 insertions(+)