!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

599 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
14 Oct 2024
@rosscomputerguy:matrix.orgTristan RossMaybe, I think I can change the linker so maybe I should try GNU ld but compile with clang?23:14:04
@elvishjerricco:matrix.orgElvishJerriccoyea I was about to suggest exactly that23:14:14
@elvishjerricco:matrix.orgElvishJerriccono idea how :P23:14:18
@rosscomputerguy:matrix.orgTristan RossI know some stdenv override magic23:14:30
@rosscomputerguy:matrix.orgTristan RossBasically just pull in the GCC bintools into the stdenv23:14:59
15 Oct 2024
@rosscomputerguy:matrix.orgTristan Ross ElvishJerricco: I've got an update with the issue, it still segfaults when using GNU ld 05:01:56
@elvishjerricco:matrix.orgElvishJerriccoah bummer05:02:12
@rosscomputerguy:matrix.orgTristan RossI think I can circumvent the issue by disabling the stripping stuff in extra-utils05:04:07
@elvishjerricco:matrix.orgElvishJerriccooh that's interesting. Why would stripping cause a segfault though?05:04:50
@rosscomputerguy:matrix.orgTristan RossIdk, it's just a theory05:05:00
@rosscomputerguy:matrix.orgTristan RossOh, it still crashes when not stripped.05:05:38
@elvishjerricco:matrix.orgElvishJerricco Tristan Ross: Does the extra-utils binary end up more diffoscope-able compared to the original if it's not stripped? 05:10:25
@rosscomputerguy:matrix.orgTristan Ross
In reply to @elvishjerricco:matrix.org
Tristan Ross: Does the extra-utils binary end up more diffoscope-able compared to the original if it's not stripped?
https://termbin.com/38q8
05:21:35
@elvishjerricco:matrix.orgElvishJerriccooh I didn't notice this was on arm6405:22:03
@rosscomputerguy:matrix.orgTristan RossI mainly use aarch6405:24:09
@elvishjerricco:matrix.orgElvishJerricco Tristan Ross: well, interestingly, (nixos { systemd.package = pkgsLLVM.systemd; }).config.system.build.extraUtils the udevadm in this build works fine on x86_64-linux for me. 05:27:25
@elvishjerricco:matrix.orgElvishJerriccowhich makes it seems like an LLVM arm64 bug05:27:47
@elvishjerricco:matrix.orgElvishJerricco(not the first time that sort of thing has happened)05:27:56
@rosscomputerguy:matrix.orgTristan RossThat's even worse05:28:06
@rosscomputerguy:matrix.orgTristan RossReporting this probably won't be fun05:28:39
@rosscomputerguy:matrix.orgTristan RossAt least it's reproducible.05:28:47
@rosscomputerguy:matrix.orgTristan RossBut it's strange that this issue only popped up from a systemd upgrade, I wonder if some code change in systemd screwed something up in systemd.05:29:21
@elvishjerricco:matrix.orgElvishJerricco Tristan Ross: I wonder how fruitful it would be to bisect systemd too 05:31:16
@rosscomputerguy:matrix.orgTristan Ross
In reply to @elvishjerricco:matrix.org
Tristan Ross: I wonder how fruitful it would be to bisect systemd too
Yeah, afaik it's this upgrade https://github.com/NixOS/nixpkgs/commit/4a48f4cdf366720fe2ca837c0e29704d4b731d13
05:32:25
@elvishjerricco:matrix.orgElvishJerriccooh so you're not even on 256 at all05:32:49
@rosscomputerguy:matrix.orgTristan RossNope05:32:55
@elvishjerricco:matrix.orgElvishJerricco well that eliminates any shenanigans with the .note.dlopen stuff 05:33:24
@rosscomputerguy:matrix.orgTristan Rosssystemd 255.6 worked but not 255.9 for udevadm in extra-utils05:33:25
@rosscomputerguy:matrix.orgTristan Ross
In reply to @elvishjerricco:matrix.org
well that eliminates any shenanigans with the .note.dlopen stuff
Oh
05:33:31
@rosscomputerguy:matrix.orgTristan Ross Should I try overlaying systemd in systemd.package to patch versions in between the upgrade and see where it fails? 05:34:07

Show newer messages


Back to Room ListRoom Version: 6