Linux: Fix -static-executable and remove swiftImageInspectionShared#34180
Linux: Fix -static-executable and remove swiftImageInspectionShared#34180swift-ci merged 1 commit intoswiftlang:mainfrom
Conversation
- Remove references to swiftImageInspectionShared on Linux and dont have
split libraries between static/non-static linked executables.
- -static-executable now links correctly Linux.
Note: swift::lookupSymbol() will not work on statically linked
executables but this can be worked around by using the
https://github.com/swift-server/swift-backtrace package.
|
Please test with following pull request: @swift-ci please test |
compnerd
left a comment
There was a problem hiding this comment.
This looks largely like my original change with the addition of a test case!
|
Please test with following pull request: @swift-ci please test |
|
Build failed |
|
Build failed |
|
Please test with following pull request: @swift-ci please test |
|
@swift-ci test and merge |
1 similar comment
|
@swift-ci test and merge |
|
@spevans @compnerd Hiya. It looks like this change may have broken static linking on at least CentOS 7: What should we do here? |
This change is required by swiftlang#34180
This change is required by swiftlang#34180
|
@brentdax Could it simply be the case that the The lit script is fairly simple but does include the command check: Which is probably breaking it. However it looks like Btw, is there anyway to CI tests on Centos? |
|
I have opened #34275 to fix this. |
Remove references to swiftImageInspectionShared on Linux and dont have
split libraries between static/non-static linked executables.
-static-executable now links correctly Linux.
Note: swift::lookupSymbol() will not work on statically linked
executables but this can be worked around by using the
https://github.com/swift-server/swift-backtrace package.