Originally posted by ms178
View Post
Announcement
Collapse
No announcement yet.
Systemd 250 Piles On Yet More Features With New Release Candidate
Collapse
X
-
Originally posted by ms178 View PostSystemd fails to build with Clang-14 when used with LLD as linker (gold is fine) at Test 530/960 (test-hashmap). It would be great if that was fixed before the release.
- Likes 4
Comment
-
Originally posted by zbyszek View Post
Seems to work fine here with clang-14.0.0~pre20211220.g4ece4cd77e6648-5.fc36.x86_64 and lld-13.0.0-2.fc36.x86_64. Please open a bug upstream with exact compiler and linker versions and the logs.
Building with LLVM/Clang-14 and GOLD succeeds - the issue shows up when specifically using LLD-14 as linker (c7f96d5ab188bf371f8096ed0a98f91f18a5435a).
Comment
-
Originally posted by ms178 View Post
I've reported my issue upstream: https://github.com/systemd/systemd/issues/21847
Building with LLVM/Clang-14 and GOLD succeeds - the issue shows up when specifically using LLD-14 as linker (c7f96d5ab188bf371f8096ed0a98f91f18a5435a).
Since LLD 13 is known to work, why not bisect down to the LLD commit that breaks this case, and figure out if the patch is even correct? That would be a much more useful way to report this bug; whether it's LLD's problem, or systemd's.Last edited by microcode; 21 December 2021, 10:21 AM.
- Likes 5
Comment
-
Originally posted by microcode View Post
I think everyone is chirping you here because you're assuming this is a systemd bug when every linker except a prerelease version of LLD links it just fine. Have you stopped to consider that this may be an LLD bug?
Since LLD 13 is known to work, why not bisect down to the LLD commit that breaks this case, and figure out if the patch is even correct? That would be a much more useful way to report this bug; whether it's LLD's problem, or systemd's.
Comment
-
That's what I love about open source software, you find a bug, you can report it and hopefully someone more knowledgeable with that piece of software can find a solution which eventually results in a bug fix helping every user. And you people should not draw your conclusions too early just because someone is using an experimental compiler. It's not always the compiler's fault.
- Likes 4
Comment
Comment