Skip to content

asm_trampoline.S misses GCS flag for aarch64 #142034

@ggardet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions