-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
SIGKILL 9 on aarch64-darwin after 1.83 upgrade #197
Comments
Narrowed it down to 3497106. The manifest update to Rust 1.83. |
Possibly related to NixOS/nixpkgs#299606 |
I also tested a cross build with Fun rabbithole: |
Horrible binary patch to force it to use toolchain.overrideAttrs (prev: {
buildCommand = ''
${prev.buildCommand}
source ${pkgs.darwin.signingUtils}
driver=$(echo $out/lib/librustc_driver-*.dylib)
${pkgs.bbe}/bin/bbe -e 's#/usr/bin/strip#strip-xxxxxxxx#' $driver > $driver.new
mv $driver.new $driver
signIfRequired $driver
echo "#!${pkgs.bash}/bin/bash" >> $out/bin/strip-xxxxxxxx
echo 'exec strip "$@"' >> $out/bin/strip-xxxxxxxx
chmod +x $out/bin/strip-xxxxxxxx
'';
}); This fixes the issue, though don't actually use this. |
Also related: NixOS/nixpkgs#362388. |
Not sure what we can really do about this. Some options that come to mind:
The least hacky approach might be to suggest users to disable stripping and wait for 1.84. |
This is what I've done. Pinned Rust to 1.82 for now. Not a big deal. |
No longer an issue in 1.84. |
Something between 9051466..3497106 is causing builds on
aarch64-darwin
getting SIGKILL-ed. Anything that requires a build script fails with:Downgrading rust-overlay (keeping the same
nixpkgs
revision) solves the issue.Possible candidates #196, #192, #190?The text was updated successfully, but these errors were encountered: