[HN Gopher] Compiling an OpenBSD kernel 50% faster
       ___________________________________________________________________
        
       Compiling an OpenBSD kernel 50% faster
        
       Author : ingve
       Score  : 26 points
       Date   : 2022-05-08 20:37 UTC (2 hours ago)
        
 (HTM) web link (flak.tedunangst.com)
 (TXT) w3m dump (flak.tedunangst.com)
        
       | mrlonglong wrote:
       | > This is approximately as wise as taking off from Mars in a
       | ragtop rocket, but don't worry, the math all checks out
       | 
       | Straight outta The Martian! Kudos, I got a good laugh.
        
       | gjvc wrote:
       | see also https://ccache.dev/
        
       | imoverclocked wrote:
       | > the bad idea circus is in town...
       | 
       | What a fun post!
       | 
       | > The object files are so large because the kernel is initially
       | compiled with debug symbols.
       | 
       | Is there a way to build without producing debug symbols in the
       | first place?
        
       | jesprenj wrote:
       | I'm a noob. Does OpenBSD not have an alternative to config (make
       | menuconfig) on Linux that does not to compile drivers you don't
       | need?
        
         | yjftsjthsd-h wrote:
         | It does. The author is doing things wrong on purpose:)
        
         | foodstances wrote:
         | You can just edit the kernel config file before compiling.
         | 
         | https://github.com/openbsd/src/blob/master/sys/arch/amd64/co...
        
         | jmclnx wrote:
         | For normal usage on amd64 and i386(?), it is recommended not to
         | compile the kernel. I think the article is geared to Developers
         | and testers of OpenBSD.
        
       | yjftsjthsd-h wrote:
       | It took me way too long to realize that the author was just
       | having fun with insane ideas, not trying to solve a real problem.
       | Great post:)
        
       ___________________________________________________________________
       (page generated 2022-05-08 23:00 UTC)