Landing: 6cd854ea878c

Project / Subsystem

gcc / ada

Date

2025-11-14

Author

Sebastian Poeplau

Commit

6cd854ea878c44ba8b96fede81a95ff6a8e97b65

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
6cd854ea878c44ba8b96fede81a95ff6a8e97b65
source_type
github
headline
Extend runtime GPR files for building shared libraries.
tldr
The Ada runtime GPR files now support building shared and static PIC libraries.
author
Sebastian Poeplau
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • runtime
  • GPR
  • shared library
  • static library
discussion_id_link
bugzilla_pr
date
2025-11-14T00:00:00.000Z

This commit extends the Ada runtime GPR (Gnu Project Repository) project definitions to support shared and static PIC (Position Independent Code) runtime builds. When LIBRARY_KIND is “static-pic”, the libraries gain a “_pic” suffix. When it’s “dynamic”, the Library_Version attribute is configured to set the correct SONAME on Unix and expected symlinks. Additionally, libgnarl.gpr now depends on libgnat.gpr, which is necessary for building shared libraries.