Bug 217013
Summary: | 4.14.304 regression: error building with arch/x86/kernel/fpu/init.c due to missing _Alignof support in GCC < 4.7 | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | it |
Component: | x86-64 | Assignee: | gregkh |
Status: | NEW --- | ||
Severity: | normal | CC: | bp, greg, gregkh |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.14.304 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
it
2023-02-08 10:24:07 UTC
Does it build fine if you revert this commit ontop? What toolchain are you using to build? It builds fine without this commit, yes. I'm using standard (debian) tools for compiling (make) - but older versions because the OS is not up2date (and can not be updated). What does gcc --version say? gcc (Debian 4.4.5-8) 4.4.5 Looks like _Alignof came with gcc 4.7: https://gcc.gnu.org/gcc-4.7/changes.html According to Documentation/Changes, min gcc version for building 4.14 is 3.2 so I guess this patch needs to be reverted from stable. Assigning to Greg. Ick, yeah, that's not good. Using old compilers usually isn't a good idea, but for this one we should probably revert it. Can you send email to stable@vger.kernel.org and we can take it from there. If this showed up in 4.7, we'll need to also handle this for 4.19 if someone complains as the "minimum" gcc for that is 4.6 right now. |