Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented Aug 30, 2023

RPATH to 'lib/swift/host' was missing in Darwin platform.

Failure caused by #68082.
Before #68082 in macOS environment, sourcekitd-test had RPATH to lib/swift/host, but sourcekitdInProc didn't. It worked because .dylib inherits executable's RPATH. #68082 changed so sourcekit-test doesn't have RPATH to swiftCore and lib/swift/host because that executable itself didn't depend on it. But since sourcekitdInProc didn't have correct RPATH, it failed. Solution here is that sourcekitdInProc have the correct RPATH.

rdar://114700107

RPATH to 'lib/swift/host' was missing in Darwin platform.
@rintaro
Copy link
Member Author

rintaro commented Aug 30, 2023

@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Aug 30, 2023

preset=asan
@swift-ci Please test with preset macOS platform

@rintaro
Copy link
Member Author

rintaro commented Aug 31, 2023

ASAN failure is unrelated.

@rintaro rintaro merged commit 6ddb1cb into swiftlang:main Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants