Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831339

Summary: net-libs/xdp-tools-1.2.0 fails to compile: clang-13: error: -Wl,-O1: linker input unused [-Werror,-Wunused-command-line-argument]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jason A. Donenfeld <zx2c4>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=846938
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867, 408963    
Attachments: build.log

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(+)