Skip to content

Conversation

@etcwilde
Copy link
Member

@etcwilde etcwilde commented Oct 7, 2025

Adding a Glibc overlay for Linux. As part of this, I bumped the stdlib version override to only apply to Apple platforms since that's the only place where those have meaning. This way we don't see warnings about not recognizing the other platforms.

Platform availability is an Apple concept because Swift is shipped as
part of the OS. It doesn't make sense to check or to warn on other
platforms. Only checking and setting it for Apple platforms.
@etcwilde
Copy link
Member Author

etcwilde commented Oct 7, 2025

@swift-ci please smoke test

@etcwilde etcwilde force-pushed the ewilde/runtimes-linux-glibc-overlay branch 2 times, most recently from ca572b0 to 5369578 Compare October 7, 2025 18:50
@etcwilde
Copy link
Member Author

etcwilde commented Oct 7, 2025

@swift-ci please smoke test

Explicit module builds crash the compiler when building the glibc
overlay library. The crash occurs in the Swift driver dependency
scanner. It appears to be related to vfs overlays, modulemaps,
injected header files, and explicit module builds.

This is odd though because the Android builds also have this
combination, but work.
@etcwilde etcwilde force-pushed the ewilde/runtimes-linux-glibc-overlay branch from 5369578 to 59ade4c Compare October 7, 2025 19:45
@etcwilde
Copy link
Member Author

etcwilde commented Oct 7, 2025

@swift-ci please smoke test

@etcwilde
Copy link
Member Author

etcwilde commented Oct 8, 2025

@swift-ci please smoke test Linux Platform

Adding a new glibc overlay for Linux builds. We will eventually need one
for Musl, and if someone really wants to, LLVM and cosmopolitan libcs
are also out there.
@etcwilde etcwilde force-pushed the ewilde/runtimes-linux-glibc-overlay branch from 59ade4c to 44830d7 Compare October 11, 2025 23:07
@etcwilde
Copy link
Member Author

@swift-ci please smoke test

@etcwilde
Copy link
Member Author

@swift-ci please test Windows platform

@etcwilde etcwilde requested a review from edymtt October 14, 2025 18:27
@etcwilde
Copy link
Member Author

@swift-ci please test Windows platform

@etcwilde
Copy link
Member Author

@swift-ci please test Windows

@etcwilde etcwilde merged commit a2dcc71 into swiftlang:main Oct 21, 2025
3 checks passed
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.

3 participants