Closed
Description
May be related to: #26025
At least compilation seems to work for June 17th nightly and earlier.
I tried this (creating libcore library without the use of vector instructions; this is typically done in case one wants to use libcore in kernel level code):
rustc-nightly/src/libcore $ rustc --crate-type=lib --emit=link -O -C soft-float -C target-feature=-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2 -g --emit=obj -C soft-float -C no-vectorize-slp -C no-vectorize-loops --crate-name core lib.rs
LLVM ERROR: SSE register return with SSE disabled
I expected to see this happen: Successful compilation.
Instead, this happened: LLVM ERROR: SSE register return with SSE disabled
Meta
rustc --version --verbose
:
rustc 1.2.0-nightly (2f56839 2015-06-18)
binary: rustc
commit-hash: 2f56839
commit-date: 2015-06-18
host: x86_64-unknown-linux-gnu
release: 1.2.0-nightly