!KYBpbrLJGEHSXfyfhk:matrix.org

BSD

360 Members
Talk/Chat/Discuss about all BSD Operating Systems. Forum: https://www.unitedbsd.com50 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@js:nil.imjsHm, if all you want is the kernel and a busybox, I'm not so sure22:22:16
@aaron:matrix.orgaaron
In reply to @js:nil.im
That is, if you mean the kernel. With NetBSD, you get the entire system, true.
I know this is the BSD channel, but I'll give them the benefit of the doubt and assume they mean pivoting to a full operating system, not just a kernel. ;)
22:22:34
@aaron:matrix.orgaaronEven if they pick something simple like LFS.22:22:50
@js:nil.imjsI think from the complexity perspective, it might be roughly similar. But from the effort needed perspective, I agree that NetBSD might be nicer, as you don't just end up with a kernel + busybox, but a full system, an ISO even that you can compare to the official ones and call it done.22:23:37
@js:nil.imjsLike, once you reproduced an ISO after all this trouble, you know that ISO is fine and from now on can use that22:23:58
@js:nil.imjsreproducing an entire Linux distro is gonna be much harder22:24:09
@js:nil.imjsBut yeah, now that I think of it, ./build.sh is really one of the unique features of NetBSD. I'm not aware of any other OS that has that.22:24:39
@aaron:matrix.orgaaronI may be giving the netbsd kernel a little too much credit here and linux too little. I don't believe the linux kernel has a hard dependency on gcc anymore and I assumed that the netbsd kernel can still be compiled by something like pcc or tcc.22:25:43
@js:nil.imjs(also I'm quite surprised reproducibility has been achieved in 2017 already. That's early!)22:25:46
@js:nil.imjs
In reply to @aaron:matrix.org
I may be giving the netbsd kernel a little too much credit here and linux too little. I don't believe the linux kernel has a hard dependency on gcc anymore and I assumed that the netbsd kernel can still be compiled by something like pcc or tcc.
It doesn't really matter much, because the bootstrap project got to GCC 🙂
22:26:14
@aaron:matrix.orgaaronIt's been ages in openbsd land since the openbsd kernel could be built with pcc. Maybe the x86_64 one.22:26:24
@js:nil.imjsI mean, for starters, OpenBSD can only be built from OpenBSD22:26:41
@js:nil.imjsand sometimes even only from OpenBSD snapshotos22:26:46
@js:nil.imjs * and sometimes even only from OpenBSD snapshots22:26:47
@aaron:matrix.orgaaron
In reply to @js:nil.im
It doesn't really matter much, because the bootstrap project got to GCC 🙂
Yea fair, the work is already done. Maybe some internet complaints about auditing gcc, but such is the internet.
22:26:53
@js:nil.imjshm, now that I think about it, OpenBSD is probably among the more hostile OSes to bootstrap22:27:30
@js:nil.imjsofficially supported is only "if you want to build current, download a snapshot and compile it", right?22:27:48
@js:nil.imjsso that's similar to rust where you can only build rust N with rust N-122:28:11
@js:nil.imjshow is the situation on FreeBSD?22:28:27
@aaron:matrix.orgaaron Unfortunately I know nearly anything about freebsd, but you're right on the openbsd front. They don't really care about cross-compiling, although the work to go from a release to the latest snapshot is fairly minimal. There's not that many breaking changes every 6 months. 22:29:30
@js:nil.imjsYeah, I think it's one of those "usually it works but if it doesn't you are on your own, you were supposed to use the latest snapshot"22:29:59
@js:nil.imjsit's probably only when there are breaking changes in -current compared to the last release22:30:26
@aaron:matrix.orgaaronI think it more falls in to the bucket of "if you're able to bootstrap a new architecture, you can probably git bisect this in less than an hour".22:30:43
@js:nil.imjsanyway, NetBSD is actually a really interesting target for such a bootstrapping project. Which makes you wonder why they didn't consider it.22:31:21
@aaron:matrix.orgaaronI'd assume the standard answers to that. Most familiar with linux and the most popular thing to farm internet points.22:31:48
@js:nil.imjsProbably.22:31:59
@aaron:matrix.orgaaronI'd also be surprised if they didn't consider it and discard it for non-technical reasons.22:32:26
@aaron:matrix.orgaaronI would have loved to see a BSD project mentioned for "marketing reasons", but I also do agree with their choice of linux. And equally if they can do this for linux, someone motivated should be able to rather easily make the same thing happen for BSD-land.22:34:41
6 Sep 2024
@js:nil.imjs aaron: I mean, it's nice they did it for Linux, because that means it just works for NetBSD as well 😉 06:07:09
@js:nil.imjsand if you can cross-compile an OS from another OS, Linux is most likely an OS you can compile it from06:07:24

Show newer messages


Back to Room ListRoom Version: 7