[Pkg-rust-maintainers] help required, rustc on raspbian.

peter green plugwash at p10link.net
Tue Mar 20 01:02:03 UTC 2018


On 20/03/18 00:01, John Paul Adrian Glaubitz wrote:
>
>> On Mar 20, 2018, at 8:31 AM, peter green <plugwash at p10link.net> wrote:
>>
>> I downgraded cargo to 0.24 and was able to successfully complete the build, unfortunately it came out armv7 contaminated but that is a separate issue.
> Didn’t you remove the architecture mapping from Debian to Rust?
>
> You shouldn’t remove it but change it to map „armhf“ to „armv6“.
>
> Adrian

Hmm, at least in previous versions of rust arm-linux-gnueabihf represented armv6 and the rust website still seems to indicate that is the case.

Furthermore on closer inspection it seems it is only three files that are coming out with armv7 tags on them. If the overall build was for armv7 then I would have expected pretty much all the rust files to show up as armv7.

usr/lib/debug/.build-id/64/3fb7a18de895c10fd50a68749d2a2962399ecf.debug
usr/lib/arm-linux-gnueabihf/librustc_trans-a0ff29ab571063f7.so
usr/lib/rustlib/arm-unknown-linux-gnueabihf/lib/librustc_binaryen-2b924aa5beeb6834.rlib

The next thing I'm going to try is building the updated rust with itself, to see if that makes any difference.




More information about the Pkg-rust-maintainers mailing list