Landing: 5fbbf2d12c6e
Project / Subsystem
gcc / gcn
Date
2026-07-24
Author
Tobias Burnus
Commit
5fbbf2d12c6eac56d83930336ea7093de7c56bb5
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcn
- patch_id
- —
- commit_hash
- 5fbbf2d12c6eac56d83930336ea7093de7c56bb5
- source_type
- github
- headline
- Pass linker search paths to amdgcn-amdhsa linker.
- tldr
- Enables passing `-L<dir>` linker search paths to the amdgcn-amdhsa linker via mkoffload.
- author
- Tobias Burnus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcn
- • linker
- • offloading
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-24T00:00:00.000Z
The mkoffload tool for GCN targets now correctly passes -L<dir> arguments to the amdgcn-amdhsa linker. This is crucial for scenarios where libraries are located in non-standard directories, especially the current directory (.), which is not included in the linker’s default search path. Users can now specify these paths using --offload-options='-L.'.