15 Oct 2024 |
ElvishJerricco | yea, I'd probably try bisecting that systemd version range if I were you. | 05:34:14 |
ElvishJerricco | I mean frankly I still get the feeling that it's an LLVM bug, in which case it would probably be something kinda random in systemd | 05:35:25 |
ElvishJerricco | but it might still be indicative somehow | 05:35:36 |
Tristan Ross | Yeah | 05:35:56 |
Tristan Ross | And this is noticeable with LLVM 18 and 19 so it's not like it's a regression. | 05:36:20 |
Tristan Ross | But I wonder what part of LLVM is causing the issue | 05:37:07 |
Tristan Ross | dontStrip didn't change anything | 05:37:13 |
Tristan Ross | ElvishJerricco: 255.7 is broken | 05:52:58 |
ElvishJerricco | Tristan Ross: I don't get the segfault with 256 | 05:53:06 |
Tristan Ross | In reply to @elvishjerricco:matrix.org Tristan Ross: I don't get the segfault with 256 On aarch64? | 05:53:20 |
ElvishJerricco | (I built on my aarch64 VM) | 05:53:26 |
Tristan Ross | Oh fun | 05:53:32 |
Tristan Ross | Is there a PR for 256? | 05:54:37 |
ElvishJerricco | Tristan Ross: 256 is the current version on nixos-unstable | 05:55:30 |
ElvishJerricco | 24.05 has 255 | 05:55:43 |
Tristan Ross | I'm not on 24.05 for this | 05:56:36 |
Tristan Ross | warning: Git tree '/home/ross/nixpkgs-llvm-ws' is dirty
Resolved URL: git+file:///home/ross/nixpkgs-llvm-ws
Locked URL: git+file:///home/ross/nixpkgs-llvm-ws
Description: Flake workspace / repo to stage and track Nixpkgs/NixOS's ability to be compiled completely with LLVM
Path: /nix/store/9zasimyn5mk9mfj3bx67m6bnmrp4zld5-source
Revision: 41c2623bdf6c1f13127900ba55eb7f2380396886-dirty
Last modified: 2024-10-14 19:10:08
Inputs:
├───flake-utils: github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a
│ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e
└───nixpkgs: github:NixOS/nixpkgs/59b63e5e98384bcdd9e4065a11cd75a129adfcec
| 05:56:57 |
Tristan Ross | 256.6 still has this problem for me | 05:58:09 |
ElvishJerricco | Tristan Ross: uh
$ nix eval github:NixOS/nixpkgs/59b63e5e98384bcdd9e4065a11cd75a129adfcec#systemd.version
"256.6"
not sure how on earth you could be getting 255 on that nixpkgs revision
| 05:58:30 |
Tristan Ross | In reply to @elvishjerricco:matrix.org
Tristan Ross: uh
$ nix eval github:NixOS/nixpkgs/59b63e5e98384bcdd9e4065a11cd75a129adfcec#systemd.version
"256.6"
not sure how on earth you could be getting 255 on that nixpkgs revision
Because I was overlaying | 05:58:52 |
Tristan Ross | To figure out why things were not working | 05:59:10 |
ElvishJerricco | well the 256 build I just did was with current unstable (5633bcff0c6162b9e4b5f1264264611e950c8ec7) | 06:02:02 |
ElvishJerricco | and extra-utils's udevadm is working fine in my build | 06:02:20 |
Tristan Ross | I just committed what I have: https://github.com/RossComputerGuy/nixpkgs-llvm-ws/commit/f0cd2f587c9d734092a7833d55e64230d10602ea | 06:02:27 |
Tristan Ross | I wonder what would happen if I remove that overlay I made to try and figure out if it was LLVM's linker causing the problem with patchelf. | 06:04:01 |
Tristan Ross | Nope, segfaults | 06:04:44 |
ElvishJerricco | Tristan Ross: how can I reproduce this on my aarch64 system? | 06:05:35 |
Tristan Ross | In reply to @elvishjerricco:matrix.org Tristan Ross: how can I reproduce this on my aarch64 system? Try the repo I have? | 06:05:46 |
Tristan Ross | I run nom build .\#nixosConfigurations.aarch64-linux.config.system.build.extraUtils | 06:06:00 |
Tristan Ross | And then I try running ./result/bin/udevadm | 06:06:11 |