| 16 Aug 2023 |
π@crystallinefire:chat.solarpunk.moe | by the native compiler, do you mean like, compiling things natively in bsd, as in, not using the linux emulation layer ? | 06:12:08 |
rhelmot | I have never installed the linux emulation layer | 06:12:25 |
rhelmot | by native I mean "links against the system libraries" | 06:12:34 |
π@crystallinefire:chat.solarpunk.moe | i thought it was part of freebsd by default | 06:12:38 |
rhelmot | * by native I mean "links against the system libc" | 06:12:38 |
π@crystallinefire:chat.solarpunk.moe | * i thought it was part of freebsd by default, whoops | 06:13:01 |
rhelmot | it might be! but I'm doing freebsd mostly as a hobby so I might as well commit to the ecosystem | 06:14:06 |
π@crystallinefire:chat.solarpunk.moe | ah ok | 06:14:11 |
rhelmot | it's been a few months since I touched this so I will need to do a fat rebase. I had been debugging one-on-one with a friend who is a nixos contributor but I think she deserves better than to be the sole recipient of my nonsense | 06:16:53 |
rhelmot | when compiling this on either of those commits I am getting a weird error with coreutils that I don't remember getting before so I think something changed in freebsd's version of llvm since I tried last | 06:17:34 |
rhelmot | (I am on FreeBSD-14-CURRENT) | 06:17:40 |
π@crystallinefire:chat.solarpunk.moe | so anyways, as it stands now, there's no way i can test this until you've rebased and published the patches for nix ? | 06:18:59 |
π@crystallinefire:chat.solarpunk.moe | aiui | 06:19:06 |
rhelmot | oh! those are here: https://github.com/rhelmot/nix | 06:19:40 |
π@crystallinefire:chat.solarpunk.moe | oh excellent | 06:19:52 |
7c6f434c | Stupid question: if FreeBSD ships clang and you are interested in following the ecosystem, maybe you can start with bootstrapped clang built against rebuilt FreeBSD libc (somewhat like darwin platform but with an actual free platform you can build and even patch)? | 08:15:27 |
rhelmot | That sounds super cool | 13:06:12 |
rhelmot | I will look into doing that. I should disclose: I have literally never used nix for anything before this | 13:06:38 |
rhelmot | So I donβt have a great grasp of norms! | 13:06:52 |
π@crystallinefire:chat.solarpunk.moe | woah nice | 13:14:46 |
π@crystallinefire:chat.solarpunk.moe | good job coming this far | 13:14:55 |
rhelmot | The main problem is that I think that FreeBSD ships its libc with its kernel both so far as source and binary go. Is it kosher to just build one piece of a thing if Iβm downloading a much bigger thing? | 13:16:37 |
Alex | In reply to @rhelmot:matrix.org The main problem is that I think that FreeBSD ships its libc with its kernel both so far as source and binary go. Is it kosher to just build one piece of a thing if Iβm downloading a much bigger thing? I think there's already precedent for doing so when building some of the stuff in linuxPackages, e.g. perf | 14:19:33 |
| 17 Aug 2023 |
| Ken Micklas changed their display name from Kenny Micklas to Ken Micklas. | 20:22:50 |
| 18 Aug 2023 |
| Shados joined the room. | 05:41:56 |
| 19 Aug 2023 |
rhelmot | okay, I'm trying to build the freebsd userland in nix - the main problem is that it builds everything linked against / instead of the derivation output, so it can't actually run. I can't find a parameter anywhere in the build settings to change this, so I guess I don't have a better option than to patch all the outputs to link against the right root? | 03:02:45 |