Describe the bug
Hi @vbrahmajosyula1, Hi @sshedi ,
Since 5fce7ef, Photon 5 builds with gcc 12.5.0 and binutils 2.46.1.
GNU ld 2.46 advertises RELR support, so olddefconfig adds CONFIG_TOOLS_SUPPORT_RELR=y and CONFIG_RELR=y. Those two entries must be in the aarch64 configs (config_aarch64, config-esx_aarch64);
CONFIG_ARCH_HAS_RELR and CONFIG_CC_HAS_ASM_INLINE are already set. With the new symbols present, %prep’s config-applicability diff is a no-op.
Reproduction steps
5.0 aarch64 make build
Expected behavior
successful 5.0 aarch64 make build
Additional context
The following workaround patches config-esx_aarch64and config_aarch64.
fix-photon-aarch64-relr-config.sh
Describe the bug
Hi @vbrahmajosyula1, Hi @sshedi ,
Since 5fce7ef, Photon 5 builds with gcc 12.5.0 and binutils 2.46.1.
GNU ld 2.46 advertises RELR support, so
olddefconfigaddsCONFIG_TOOLS_SUPPORT_RELR=yandCONFIG_RELR=y. Those two entries must be in the aarch64 configs (config_aarch64,config-esx_aarch64);CONFIG_ARCH_HAS_RELRandCONFIG_CC_HAS_ASM_INLINEare already set. With the new symbols present,%prep’s config-applicabilitydiffis a no-op.Reproduction steps
5.0 aarch64 make build
Expected behavior
successful 5.0 aarch64 make build
Additional context
The following workaround patches
config-esx_aarch64andconfig_aarch64.fix-photon-aarch64-relr-config.sh