On Thu, Jul 27, 2023 at 03:34:16AM +0800, Mingzheng Xing wrote:
On 7/27/23 02:02, Conor Dooley wrote:
This is still broken for: CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y CONFIG_AS_VERSION=23500 CONFIG_LD_IS_BFD=y CONFIG_LD_VERSION=23500
Do you mean that these CONFIG_* will cause kernel compilation errors when paired with certain versions of GCC? Or perhaps I misunderstood your meaning.
No, this section is generated by kconfig, although I messed up my trimming of the list & accidentally removed the gcc version, rather than the clang version. Here's the full thing:
CONFIG_CC_VERSION_TEXT="riscv64-unknown-linux-gnu-gcc (g2ee5e430018) 12.2.0" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=120200 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y CONFIG_AS_VERSION=23500 CONFIG_LD_IS_BFD=y CONFIG_LD_VERSION=23500 CONFIG_LLD_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK_STATIC=y CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_PAHOLE_VERSION=0 CONFIG_CONSTRUCTORS=y CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y