Re: Curious minds .. etc

2021-10-22 Thread Søren Schmidt
On 22 Oct 2021, at 14.05, Konstantin Belousov  wrote:
> 
> On Fri, Oct 22, 2021 at 01:07:47AM -0700, Julian Elischer wrote:
>> Several years ago (OK, maybe 12 years ago) I did an experiment where I
>> unpacked a
>> freebsd 1.1 (or maybe 2.0?) image into a subdirectory, and after installing
>> various
>> compat packagesand options and a.out support and changing MAX_PID to be
>> 6, I was able to
>> chroot to it and do a "make world". Things were stupidly fast.
>> 
>> 
>> Has anyone been able to do such a thing in recent years? One wonders what
>> options one
>> would need and what the oldest Version we could run in this way was..
> 
> Yes, I added support for a.out to amd64, and wrote man page which documents
> all details that are relevant there, see aout(4).
> 

I have a 2.2.5 vbox image, with 256M mem and 1CPU (crashes with SMP) does 
buildworld in just under 4 minutes on 1 core from a i9 9900k.

--
Søren Schmidt
s...@deepcore.dk / s...@freebsd.org
"So much code to hack, so little time"





Re: Curious minds .. etc

2021-10-22 Thread Konstantin Belousov
On Fri, Oct 22, 2021 at 01:07:47AM -0700, Julian Elischer wrote:
> Several years ago (OK, maybe 12 years ago) I did an experiment where I
> unpacked a
> freebsd 1.1 (or maybe 2.0?) image into a subdirectory, and after installing
> various
> compat packagesand options and a.out support and changing MAX_PID to be
> 6, I was able to
> chroot to it and do a "make world". Things were stupidly fast.
> 
> 
> Has anyone been able to do such a thing in recent years? One wonders what
> options one
> would need and what the oldest Version we could run in this way was..

Yes, I added support for a.out to amd64, and wrote man page which documents
all details that are relevant there, see aout(4).



Re: Curious minds .. etc

2021-10-22 Thread Gary Jennejohn
On Fri, 22 Oct 2021 01:07:47 -0700
Julian Elischer  wrote:

> Several years ago (OK, maybe 12 years ago) I did an experiment where I 
> unpacked a
> freebsd 1.1 (or maybe 2.0?) image into a subdirectory, and after installing 
> various
> compat packagesand options and a.out support and changing MAX_PID to be 
> 6, I was able to
> chroot to it and do a "make world". Things were stupidly fast.
> 
> 
> Has anyone been able to do such a thing in recent years? One wonders what 
> options one
> would need and what the oldest Version we could run in this way was..
> 

Well, there's still a /usr/ports/misc/compat4x, which is the oldest version
supported.  So that could still work, although it's not obvious whether it
will work with e.g. FBSD-14.  The most recent compat version is for 12x.

The good old days, when the kernel was on the order of 90kB and 256kB
of memory was a lot and big disks had one or two hundred MB.

-- 
Gary Jennejohn



Curious minds .. etc

2021-10-22 Thread Julian Elischer
Several years ago (OK, maybe 12 years ago) I did an experiment where I 
unpacked a
freebsd 1.1 (or maybe 2.0?) image into a subdirectory, and after 
installing various
compat packagesand options and a.out support and changing MAX_PID to 
be 6, I was able to

chroot to it and do a "make world". Things were stupidly fast.


Has anyone been able to do such a thing in recent years? One wonders 
what options one

would need and what the oldest Version we could run in this way was..


J