Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14521] wrong RUNPATH in libPackagePlugin.so library in recent nightly toolchains #4433

Closed
tayloraswift opened this issue Apr 23, 2021 · 2 comments
Labels

Comments

@tayloraswift
Copy link

Previous ID SR-14521
Radar rdar://problem/77076996
Original Reporter @Kelvin13
Type Bug
Status Closed
Resolution Done
Environment

$ swift --version
Swift version 5.5-dev (LLVM fb5a91b4e892ed9, Swift f17142883421ec0)
Target: x86_64-unknown-linux-gnu

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: d251a628fec823d06e04b360bae20269

Issue Description:

currently, with the most recent nightly toolchain (`2021-04-18-a`), package plugins do not work due to a wrong `RUNPATH` in the `libPackagePlugin.so` binary.

the `RUNPATH` is currently:

$ORIGIN/../../linux

it should be:

$ORIGIN/../linux

changing the RUNPATH to the correct destination using a tool like `chrpath` fixes the issue.

see this forum post for more details

@typesanitizer
Copy link

@swift-ci create

@finagolfin
Copy link
Contributor

This was fixed by Anders last month:

#3464

Please verify that it now works and close the issue if so. A pull was just merged to get that change into the 5.5 branch too.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants