Closed
Description
$ rustup default nightly-2018-07-07
$ rustup component add rust-src
$ cp -r $(rustc --print sysroot)/lib/rustlib/src/rust/src .
$ cd src/libcore
$ cargo build --target msp430-none-elf
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling core v0.0.0 (file:///tmp/src/libcore)
LLVM ERROR: Cannot select: 0x7f6cb04cf750: i8,ch = AtomicLoad<Volatile LD1[%17]> 0x7f6cb04cfa90:1, 0x7f6cb04cfa90
0x7f6cb04cfa90: i16,ch = load<LD2[%5](dereferenceable)> 0x7f6cb045d440, FrameIndex:i16<2>, undef:i16
0x7f6cb04cf340: i16 = FrameIndex<2>
0x7f6cb04cf068: i16 = undef
In function: _ZN4core4sync6atomic11atomic_load17h43092c5ae50dfbfdE
error: Could not compile `core`.
To learn more, run the command again with --verbose.
$ rustc --version
rustc 1.29.0-nightly (e06c87544 2018-07-06)
Last successful build was on nightly-2018-06-29-x86_64-unknown-linux-gnu rustc 1.28.0-nightly (e3bf634 2018-06-28).
Next builds fails. I check nightly-2018-07-07-x86_64-unknown-linux-gnu unchanged - rustc 1.29.0-nightly (e06c875 2018-07-06) and 1.30.0-nightly (4591a24 2018-09-22)
I see some changes for msp430 between 2018-06-29 and 2018-07-07: https://github.com/rust-lang/rust/compare/e3bf634e0..e06c87544#diff-7fdefb61a42e0c532d40f9742f7bf8cc - may it cause error?