ARM illegal instruction

Andy Johnson
Mon Jan 19 21:17:00 GMT 2009


I set the cpu type to match the processor listed from my
embedded device's /proc/cpuinfo (ARM922Tid), but both C
and Java programs die with an illegal instruction error.

Looking at the include/linux/autoconf.h that came with
toolkit for the system (based on Linux kernel 2.6.9 and
GCC 3.3.2, it is the CPU the vendor built the kernel for,
so I'm left to assume that somewhere in the build process
something didn't get this cpu information and built a
binary using a default larger instruction set.


Andy Johnson

For unsubscribe information see

More information about the crossgcc mailing list