https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-benchmarks/wrk fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 649472 [details] build.log build log and emerge --info
Created attachment 656746 [details, diff] test.patch @ago: I am still unable to reproduce, after I've setup my clang/llvm setup. But I have maybe an idea. Could you please try that patch, if it compiles?
Did you try also the lld linker with LDFLAGS=-fuse-ld=lld ?
(In reply to Agostino Sarubbo from comment #3) > Did you try also the lld linker with LDFLAGS=-fuse-ld=lld ? Thanks. Now, I am able to reproduce. But patch does not help. Will look more into it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af3499dd3953c3496c0df4543001e7fde9f58e0 commit 5af3499dd3953c3496c0df4543001e7fde9f58e0 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-08-25 21:58:43 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-08-25 21:59:29 +0000 app-benchmarks/wrk: fix compilation with clang Closes: https://bugs.gentoo.org/732892 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../wrk/files/wrk-4.1.0-r1-makefile.patch | 37 ------------- .../wrk/files/wrk-4.1.0-r2-makefile.patch | 63 ++++++++++++++++++++++ app-benchmarks/wrk/wrk-4.1.0-r2.ebuild | 11 ++-- 3 files changed, 66 insertions(+), 45 deletions(-)