Re: include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(struct rtw8814a_efuse) == 512"

Arnd Bergmann
2026-04-13T13:47:12Z

On Mon, Apr 13, 2026, at 15:01, David Laight wrote:
> On Mon, 13 Apr 2026 11:30:25 +0200 "Arnd Bergmann" <arnd@arndb.de> wrote:
>> On Mon, Apr 13, 2026, at 11:15, Geert Uytterhoeven wrote:
>>
>> Annotating the union as '__packed' is the correct fix for
>> the theoretical users of OABI, and does nothing on other
>> supported targets in Linux.
>
> The other option is to ensure the specific drivers aren't ever compiled
> for !CONFIG_AEABI.
> Then it'll all get tidied up when you remove it.

That sounds like even more work, for my own testing I have
just stopped building OABI configuration altogether, though
I'm still testing ARMv4 kernels.

> I read that the patches to remove 486 support have been merged.
> I'm sure it would have made sense to drop everything before P-Pro
> so that cmov can be used.

That is an entirely unrelated discussion of course. I don't
think there is any need to discontinue support for 586-class
processors (Pentium, Pentium MMX, MediaGX/GeodeGX1, AMD K6,
Vortex86/DX/MX, Via C3) any earlier than the rest of the
x86-32 kernel support: There is no practical difference
other than compiler flags, and the Vortex86MX+ is still
in production (originally released in 2010 with a projected
10 year support life). This is very different from earlier
486-class CPUs that lack CMPXCHG8B and TSC.

Arnd