On Tue, Apr 19, 2022 at 08:19:07PM -0400, Walter Dnes wrote

> 
>   Possible cause... it's failing with target
> '/usr/lib/gcc/x86_64-pc-linux-gnu/ ***11.2.0*** /include/stddef.h'
> 
> But "gcc-config -l" gives me one line...
>  [1] x86_64-pc-linux-gnu-11.2.1 *
> 
>   I vaguely recall that there's an additional tweak needed to
> align lib versions, but I forget what it is.

  On a hunch, I ran "emerge -1 =ys-devel/gcc-11.2.0", after which
"gcc-config -l" gives "[1] x86_64-pc-linux-gnu-11.2.0 *".  11.2.1 had
completely disappeared.  So I copied .config to another directory, ran
"make mrproper", copied back .config, and the kernel build is happily
compiling away.  For future reference, what do I need to do to ensure a
smooth transition between gcc versions?

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to