| 3 Sep 2025 |
Winter | why is glibc so intertwined with binutils ughhh | 20:17:15 |
Winter | this would be so much easier if i just didn't have to bootstrap just to change the glibc version even if i'm fine depending on a different (later) glibx | 20:17:46 |
Winter | * this would be so much easier if i just didn't have to bootstrap just to change the glibc version even if i'm fine depending on a different (later) glibc | 20:17:50 |
Winter | i wonder how other distributions that ship {new gcc, old glibc} do it | 20:19:35 |
Alyssa Ross | Why are you doing thi | 20:19:43 |
Alyssa Ross | * | 20:19:47 |
Winter | a stupid hack to build glibc-based binaries/libs that are compatible down to e.g. ubuntu 18.04 | 20:20:33 |
Alyssa Ross | Do you patchelf them at the end then? | 20:20:58 |
Winter | yep | 20:21:46 |
Winter | hm, crosstool-ng seems to get by without the chicken-and-egg of binutils<->libc... | 20:29:19 |
Winter | * hm, crosstool-ng seems to get by without the chicken-and-egg of binutils<->glibc... | 20:29:27 |
Winter | i wonder why we specifically cannot do that | 20:29:39 |
Winter | (the check that binutils.libc == cc.libc or w/e) | 20:30:37 |
Winter | (and it's not as simple as just making the binutils wrapper use the old glibc as that's also then the interpreter that gets used, so we run into the same issue of old glibc incompatibility with newer glibc) | 20:31:27 |
dish [Fox/It/She] | oh my bad lemme check that | 20:31:35 |
dish [Fox/It/She] | i thought guix and live- were the same, whoops | 20:31:51 |
Winter | but seemingly ctng just doesn | 20:32:30 |
Winter | * but seemingly ctng just doesn't have to deal with this at all! cool... | 20:32:39 |
Winter | 🙃 i love toolchains | 20:33:14 |
emily | you might wanna reach out to emilytrau to maybe sync up about the state of the bootstrap? | 20:44:28 |
Winter | i guess there must be a reason we're requiring that bintools uses a specific, matching, interpreter... but it certainly makes overriding the cc of a given stdenv a pain. is there not a sane way to override the libc of bintools? | 20:47:14 |
Winter | because obviously you then run into binutils-unwrapped = binutils-unwrapped.override { stdenv = ????; } | 20:47:57 |
Winter | binutilsNoLibc would be great but then we run into the libc equality check again | 20:48:46 |
Winter | which is then why i was trying to do some cursed "yeah this is actually cross lmao" stuff but that ran into a few assertions i'm scared to remove | 20:51:02 |
Winter | maybe there's something i'm missing | 20:51:48 |
Winter | * maybe there's something obvious i'm missing | 21:03:35 |
Winter | i think "fake" cross would be the ideal solution to this, maybe it'll just work if i poke around with it a bit more? | 21:04:32 |
| 4 Sep 2025 |
| FliegendeWurst changed their display name from FliegendeWurst (@GPN23) to FliegendeWurst. | 08:34:14 |
| atagen set a profile picture. | 12:04:16 |
| atagen changed their profile picture. | 12:04:39 |