WSL2-Linux-Kernel/Documentation/process
Joe Perches cafa0010cd Raise the minimum required gcc version to 4.6
Various architectures fail to build properly with older versions of the
gcc compiler.

An example from Guenter Roeck in thread [1]:
>
>   In file included from ./include/linux/mm.h:17:0,
>                    from ./include/linux/pid_namespace.h:7,
>                    from ./include/linux/ptrace.h:10,
>                    from arch/openrisc/kernel/asm-offsets.c:32:
>   ./include/linux/mm_types.h:497:16: error: flexible array member in otherwise empty struct
>
> This is just an example with gcc 4.5.1 for or32. I have seen the problem
> with gcc 4.4 (for unicore32) as well.

So update the minimum required version of gcc to 4.6.

[1] https://lore.kernel.org/lkml/20180814170904.GA12768@roeck-us.net/

Miscellanea:

 - Update Documentation/process/changes.rst

 - Remove and consolidate version test blocks in compiler-gcc.h for
   versions lower than 4.6

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-20 14:12:38 -07:00
..
1.Intro.rst Doc: Correct typo, "Introdution" => "Introduction" 2016-12-01 10:44:08 -07:00
2.Process.rst Documentation/process: fix reST table border error 2018-06-26 09:01:27 -06:00
3.Early-stage.rst Documentation/process: phrasofix 2017-09-26 14:53:51 -06:00
4.Coding.rst clang-format: add configuration file 2018-04-11 10:28:35 -07:00
5.Posting.rst Documentation/process/posting: wrap text at 80 cols 2018-05-10 15:42:41 -06:00
6.Followthrough.rst
7.AdvancedTopics.rst
8.Conclusion.rst
adding-syscalls.rst syscalls/core, syscalls/x86: Clean up compat syscall stub naming convention 2018-04-09 16:47:28 +02:00
applying-patches.rst docs: process: drop git snapshots from applying-patches.rst 2017-08-30 15:25:30 -06:00
changes.rst Raise the minimum required gcc version to 4.6 2018-08-20 14:12:38 -07:00
clang-format.rst clang-format: add configuration file 2018-04-11 10:28:35 -07:00
code-of-conflict.rst
coding-style.rst clang-format: add configuration file 2018-04-11 10:28:35 -07:00
conf.py
development-process.rst
email-clients.rst doc: Document suitability of IBM Verse for kernel development 2017-06-22 10:22:41 -06:00
howto.rst Documentation/process/howto.rst: add a missing cross-reference 2018-06-29 09:24:15 -06:00
index.rst docs: */index.rst: Add newer documents to their respective index.rst 2018-05-08 09:57:35 -06:00
kernel-docs.rst Fix broken link in Documentation/process/kernel-docs.rst 2018-02-01 12:08:18 -07:00
kernel-driver-statement.rst documentation: add my name to kernel driver statement 2018-03-07 10:16:41 -07:00
kernel-enforcement-statement.rst Documentation updates for 4.16. New stuff includes refcount_t 2018-01-31 19:25:25 -08:00
license-rules.rst COPYING: create a new file with points to the Kernel license files 2018-03-23 12:41:35 -06:00
magic-number.rst staging: irda: remove remaining remants of irda code removal 2018-04-16 11:26:49 +02:00
maintainer-pgp-guide.rst Documentation/process: updates to the PGP guide 2018-04-16 14:03:50 -06:00
management-style.rst Remove gendered language from management style documentation 2018-08-10 16:06:56 -06:00
stable-api-nonsense.rst
stable-kernel-rules.rst docs: Update references to netdev-FAQ 2018-07-26 21:27:54 -07:00
submit-checklist.rst docs: fix process/submit-checklist.rst Sphinx warning 2017-12-21 13:39:32 -07:00
submitting-drivers.rst Documentation: fix driver-api doc refs 2017-10-12 11:12:29 -06:00
submitting-patches.rst docs: Add rest label the_canonical_patch_format 2018-07-26 21:27:54 -07:00
volatile-considered-harmful.rst Documentation/atomic_ops.txt: convert to ReST markup 2016-11-30 17:40:52 -07:00