diff options
author | 2022-12-17 12:44:35 +0800 | |
---|---|---|
committer | 2023-02-10 21:28:25 +0100 | |
commit | 8849818679478933dd1d9718741f4daa3f4e8b86 (patch) | |
tree | 9cf7727eca7cb8ea2993909f1eace565aae8f56f /.gitattributes | |
parent | rust: arch/um: Use 'pie' relocation mode under UML (diff) | |
download | linux-8849818679478933dd1d9718741f4daa3f4e8b86.tar.gz linux-8849818679478933dd1d9718741f4daa3f4e8b86.tar.bz2 linux-8849818679478933dd1d9718741f4daa3f4e8b86.zip |
rust: arch/um: Disable FP/SIMD instruction to match x86
The kernel disables all SSE and similar FP/SIMD instructions on
x86-based architectures (partly because we shouldn't be using floats in
the kernel, and partly to avoid the need for stack alignment, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383 )
UML does not do the same thing, which isn't in itself a problem, but
does add to the list of differences between UML and "normal" x86 builds.
In addition, there was a crash bug with LLVM < 15 / rustc < 1.65 when
building with SSE, so disabling it fixes rust builds with earlier
compiler versions, see:
https://github.com/Rust-for-Linux/linux/pull/881
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Sergio González Collado <sergio.collado@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions