archives of rust-dev@mozilla.org (2010-2015)
 help / color / mirror / Atom feed
* [rust-dev] ARM illegal instruction
@ 2014-12-17 14:12 Kevin McGuire
  0 siblings, 0 replies; only message in thread
From: Kevin McGuire @ 2014-12-17 14:12 UTC (permalink / raw)
  To: rust-dev

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

If you figure this out let me know, or the mailing list. I am curious what
is wrong.

The only help I can offer is that you try to find the problem. It may or
may not be an illegal instruction. Some rust targets trap segmentation
faults as illegal instruction.

Now you can also try implementing your own _start as pub extern and not
link with rust or system libs -- essentially free standing then insert an
infinite loop and see if the program crashes. The OS should jump directly
to _start so you see?

I am not sure how on linux but if you could get it to dump the address of
the instruction you could use that to figure out what is wrong.

Also I assume you have tried a simple fn main() {} ?

[-- Attachment #2: Type: text/html, Size: 729 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-17 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-17 14:12 [rust-dev] ARM illegal instruction Kevin McGuire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox