| 15 Apr 2025 |
Alyssa Ross | Oh yeah I forgot to actually say that | 08:43:36 |
trofi | I think https://github.com/NixOS/nixpkgs/tree/master/maintainers/scripts/bootstrap-files#how-to-add-bootstrap-files-for-a-new-target should cover it | 12:30:53 |
Tristan Ross | In reply to @qyliss:fairydust.space Once that's done, your PR can be merged, and we'll have a bootstrap for your platform. Might not be a bad idea to formalize the documentation on that for easier future reference. | 14:09:26 |
Alyssa Ross | If anybody wants to they're very welcome to adapt my write-up therr | 14:10:18 |
Alyssa Ross | * | 14:10:27 |
emily | isn't that what ^ is? | 14:10:52 |
Tristan Ross | Oh, I'm still waking up and didn't see everything lol | 14:11:37 |
| 16 Apr 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I've got the first stumbling block | 08:43:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://github.com/loongson-community/discussions/issues/29 | 08:43:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | glibc on loongarch64 doesn't provide a libutil.so but our stdenv-bootstrap-tools requires one | 08:44:51 |
Alyssa Ross | We should be able to just drop that from all bootstrap tools | 08:45:04 |
Alyssa Ross | (All Glibc bootstrap tools) | 08:45:15 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @qyliss:fairydust.space We should be able to just drop that from all bootstrap tools But what about the final native glibc on loongarch64? Do we just leave it as is? | 08:47:53 |
Alyssa Ross | Yes, there's no need for libutil nowadays | 08:48:23 |
Alyssa Ross | It's an empty library. Anything trying to load it can just be told not to. | 08:48:52 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | And I just remove the command copying libutil*.so* to $out unconditionally? Or I just check if it exists? | 08:49:37 |
Alyssa Ross | Remove it unconditionally IMO | 08:49:46 |
Alyssa Ross | We can check nothing breaks in the bootstrap for other platforms, but I don't expect it will. | 08:50:17 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Okay. I don't have the bandwidth to test other platforms tho | 08:50:25 |
Alyssa Ross | I don't mind. | 08:50:37 |
Alyssa Ross | It's not a lot of work. | 08:50:40 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | And bash in bootstrap-tools links against readline. Yes, I know this should not happen, because we use bashNonInteractive, but, it happens | 10:52:44 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I'm still trying to find out why it is there | 10:52:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @aleksana:mozilla.org And bash in bootstrap-tools links against readline. Yes, I know this should not happen, because we use bashNonInteractive, but, it happens Why are we using interactive bash in bootstrap-tool? | 11:07:00 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | And we are not copying readline | 11:07:11 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | How did that work? | 11:07:16 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Or bash was bashNonInteractive but changed to bashInteractive at some point | 11:11:15 |
Grimmauld (any/all) | yeah some change made the default bash different | 11:14:35 |
| @alexandrutocar:matrix.org joined the room. | 11:47:38 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I'm on the right track now | 12:26:24 |