NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Stable kernel 9.0 compilation fail



Thanks for the suggestion. I was able to compile the complete NetBSD
stable environment by letting the "base system part" empty.

I will recompile soon everything with "-march=native" to see if the
performances are better.

Best regards

Le Mon, 17 Aug 2020 12:36:27 +0200,
Martin Husemann <martin%duskware.de@localhost> a écrit :

> On Mon, Aug 17, 2020 at 12:31:08PM +0200, Pierre Dupond wrote:
> > Could you Please indicate me what instructions are useful in this
> > file to compile
> > correctly the kernel (I was successful when compiling the tools)?  
> 
> I would suggest to let the "base system part" completely empty:
> 
> --8<--
> # The following lines apply to the base system.
> WARNS= 4
> 
> CPUFLAGS+=-march=native
> -->8--  
> 
> The WARNS=4 is what breaks your kernel compile. In general we use the
> max warning level that we found works on all architectures and used
> compiler versions (different warning levels in different directories),
> forcing anything else without being ready to fix fallout is not
> usefull.
> 
> The -march=native might be ok, but it does not buy much and also can
> cause occasional breakage.
> 
> Martin



Home | Main Index | Thread Index | Old Index