Skip to content

asm_trampoline.S misses GCS flag for aarch64 #142034

Open

Description

@ggardet

Bug report

Bug description:

When building with GCC15+, binutils 2.44+, glibc 2.41+ and -mbranch-protection=standard on aarch64, this enables PAC and BTI as stated in #139808 but also GCS (Guarded Control Stack).
PAC/BTI is already covered with #130864
For GCS, we would need to add some additional gnu properties on top of this patch, similarly to smuellerDD/leancrypto@fe9751f

Maybe #130864 could be updated to also cover GCS?

More details on GCS:

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Activity

  1. added
    type-bug
    on Nov 28, 2025
  2. added
    build
    on Nov 28, 2025
  3. stratakis commented on May 12, 2026

    @stratakis
    Contributor

    Resolved through #130864

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

    buildtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions