-
Notifications
You must be signed in to change notification settings - Fork 3
Building with --cfg disable_float
still generates SSE error
#3
Comments
I'm on mobile right now, so just a guess: Try building it using cargo, see the Readme for instructions. Config flags of |
Oh, thank you so much, that fixes it. Building with |
Great! Thanks for the rustc flag, maybe I should add it to the Readme. |
Btw, I created the same thing for liballoc and libcollections as well. Maybe it's useful. I plan to add some scripts to automate the needed steps. But I'm pretty busy at the moment, so it will take some time |
Oh, neat, I hadn't realised that. I'm currently including submodules for both |
I'm trying to build
libcore
from this repo using a target that disables SSE. When I runrustc
with--cfg disable_float
, I still getLLVM ERROR: SSE register return with SSE disabled
.Here's the whole command:
And here's my
x86_64-unknown-none-gnu
target:It's quite possible that I'm doing something wrong and this is my fault, but I'm really not sure what. Otherwise, it seems to me that there must be some floating-point code somewhere in
libcore
that thedisable_float
config doesn't disable. It's possible that something was added after the version oflibcore
that the patch was written against, I suppose?Any help with this issue would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: