Closed jmschonfeld closed 2 months ago
@swift-ci please test
@swift-ci please test linux platform
@swift-ci please test
@swift-ci please test macOS platform
@jmschonfeld, I think you should have gotten this onto the 6.0.0 branch also at that time, as it is currently wrong for the patch releases:
> readelf -d swift-6.0*RELEASE*/usr/lib/swift/host/plugins/libFoundationMacros.so|ag "runpath|File:"
File: swift-6.0.1-RELEASE-fedora39/usr/lib/swift/host/plugins/libFoundationMacros.so
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../../../swift/:$ORIGIN/..]
File: swift-6.0-RELEASE-fedora39/usr/lib/swift/host/plugins/libFoundationMacros.so
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../../../swift/:$ORIGIN/..]
I don't know how much it matters though, as the glibc dynamic linker may just pick it up from an rpath from the compiler executable instead, so we can just wait till 6.0.2 till it's fixed.
Explanation: A configuration change that updates the rpath value of
libFoundationMacros.so
to be correct Scope: Only impacts the rpath value oflibFoundationMacros.so
Original PR: https://github.com/apple/swift-foundation/pull/896 Risk: Low - scope is narrow, and fixes a regression that causes the macro to not be loadable so it can't really make anything worse :) Testing: Testing done via local testing Reviewer: @parkera