make build of aarch64 linux/linux-esx packages fail due to gcc 12.5.0 / binutils 2.46.1 requirements
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with config_aarch64 and config-esx_aarch64, then review the 5.0 aarch64 make build and the config-applicability check described in the issue. Confirm the RELR-related symbols are represented in both configs and rerun the aarch64 build; done means the package build succeeds without the workaround script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100