Summary: | sys-apps/systemd-255_rc3: fails linking with lld when compiled with gcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Helmert III <ajak> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flow |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/systemd/systemd/issues/30218 https://github.com/gentoo/gentoo/pull/34032 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 731004, 912821 | ||
Attachments: | build.log |
Description
John Helmert III
2023-11-27 19:28:21 UTC
Please report the issue upstream. Will do. Somehow the build log didn't actually get attached, adding now... This is probably an LLD 17 thing. Created attachment 875841 [details]
build.log
Upstream has added a commit that works around this for release builds: https://github.com/systemd/systemd/commit/25757715feb586d43388a035592fdedaac75c1db But now I notice that our builds are actually "developer" builds after the default was changed a few years ago: https://github.com/systemd/systemd/commit/4c8e5f442b5557a32e7d97f451d3d685f2fe26b9 So the build still fails for me even with the patch, but if I set `-Dmode=release` explicitly via MYMESONARGS, it succeeds. > So the build still fails for me even with the patch, but if I set `-Dmode=release` explicitly via MYMESONARGS, it succeeds.
PR made to change this for our distribution builds.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9bb679dc0bbbc8bd004069590deeff8a6892178 commit d9bb679dc0bbbc8bd004069590deeff8a6892178 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2023-11-28 22:35:13 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-12-04 15:30:31 +0000 sys-apps/systemd: set release mode for live and rc's Bug: https://bugs.gentoo.org/918671 Signed-off-by: John Helmert III <ajak@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34032 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-255_rc3.ebuild | 2 ++ sys-apps/systemd/systemd-255_rc4.ebuild | 2 ++ sys-apps/systemd/systemd-9999.ebuild | 2 ++ 3 files changed, 6 insertions(+) Seems fixed for me now, thanks! |