[Top] [All Lists]

Re: Embedded MIPS/Linux Needs

Subject: Re: Embedded MIPS/Linux Needs
From: Keith M Wesolowski <>
Date: Thu, 22 Mar 2001 11:22:29 -0800
Cc: Justin Carlson <>,
In-reply-to: <Pine.LNX.4.21.0103221402430.19179-100000@ns>; from on Thu, Mar 22, 2001 at 02:03:43PM -0500
References: <> <Pine.LNX.4.21.0103221402430.19179-100000@ns>
User-agent: Mutt/1.2.5i
On Thu, Mar 22, 2001 at 02:03:43PM -0500, wrote:

> (It sorta produces useable code... usually..... on tuesdays... if it's a
> blue moon)

gcc 3.0 for mips64 requires hacks to even accept the arguments the
kernel compile wants to give, and even then it reliably produces
extremely incorrect code.  For example:

int i = 0;
prom_printf ("%d", i);

Might yield something like


- basically, anything but 0.  The code that causes this is horribly
wrong that it wasn't even worth looking at.  There are all sorts of
similar, related, and dissimilar problems.

On the other hand, the same compiler for mips (not 64) reliably
produces working 2.4 kernels...

Keith M Wesolowski <>
------(( Project Foobazco Coordinator and Network Administrator ))------
"I should have crushed his marketing-addled skull with a fucking bat."

<Prev in Thread] Current Thread [Next in Thread>