KhronosGroup / KhronosGroup/Vulkan-Loader
GCS (Guarded Control Stack) support is missing
Nobody has claimed this yet.
- 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:
- https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/gcc-15-continuously-improving#guarded
- https://docs.kernel.org/next/arch/arm64/gcs.html
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
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
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