Closed
Description
Every Rust nightly as of approximately Jan 27, 2019 has failed to build my msp430 application due to assembler errors of the following form:
/home/travis/build/cr1901/AT2XT/target/msp430-none-elf/release/deps/at2xt-37ddc9c42139f11a.at2xt.wity2qy1-cgu.0.rcgu.s:574: Error: r2 should not be used in indexed addressing mode
This is due to a bug in the LLVM backend that has been fixed upstream, but hasn't managed to propagate downstream to rustc
yet (thank you @pftbest for the help).
As I understand it, Rust only updates the LLVM backend occassionally, along with some patches; Is it possible to cherry pick this patch so that the msp430 backend works again before the next version bump? I would open this issue on the Rust LLVM fork, but Issues seems to be disabled for this repository...
Meta
$ rustc --version
rustc 1.33.0-nightly (20c2cba61 2019-01-26)