[Top] [All Lists]

Re: [Fwd: kernel compilation fails]

To: Philippe De Swert <>
Subject: Re: [Fwd: kernel compilation fails]
From: Ralf Baechle <>
Date: Thu, 16 Jun 2005 11:20:55 +0100
Cc: tom <>, linux-mips <>
In-reply-to: <II68V7$>
Original-recipient: rfc822;
References: <II68V7$>
User-agent: Mutt/1.4.1i
On Thu, Jun 16, 2005 at 10:54:43AM +0100, Philippe De Swert wrote:

> Basically 2.4.18 code is too old to compile as is with gcc 3.3.4. The
> assembler code needs to be inlined with a different syntax. Just look at
> similar files to see how it is done.

Not true.  Gcc 3.3 is probably even is the most commonly used compiler
with 2.4-based systems.  Builds with gcc 3.4 will fail for some 2.4
kernel configurations but at the very least throw loads of warnings.

> As a quick hint here is some code to show how it should look like.
>         __asm__(".set\tmips3\n\t"
>                 "wait\n\t"
>                 ".set\tmips0");
> Notice the \n and \t parts. You are probabely missing those.

Actually more and more code it being formatted using tabs instead of the
\t escape sequence for readability.


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