Summary: | x11-misc/redshift fails to compile with clang | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sebastian Pipping <sping> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, slashbeast |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/jonls/redshift/issues/802 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
build.log
other.tar.bz2 |
Description
Agostino Sarubbo
2020-07-13 08:18:31 UTC
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 |