[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Rust problem i386
>>> Hmm, that's trying to build 1.42.0 with 1.40.0 as a bootstrap,
>>> perhaps? I suspect that won't work -- rust only provides one
>>> version "backward compatibility"; I'll bump the NetBSD bootstraps
>>> to 1.41.1, and I have rust built locally with this combination.
>> Okay. I'll do another build cycle here. Thanks for all the rust work.
> This could be challenging Build now fails with:
> running: /comp/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo
> build --manifest-path
> Compiling serde v1.0.99
> text relocations
> Cannot write-enable text segment: Permission denied
> --> /comp/obj/pkgsrc/lang/rust/work/rustc-1.42.0-src/vendor/serde/src/lib.rs:259:1
> Which is how the rust 1.41 build was failing on i386 (possibly not in
> the same place) before the switch to 1.42.
This is https://github.com/rust-lang/rust/issues/68794, I'm afraid.
Fixed in 1.42.
I beleive what I did to turn this error into a warning was to do
"paxctl +m <rustc bootstrap compiler>" (or was it the "cargo"
bootstrap binary which needed this treatment? I forget...)
Alternatively, if you have the space to fetch all the bootstraps,
you could bump the bootstrap for NetBSD/i386 to 1.42, add
# To build 1.42 with 1.42, this is required:
to Makefile, do "make makesum", and proceed to build 1.42 with
the 1.42 bootstrap which should already be available.
Main Index |
Thread Index |