Skip to content

make build of aarch64 linux/linux-esx packages fail due to gcc 12.5.0 / binutils 2.46.1 requirements #1682

Description

@dcasota

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions