Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ArcticFox browser on NetBSD 10.1 sparc64
On Thu, May 28, 2026 at 13:09:30 +0200, Riccardo Mottola wrote:
> To give an idea: on my 2-core amd64 NetBSD build it takes 2 hours,
> on my G4 1.33GHz iBook it takes 4-5hours, on my Netra T1 Ultra IIe
> 500Mhz it takes 40 hours!
I've got reminded about this b/c I've finally switched on my Ultra 1
and I'm building cmake package. It has been chugging along for a day
and a half already.
$ ls -lt */+CONTENTS | sed 1q; date
-rw-r--r-- 1 root wheel 1417 Jul 25 15:03 zstd-1.5.7/+CONTENTS
Sun Jul 26 23:32:13 MSK 2026
And that reminded me of something else. Not only g++ is a pig, it
also has -fkeep-inline-functions on by default, iirc. And since
anything defined inside class scope is implicitly inline - there's a
_lot_ of it. So you end up compiling and writing out all of that code
over, and over, and over again for each object file.
I stumbled into this with Self. With its #pragma implementation and
precompiled headers fixed the compilation time went down like 10x. I
don't have exact numbers saved, but in one mail I mention my
reasonably decent amd64 laptop going from ~20min to ~2min. ISTR my g4
mini builds went from 3hrs+ to ~20min.
So you might want to look into whether it might be a factorin your
builds.
-uwe
Home |
Main Index |
Thread Index |
Old Index