Landing: 964b279b15bc

Project / Subsystem

gcc / ada

Date

2026-03-04

Author

Sebastian Poeplau

Commit

964b279b15bc165056f7a57f43c7c1a95c135cf2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
964b279b15bc165056f7a57f43c7c1a95c135cf2
source_type
github
headline
Ada: Align alternate stack on Linux for address sanitizer.
tldr
The Ada runtime now aligns the alternate stack on Linux to meet the requirements of the address sanitizer.
author
Sebastian Poeplau
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • asan
  • memory
  • alignment
discussion_id_link
bugzilla_pr
date
2026-03-04T00:00:00.000Z

The address sanitizer (ASan) requires the alternate stack to be 8-byte aligned. This commit adds an alignment attribute to the alternate stack in the Ada runtime when compiling for Linux. This ensures compatibility with ASan, which detects memory errors, when using alternate stacks.