-
Notifications
You must be signed in to change notification settings - Fork 67
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
Static vs dynamic linking defaults for MUSL targets #416
Comments
This meeting has been scheduled for March 26 at 10am EDT (14:00 UTC). |
3 tasks
We discussed this doc: https://hackmd.io/YoAGSxUsRWumVvbRiHddrg?view The zulip archive will serve as the official record for the meeting: https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bdesign.20meeting.5D.202021-03-26.20musl.20linking.20compiler-team.23416/near/231967786 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Meeting proposal info
Title: Static vs dynamic linking defaults for MUSL targets
Type: it's complicated?
Detailed design doc for meeting
Summary
Rust currently has Tier 2 targets for a number of platforms while using MUSL for libc (various flavors of ARM, MIPS and x86) as well as some Tier 3 targets (Hexagon, PowerPC, RISC-V, S390x and ARMv7 Thumb). Currently (most of) these targets statically link to MUSL libc during compilation. While that can be desirable to build fully statically linked binaries, this creates issues for MUSL based Linux distros which want to dynamically link libc. These issues have lead to a suboptimal experience for distro maintainers trying to bring Rust up in their distros.
rust-lang/rust#82556 seeks to improve the status quo. Originally, the plan was to create a new set of targets for dynamically linked MUSL. Since then, a new approach has been suggested which would not require duplicating the set of MUSL targets: change the current targets to dynamically link by default (which matches the behavior of the corresponding glibc targets). This approach has support from participants in the PR thread but there are some questions that should be resolved:
About this issue
This issue corresponds to a meeting proposal for the compiler team
steering meeting. It corresponds to a possible topic of
discussion. You can read more about the steering meeting procedure
here.
Comment policy
These issues are meant to be used as an "announcements channel"
regarding the proposal, and not as a place to discuss the technical
details. Feel free to subscribe to updates. We'll post comments when
reviewing the proposal in meetings or making a scheduling decision.
In the meantime, if you have questions or ideas, ping the proposers
on Zulip (or elsewhere).
The text was updated successfully, but these errors were encountered: