Replies: 2 comments 1 reply
-
No idea sorry. This looks like more of a question for someone who works on the compiler, not for library authors. :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Nvm about reporting to Fixed here: #177 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm developing an OS, and have forked
rust
and added a custom targetx86_64-unknown-emerald
.I'm testing several rust programs, and then I was trying to compile a project that uses this library.
Trying to compile this crate alone also gives the same issue.
For some reason,
rustc
would crash withSIGILL: illegal instruction
.After digging a bit with debugger, looks like its crashing at
llvm::X86TargetLowering::LowerOperation [clone .cold]
.Not sure what's
[clone .cold]
, but its different from the normal function, looks very small in assembly.Here is a gdb backtrace:
Note that using
check
works fine.Not sure if this where we can discuss this. But would love to get some pointers if this is a known issue.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions