-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc 1.67.0 internal compiler error for sparc64-unknown-netbsd target when building rust 1.67.0 natively #108117
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
Comments
Just FYI, the native build of 1.67.1 on NetBSD/sparc64 fails the same way. |
In order to assist diagnosis later (if this is actually secretly architecture neutral it may be solved sooner, but if it is arch-specific, it may take a while for a sparc64 expert to come by: they aren't common, lately) I have put the log into a gist: https://gist.github.com/workingjubilee/428fdf2392ec7723b25c1b29f9f573ce Don't worry, it's only 124KiB gzipped. |
@he32 can you try following patch (against 1.67.1)? |
Yep, will try that. It'll take a while -- my sparc64 hosts are not the speediest variants... |
Good news: the native build on NetBSD/sparc64 10.0_BETA succeeded after applying the referenced patch above, pointed to by @psumbera |
Thanks for confirming this. My testing reveals that for version 1.68.0 there is no need for this patch. |
OK, good to know, since upgrading to 1.68.0 is next on my TODO list after applying this patch to our pkgsrc-wip repository. |
Specifically, this is related to rust-lang/rust#108426 and this got referenced from my reported issue at rust-lang/rust#108117 With this a native build of rust on NetBSD/sparc64 10.0_BETA succeeds.
Closing as a duplicate of #108426 (comment); 1.68 has already been released and we don't support versions older than the latest stable. |
Code
Sorry... No code, above trying to build the rust compiler itself,
natively, on NetBSD/sparc64 10.0_BETA.
Meta
The issue is observed while using rust 1.66.0 to build 1.67.0 for the perhaps
a little obscure target
sparc64-unknown-netbsd
.Rust 1.66.0 itself did build successfully natively on this platform.
I've tried building rust 1.67.0 both with the slightly old external LLVM
(14.0.6) and with the bundled LLVM -- both fail the same way.
The issue occurs rather late in the build, at a time when the natively
built new rustc is being used to build the rust compiler itself again (if I have
understood correctly). The full build log is some 2MB in size, and should
now be downloadable from
https://filesender.sikt.no/?s=download&token=5cb5b8e1-4773-4da2-9e1c-b97daf057004
until march 16 2023.
rustc --version --verbose
:(that's for the already installed 1.66.0 version.)
Error output
Backtrace
The text was updated successfully, but these errors were encountered: