Use cross compiler to build defconfigs
authorAlexander Popov <alex.popov@linux.com>
Wed, 14 Oct 2020 11:32:20 +0000 (14:32 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 14 Oct 2020 11:32:20 +0000 (14:32 +0300)
kconfig_hardened_check/config_files/defconfigs/arm64_defconfig_5.9.config
kconfig_hardened_check/config_files/defconfigs/arm_defconfig_5.9.config

index d41fdb77a46ce3fcea4c06c5b2afc4d63a09350b..784338f9ccc995579073aa2010b7c0530c33d9f8 100644 (file)
@@ -2,12 +2,11 @@
 # Automatically generated file; DO NOT EDIT.
 # Linux/arm64 5.9.0 Kernel Configuration
 #
-CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)"
+CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (GCC) 9.2.1 20190827 (Red Hat Cross 9.2.1-3)"
 CONFIG_CC_IS_GCC=y
-CONFIG_GCC_VERSION=100201
+CONFIG_GCC_VERSION=90201
 CONFIG_LD_VERSION=234000000
 CONFIG_CLANG_VERSION=0
-CONFIG_CC_CAN_LINK=y
 CONFIG_CC_HAS_ASM_GOTO=y
 CONFIG_CC_HAS_ASM_INLINE=y
 CONFIG_IRQ_WORK=y
@@ -266,7 +265,6 @@ CONFIG_FIX_EARLYCON_MEM=y
 CONFIG_PGTABLE_LEVELS=4
 CONFIG_ARCH_SUPPORTS_UPROBES=y
 CONFIG_ARCH_PROC_KCORE_TEXT=y
-CONFIG_BROKEN_GAS_INST=y
 
 #
 # Platform selection
@@ -412,6 +410,7 @@ CONFIG_KUSER_HELPERS=y
 #
 CONFIG_ARM64_HW_AFDBM=y
 CONFIG_ARM64_PAN=y
+CONFIG_ARM64_LSE_ATOMICS=y
 CONFIG_ARM64_USE_LSE_ATOMICS=y
 CONFIG_ARM64_VHE=y
 # end of ARMv8.1 architectural features
@@ -428,6 +427,10 @@ CONFIG_ARM64_CNP=y
 #
 # ARMv8.3 architectural features
 #
+CONFIG_ARM64_PTR_AUTH=y
+CONFIG_CC_HAS_BRANCH_PROT_PAC_RET=y
+CONFIG_CC_HAS_SIGN_RETURN_ADDRESS=y
+CONFIG_AS_HAS_PAC=y
 CONFIG_AS_HAS_CFI_NEGATE_RA_STATE=y
 # end of ARMv8.3 architectural features
 
@@ -435,12 +438,15 @@ CONFIG_AS_HAS_CFI_NEGATE_RA_STATE=y
 # ARMv8.4 architectural features
 #
 CONFIG_ARM64_AMU_EXTN=y
+CONFIG_AS_HAS_ARMV8_4=y
+CONFIG_ARM64_TLB_RANGE=y
 # end of ARMv8.4 architectural features
 
 #
 # ARMv8.5 architectural features
 #
 CONFIG_ARM64_BTI=y
+CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI=y
 CONFIG_ARM64_E0PD=y
 CONFIG_ARCH_RANDOM=y
 # end of ARMv8.5 architectural features
@@ -451,6 +457,8 @@ CONFIG_ARM64_MODULE_PLTS=y
 CONFIG_RELOCATABLE=y
 CONFIG_RANDOMIZE_BASE=y
 CONFIG_RANDOMIZE_MODULE_REGION_FULL=y
+CONFIG_CC_HAVE_STACKPROTECTOR_SYSREG=y
+CONFIG_STACKPROTECTOR_PER_TASK=y
 # end of Kernel Features
 
 #
index a795524513a3422bec37586a262c277ec08bd906..1c04ebb9846dd21cd286008fe1fe8f6e6a170bab 100644 (file)
@@ -2,11 +2,13 @@
 # Automatically generated file; DO NOT EDIT.
 # Linux/arm 5.9.0 Kernel Configuration
 #
-CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)"
+CONFIG_CC_VERSION_TEXT="arm-linux-gnueabi-gcc (Ubuntu 9.3.0-10ubuntu1) 9.3.0"
 CONFIG_CC_IS_GCC=y
-CONFIG_GCC_VERSION=100201
+CONFIG_GCC_VERSION=90300
 CONFIG_LD_VERSION=234000000
 CONFIG_CLANG_VERSION=0
+CONFIG_CC_CAN_LINK=y
+CONFIG_CC_CAN_LINK_STATIC=y
 CONFIG_CC_HAS_ASM_GOTO=y
 CONFIG_CC_HAS_ASM_INLINE=y
 CONFIG_IRQ_WORK=y
@@ -901,6 +903,7 @@ CONFIG_CRYPTO_CHACHA20_NEON=m
 # CONFIG_CRYPTO_POLY1305_ARM is not set
 # CONFIG_CRYPTO_NHPOLY1305_NEON is not set
 # CONFIG_CRYPTO_CURVE25519_NEON is not set
+CONFIG_AS_VFP_VMRS_FPINST=y
 
 #
 # General architecture-dependent options