| 19 Sep 2023 |
nbp | patchelf, is the thing Nixpkgs uses to make binary lookup their dependencies with a custom RPATH. relrhack is something Mozilla recently added. | 16:16:44 |
vcunat | I suspect it will be more like which side is easier to fix than which side has larger blame. | 16:16:52 |
nbp | valgrind for example does not care about patchelf-ed binaries … | 16:18:02 |
K900 | Ideally patchelf should produce spec compliant ELF files | 16:19:06 |
K900 | And so should relrhack | 16:19:10 |
vcunat | Sure, ideally always, but you know how it often is in real life when you call things "hack" 😉 | 16:20:15 |
K900 | Well yeah | 16:20:24 |
K900 | So we need to figure out what's going wrong probably | 16:20:38 |
nbp | "ideally" (repeated 10 times, and faster, sounds like "dali") | 16:21:18 |
nbp | Or to find the easiest path to fix the issue the fastest. | 16:21:50 |
nbp | I do not know, but maybe increasing the size of the header could be a temporary hack in relrhack, to satisfy patchelf until patchelf can be fixed. | 16:22:26 |
nbp | * I do not know, but maybe increasing the size of the header could be a temporary hack in relrhack, to satisfy patchelf until patchelf can be fixed. (just a guess, I haven't look the issue deeply yet) | 16:22:43 |
nbp | is there a patchelf channel where people would know? | 16:23:34 |
vcunat | The only patchelf-related room I can find is this wide one?
https://matrix.to/#/#systems-programming:nixos.org | 16:25:20 |
vcunat | (i.e. I don't know a good channel) | 16:26:00 |
vcunat | * (i.e. I don't know a good channel/room) | 16:26:28 |
vcunat | * (i.e. I don't know a good channel/room/place) | 16:26:45 |
vcunat | A github ticket could be used for this, though that's a less "chatty" place. | 16:27:39 |
vcunat | I wonder if FF compiled by ourselves will also suffer from this, once it reaches these changes. | 16:28:25 |
vcunat | That's certainly a more important package than the binary one. | 16:28:48 |
hexa | maybe just invite mic92 here? | 16:29:11 |
vcunat | Could be. I have no idea how many people are active around patchelf really. | 16:29:44 |
vcunat | Either way, if a place doesn't exist, inviting them all here might be the easiest way. | 16:30:30 |
| hexa invited Mic92. | 16:31:31 |
| Mic92 joined the room. | 16:31:54 |
vcunat | 👋 the mic is yours, I guess | 16:37:41 |
Mic92 | Patchelf is fun. You fix 1 bug and create 3 new ones. | 16:38:25 |
Mic92 | And than you get emails from people that complain about c++14 because it doesn't work on their 15 year old OS. | 16:39:22 |
vcunat | Now I see that nixpkgs patchelf defaults to 0.15 whereas upstream is at 0.18. | 16:41:40 |
vcunat | But if it goes like 1 for 3, maybe it's better to default to the oldest version. | 16:42:04 |