Summary: | dev-libs/jansson-2.14-r1 fails to compile with LLVM 16 with LTO | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Fore <csfore> |
Component: | Current packages | Assignee: | David Zero <zero-one> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ionen, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | Build log for dev-libs/jansson-2.14-r1 |
Description
Christopher Fore
2023-09-04 23:09:53 UTC
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/jansson-2.14-r1/work/jansson-2.14/config.log Albeit even without that I can guess what happened. It does tc-ld-force-bfd (I forget why, or if still needed -- think it was some version script junk), and then there's probably errors because it tried to use ThinLTO with bfd. Ideally ebuild "should" strip-unsupported-flags to sort this out, but it wouldn't work right now. Had talked about this a bit back in: https://github.com/gentoo/gentoo/pull/28355#discussion_r1032998656 tl;dr not much you can do right now but just not do lto with clang for this package. (In reply to Ionen Wolkens from comment #1) > !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/dev-libs/jansson-2.14-r1/work/jansson-2.14/config.log > > Albeit even without that I can guess what happened. It does tc-ld-force-bfd > (I forget why, or if still needed -- think it was some version script junk), > and then there's probably errors because it tried to use ThinLTO with bfd. > > Ideally ebuild "should" strip-unsupported-flags to sort this out, but it > wouldn't work right now. Had talked about this a bit back in: > https://github.com/gentoo/gentoo/pull/28355#discussion_r1032998656 > > tl;dr not much you can do right now but just not do lto with clang for this > package. Sounds good! Apologies for not attaching the file, I'll remember that for next time. |