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

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Mar 20 01:27:44 UTC 2018

On 03/20/2018 10:02 AM, peter green wrote:
> 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.

Well, I have no idea what some sort of detection kicks in if you remove the
mapping as Debian doesn't currently have an "arm" architecture which could
be mapped to arm-unknown-linux-gnu for rustc.

I would just include the mapping to make sure this is not your problem. It's
not that it takes much work to do that, no?

> 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.

Well, I never had any problems in this regard when explicitly specifying the
architecture in the configure call. Why would you rely on guessing in such
a case?


 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

More information about the Pkg-rust-maintainers mailing list