# git rev-parse -q --verify cafa0010cd51fb711fdcb50fc55f394c5f167a0a^{commit} cafa0010cd51fb711fdcb50fc55f394c5f167a0a already have revision, skipping fetch # git checkout -q -f -B kisskb cafa0010cd51fb711fdcb50fc55f394c5f167a0a # git clean -qxdf # < git log -1 # commit cafa0010cd51fb711fdcb50fc55f394c5f167a0a # Author: Joe Perches # Date: Mon Aug 20 13:15:26 2018 -0700 # # 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 # Reviewed-by: Kees Cook # Reviewed-by: Nick Desaulniers # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < git log --format=%s --max-count=1 cafa0010cd51fb711fdcb50fc55f394c5f167a0a # < make -s -j 8 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- allmodconfig # make -s -j 8 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:40: LSE atomics not supported by binutils /kisskb/src/drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used [-Wunused-variable] static struct h5_vnd rtl_vnd = { ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'sig_ind': /kisskb/src/drivers/isdn/hardware/eicon/message.c:5985:1: warning: the frame size of 2064 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c: In function 'bnxt_hwrm_nvm_req.constprop': /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:49:5: warning: 'nvm_param.dir_type' may be used uninitialized in this function [-Wmaybe-uninitialized] if (nvm_param.dir_type == BNXT_NVM_PORT_CFG) ^ Completed OK # rm -rf /kisskb/build/linus_arm64-allmodconfig_arm64 # Build took: 0:23:57.504633