Re: Linux 5.14

From: Andy Shevchenko
Date: Mon Aug 30 2021 - 07:29:27 EST


On Mon, Aug 30, 2021 at 12:39 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Mon, Aug 30, 2021 at 1:20 AM Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Haven't investigated so far, but all 32-bit builds for x86 on Debian unstable
> gcc (Debian 10.2.1-6) 10.2.1 20210110
> fail for me with
> FATAL: modpost: section header offset=11258999068426292 in file
> 'vmlinux.o' is bigger than filesize=509598908
>
> (hex value is 28000000000034)
>
> Replacing
> #if KERNEL_ELFCLASS == ELFCLASS32
> with
> #if 1
>
> in scripts/mod/modpost.h fixes it to me.
>
> As said, I haven't done any work to find the root cause, so JFYI.
>
> P.S. Yes, I did a completely clean build and tried different kernel
> configurations including just default i386_defconfig in the release,
> the same error. x86_64 builds are good.

Okay, I think I found it. I have had ccache with a quite bit pile of
cache files in between, After cleaning it it seems everything went
fine.

Sorry for the noise.

--
With Best Regards,
Andy Shevchenko