Port-evbmips archive

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

Re: Crosscompiling NetBSD for Fonera not working with HEAD?



On Wed, Jul 01, 2009 at 12:22:22AM +0200, Fredrik Pettai wrote:
>> could you dumps register contents ? with a bit of luck, we will be
>> able to get the stack pointer and examine further.
>
> Is this what you asked for?
>
> db> show registers
> [snip]

Yes, it was, same as I asked for in the PR :-)

Since the broken address is also in t9, it looks like it's gotten a
bogus function pointer from the GOT. Which is probably because the
kernel doesn't have one. Kernel bits are supposed to be compiled with
-mno-abicalls, which is normally handled by Makefile.MIPS.

Is there something involved that's compiled with custom CFLAGS?

(Finding out where ra is pointing like I suggested in the PR will
probably identify it.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index