# git rev-parse -q --verify 815f0ddb346c196018d4d8f8f55c12b83da1de3f^{commit} 815f0ddb346c196018d4d8f8f55c12b83da1de3f already have revision, skipping fetch # git checkout -q -f -B kisskb 815f0ddb346c196018d4d8f8f55c12b83da1de3f # git clean -qxdf # < git log -1 # commit 815f0ddb346c196018d4d8f8f55c12b83da1de3f # Author: Nick Desaulniers # Date: Wed Aug 22 16:37:24 2018 -0700 # # include/linux/compiler*.h: make compiler-*.h mutually exclusive # # Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") # recently exposed a brittle part of the build for supporting non-gcc # compilers. # # Both Clang and ICC define __GNUC__, __GNUC_MINOR__, and # __GNUC_PATCHLEVEL__ for quick compatibility with code bases that haven't # added compiler specific checks for __clang__ or __INTEL_COMPILER. # # This is brittle, as they happened to get compatibility by posing as a # certain version of GCC. This broke when upgrading the minimal version # of GCC required to build the kernel, to a version above what ICC and # Clang claim to be. # # Rather than always including compiler-gcc.h then undefining or # redefining macros in compiler-intel.h or compiler-clang.h, let's # separate out the compiler specific macro definitions into mutually # exclusive headers, do more proper compiler detection, and keep shared # definitions in compiler_types.h. # # Fixes: cafa0010cd51 ("Raise the minimum required gcc version to 4.6") # Reported-by: Masahiro Yamada # Suggested-by: Eli Friedman # Suggested-by: Joe Perches # Signed-off-by: Nick Desaulniers # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < git log --format=%s --max-count=1 815f0ddb346c196018d4d8f8f55c12b83da1de3f # < make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig KCONFIG_SEED=0x89E8E904 # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # yes \n | make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/fs/hfsplus/xattr.c: In function 'copy_name': /kisskb/src/fs/hfsplus/xattr.c:410:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(buffer, XATTR_MAC_OSX_PREFIX, XATTR_MAC_OSX_PREFIX_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/soc15.c: In function 'soc15_set_ip_blocks': /kisskb/src/drivers/gpu/drm/amd/amdgpu/soc15.c:532:3: warning: #warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." [-Wcpp] # warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." ^~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/soc15.c:551:3: warning: #warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." [-Wcpp] # warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15." ^~~~~~~ /kisskb/src/drivers/scsi/3w-sas.c: In function 'twl_reset_sequence': /kisskb/src/drivers/scsi/3w-sas.c:1328:3: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] strncpy(tw_dev->tw_compat_info.driver_version, TW_DRIVER_VERSION, strlen(TW_DRIVER_VERSION)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c: In function 'ips_send_cmd': /kisskb/src/drivers/scsi/ips.c:3518:6: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] strncpy(inquiry.VendorId, "IBM ", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8); ~~ /kisskb/src/drivers/scsi/ips.c:3520:6: warning: 'strncpy' output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] strncpy(inquiry.ProductId, ^~~~~~~~~~~~~~~~~~~~~~~~~~ "SERVERAID ", 16); ~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c:3522:6: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(inquiry.ProductRevisionLevel, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "1.00", 4); ~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c: In function 'ips_inquiry': /kisskb/src/drivers/scsi/ips.c:4039:2: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] strncpy(inquiry.VendorId, "IBM ", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c:4040:2: warning: 'strncpy' output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] strncpy(inquiry.ProductId, "SERVERAID ", 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c:4041:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(inquiry.ProductRevisionLevel, "1.00", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c: In function 'ips_write_driver_status': /kisskb/src/drivers/scsi/ips.c:5625:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy((char *) ha->nvram->driver_high, IPS_VERSION_HIGH, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c:5626:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy((char *) ha->nvram->driver_low, IPS_VERSION_LOW, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ips.c: In function 'ips_get_bios_version': /kisskb/src/drivers/scsi/ips.c:2243:2: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] strncpy(ha->bios_version, " ?", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 # Build took: 0:05:07.151526