https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: x11-misc/redshift 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 649092 [details] build.log build log and emerge --info
Created attachment 649094 [details] other.tar.bz2 other logs
Hi Ago, I can reproduce the issue now with command line: CC=clang CXX=clang++ LD=ld.lld LDFLAGS=-fuse-ld=lld ebuild redshift-1.12-r3.ebuild manifest clean compile and even with plain CC=clang ebuild redshift-1.12-r3.ebuild manifest clean compile I have taken the issue upstream just now. What do you suggest we do in the ebuild while we wait for a new release with fix? a) Detect clang and extend LDFLAGS? b) Detect and deny use with clang? c) Unconditionally extend LDFLAGS? d) ...? Is there a blueprint for issues like that somewhere? Thanks and best, Sebastian
Forgot the link reference in the commit... https://github.com/gentoo/gentoo/commit/d72033bcc282785c1a4b9ce4872e67e7b2d9aea3#diff-d107ffcc24239869910659309b623b435de937d7f1497d3d65edb024f647d576R44