Landing: 7f2bba0d2d08

Project / Subsystem

gcc / libstdc++

Date

2026-06-20

Author

Arsen Arsenović

Commit

7f2bba0d2d08219e79ab6ba543be42ccdb37a760

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
7f2bba0d2d08219e79ab6ba543be42ccdb37a760
source_type
github
headline
libstdc++: Set LD_LIBRARY_PATH for installed compiler tests
tldr
Ensures tests for installed GCC compilers can find libstdc++.so by setting LD_LIBRARY_PATH.
author
Arsen Arsenović
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • testing
discussion_id_link
bugzilla_pr
date
2026-06-20T00:00:00.000Z

When testing an installed GCC compiler, this change now correctly sets the LD_LIBRARY_PATH environment variable. This is crucial for ensuring that newly compiled programs, which depend on libstdc++.so, can locate and link against the necessary shared libraries when the compiler does not embed an RPATH. Without this fix, tests could fail due to missing symbols.