Skip to content

RFC Bump gcc minimum version to 3.4, 4.1 for x86

H. Peter Anvin linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Disallow building with gcc < 3.4Documentation/Changes include/linux/compiler-gcc3.h+2 -151 reply
2/5x86, gcc: Disallow building Linux/x86 with gcc 3.x/4.0arch/x86/kernel/Makefile arch/x86/kernel/compiler.c+7 -10 replies
3/5x86, cpu: Remove gcc 3.x workarounds in <asm/cpufeature.h>arch/x86/include/asm/cpufeature.h+0 -70 replies
4/5x86, mem: Remove gcc < 4.1 support code for memcpy()arch/x86/include/asm/string_32.h+0 -210 replies
5/5x86, bitops: Remove gcc < 4.1 workaroundarch/x86/include/asm/bitops.h+0 -70 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRussell King
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/5] Bump gcc minimum version to 3.4, 4.1 for x86

This patchset bumps the minimum supported gcc version to 3.4 for the general kernel, and to 4.1 for x86.

We have had a rash of bug reports related to these really old compilers and their associated binutils version lately, and it is clear that the support burden of these older compilers is getting to be excessive. If you really want to build a kernel on a system that old you can build or obtain an updated gcc/binutils as well.

 Documentation/Changes             |    2 +-
 arch/x86/include/asm/bitops.h     |    7 -------
 arch/x86/include/asm/cpufeature.h |    7 -------
 arch/x86/include/asm/string_32.h  |   21 ---------------------
 arch/x86/kernel/Makefile          |    3 ++-
 arch/x86/kernel/compiler.c        |    5 +++++
 include/linux/compiler-gcc3.h     |   15 +--------------
 7 files changed, 9 insertions(+), 51 deletions(-)