rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
921 stars 60 forks source link

"SSE register return with SSE disabled" error when compiling Rust for Linux #334

Open antoyo opened 1 year ago

antoyo commented 1 year ago

https://github.com/rust-lang/rustc_codegen_gcc/blob/f3b82df8f8f59238bf9ba9aafa4896e8a72c888e/src/attributes.rs#L104-L106

bjorn3 commented 1 year ago

Maybe -msoft-float -mno-fp-ret-in-387 would work? I don't know if the latter option has any effect on x86_64 though.