[Pkg-rust-maintainers] Bug#941783: rustc FTCBFS, problem linking llvm

Ximin Luo infinity0 at debian.org
Sun Dec 29 22:44:00 GMT 2019

Control: retitle -1 rustc FTCBFS on armel/armhf

Sorry for the early closing, there was a general issue with 1.37 which was fixed in 1.38 and that's what I thought your issue was.

Your issue here is arm-specific, cross-compiling is fine for all other arches: http://crossqa.debian.net/src/rustc

So I think your diagnosis is incorrect:

> Unfortunately it failed to link llvm, it looks like it was trying to link the amd64 llvm into an armhf binary. 

Generally the stage1 compiler is going to be the build architecture (here, amd64 not armhf) because stage1 has to be re-run to build stage2.

Sadly I don't have much time to look into this myself, but if you can find out any clues that are *arm-specific* feel free to add them to this bug report and I can maybe comment further on it.


peter green:
> reopen 941783
> found 941783 1.39.0+dfsg1-4
> thanks
> I have just tested crossbuilding 1.39.0+dfsg1-4 in bullseye, it still fails in the same way.

GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE

More information about the Pkg-rust-maintainers mailing list