KhronosGroup / KhronosGroup/Vulkan-Loader

GCS (Guarded Control Stack) support is missing

Open
#1,799 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
696
Forks
343
Avg merge
1d 1h
Merged PRs (30d)
17

Description

Describe the bug
When building with GCC15+, binutils 2.44+, glibc 2.41+ and -mbranch-protection=standard on (openSUSE Tumbleweed) aarch64, this enables PAC, BTI and GCS (Guarded Control Stack).
PAC and BTI are already supported, but GCS support is missing.

More details on GCS:

Environment (please complete the following information):

  • OS: openSUSE Tumbleweed aarch64
  • Bitdepth: 64-bit
  • GPU: N/A
  • Graphics Driver: N/A
  • SDK or header version if building from repo: 1.4.328.0
  • Enabled layers:

To Reproduce
Rebuild for aarch64 with GCC15+, binutils 2.44+, glibc 2.41+ and -mbranch-protection=standard

VK_LOADER_DEBUG output
N/A

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the aarch64 build with GCC 15+, binutils 2.44+, glibc 2.41+, and -mbranch-protection=standard, then compare the existing PAC and BTI support. Done means the Vulkan Loader builds successfully with GCS enabled alongside PAC and BTI.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.