Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732892 - app-benchmarks/wrk fails to compile
Summary: app-benchmarks/wrk fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-16 11:57 UTC by Agostino Sarubbo
Modified: 2020-08-25 21:59 UTC (History)
0 users

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


Attachments
build.log (build.log,10.36 KB, text/plain)
2020-07-16 11:57 UTC, Agostino Sarubbo
Details
test.patch (test.patch,564 bytes, patch)
2020-08-25 19:48 UTC, Conrad Kostecki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-16 11:57:38 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-16 11:57:45 UTC
Created attachment 649472 [details]
build.log

build log and emerge --info
Comment 2 Conrad Kostecki gentoo-dev 2020-08-25 19:48:25 UTC Comment hidden (obsolete)
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-25 20:16:33 UTC
Did you try also the lld linker with LDFLAGS=-fuse-ld=lld ?
Comment 4 Conrad Kostecki gentoo-dev 2020-08-25 20:39:21 UTC
(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.
Comment 5 Larry the Git Cow gentoo-dev 2020-08-25 21:59:39 UTC
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(-)