You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[5.8][CMake] Don't add an extraneous rpath to the swift-frontend (#66122)
Cherrypick of #64103
__Explanation__: The 5.8 release has an incorrect relative runpath added to the compiler on linux, the second one:
```
> readelf -d swift-5.8-RELEASE-ubuntu20.04/usr/bin/swift-frontend | ag runpath
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib/swift/linux:$ORIGIN/../../lib/swift/linux]
This pull fixes that, removing a mild security risk when running the compiler.
```
__Scope__: Only affects the compiler runpath on linux
__Issue__: None
__Risk__: low, as it only removes an unused runpath for the linux compiler
__Testing__: Passed all CI on trunk
__Reviewer__: @edymtt
0 commit comments