-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
rust: 1.31.0 -> 1.32.0 #54323
rust: 1.31.0 -> 1.32.0 #54323
Conversation
I think this is not relevant there. rustc still compiled with jemalloc by default |
That's true for rustc, it gets jemalloc from crate now, only for selected architectures. What is relevant (see rust-lang/rust@61e8944) that they removed bundled jemalloc and option to build with external one. |
Have you tried building a create? |
Hello @Mic92, thanks for testing. Yes, tried with random crates from the nixpkgs and relatively big internal rust project. And it worked fine. I got the same segfault with
Maybe it will be good idea to use bundled llvm by default and leave a option for building with system llvm. Stability should be more important than closure size. :) What do you think? |
cc @symphorien |
Will this change suffice ?
|
Btw. I get the exact same failure when compiling fd-find with archlinux that also uses the system llvm...
|
I also reported the error upstream: rust-lang/rust#57762 |
It seems to affect also other projects that have |
- also accept the full url of pull request i.e. NixOS#54323 - stream-parse nix-env's eval output - fix logs for failed builds issued by remote builders - prepare code for overlays like: NixOS#53934
@lblasc can you try to apply llvm-mirror/llvm@da1fb72 using |
@Mic92 applied patch:
But llvm failed to build:
|
llvm-mirror/llvm@cc1f2a5 is also needed for tests to pass.
|
Ah. Sorry I forgot we were running llvm tests also. |
@lblasc can you add this change and move the pull request to the staging branch? |
Rebased on latest staging, build is running fine. |
@Mic92 anything else needed? |
on it |
Failed to build:
|
Oh, this way before we even had a chance to build rust. |
The test failure in libuv does not seem nixpkgs-specific: libuv/libuv#2117 |
This seems not like good idea on hydra anyway: https://github.com/libuv/libuv/blob/v1.x/test/test-hrtime.c |
@grahamc in case you have time, can you apply https://github.com/libuv/libuv/commit/d9f42a0fee63d094e35a1ed7d3a8a5dc3f73b90c.patch to libuv? |
Mind pushing a commit to this PR (or a different branch) applying that patch? |
nevermind, I applied it |
That patch didn't seem to make a difference -- same test fails. |
Ah. Sorry, we are building libuv with autotools of course: https://github.com/libuv/libuv/commit/5d6ab57e582d9713fa4a209f90551d4c1c14fcf8.patch |
|
I will proceed without testing rust on macOS. We have to fix the issue with libuv anyway. |
Motivation for this change
Bump Rust to latest release, also closes #54183
Notes:
disable-test-inherit-env.patch
- this test got removed in upstreamvendor
dir location fromsrc/vendor
to justvendor
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)