Re: Crosscompiling NetBSD for Fonera not working with HEAD?

David Holland <[email protected]> Wed, 1 Jul 2009 08:50:38 +0000
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
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
[email protected]