-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Revert "rustc: build with jemalloc" #192328
Conversation
This reverts commit 2a69902. hopefully this fixes building x86_64-darwin under emulation on aarch64-darwin
What about the linked issue (rust-lang/rust#92173), though...? Can we risk that? |
I'd rather not but hopefully this will unblock staging-next and buy us a bit of time. |
I have a more proper solution for this, but don't have any more time today to run what I hope to be the final test build of If I can get this working (tomorrow), I'll PR it. If not, we can merge this to unblock so we have more time to figure this out. Unless you want to merge this now instead of waiting -- let me know. |
Can you push it to a branch? Maybe we can get someone else to test it? |
After actually reading the comment I was basing this off of (rust-lang/rust#92173 (comment)), it looks like my idea (building rustc with the 11.0 SDK and system allocator) probably won't fix this. We could always give it a try (winterqt@b34decf), but sadly it looks like we either have to fix compiling jemalloc under Rosetta (I may take a stab at this, though I have no idea what I'm doing), keep a native x86_64-darwin builder around (and use jemalloc), or use the system allocator (and maybe run into random crashes (see rust-lang/rust#92173)). I say these are the only options because it looks like the SDK bump wouldn't even help here, as it wouldn't get us to Xcode 13.3. (I have no clue what SDK version these issues started at though, so...) |
I'd be a bit concerned about having |
Yup, I know -- this was just a stopgap (if it actually fixed the issue at hand), and might've caused some issues for a few packages. (Though Go hasn't had any issues with this, AFAIK?) |
Don't think there has been any issues but may not be a useful indicator, relatively few go packages use sdk features that aren't already propagated by go (and it only uses a couple). At the moment I think merging this PR is probably the least bad option, for the next staging cycle we can try switching to the newer sdk or finding a jemalloc fix. |
Agreed -- let's buy us some time, even if this may be a ticking time bomb (maybe we should reopen #144704 so people are aware that this probably will be occurring on unstable?) |
Good idea but I'll wait a bit until we're closer to it landing in master. |
Reopened #144704. |
This reverts commit 2a69902.
hopefully this fixes building x86_64-darwin under emulation on aarch64-darwin
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes