[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Illegal instruction" for most trivial of programs

On Feb 4, 11:50 am, Wouter Verhelst <wou...@debian.org> wrote:
> On Sat, Feb 02, 2008 at 12:23:39PM -0800, James Kimble wrote:
> > I'm running kernel 2.6.10 on a Coldfire (5484) that I ported from a
> > Freescale BSP for this family of processors.
> > Everything seems to work OK but I keep getting the message "Illegal
> > instruction" after the execution of any program I run. For example:
> You are aware that the instruction set differs between ColdFire and
> "classic" m68k? I've been working on modifying the toolchain so that a
> common subset would be used for Debian, allowing it to work on both
> "classic" hardware and ColdFires, but that work hasn't been finished yet
> (in fact, it hasn't made much progress, since I'm currently on this all
> by myself). If you're trying Debian binaries, then obviously this won't
> work; if you want to run Linux, you need to use the toolchain from the
> Freescale BSP.
> --
> <Lo-lan-do> Home is where you have to wash the dishes.
>   -- #debian-devel, Freenode, 2004-09-22
> --
> To UNSUBSCRIBE, email to debian-68k-REQU...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

No I wasn't aware of that...  I am using the compiler that is used by
the Freescale BSP. The program runs and executes its glib calls it
just always gives that Illegal command" message when it exits. I've
got more complex programs running as well I just used the above one to
demonstrate how the simplest program still causes the message. Would
the program execute at all with the "Classic m68K" or would it just
act like mine is?

Reply to: