linux-mips
[Top] [All Lists]

Re: [PATCH] mips: there is no __GNUC_MAJOR__

To: Alexey Dobriyan <adobriyan@gmail.com>
Subject: Re: [PATCH] mips: there is no __GNUC_MAJOR__
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 24 Jan 2007 00:22:43 +0000
Cc: akpm@osdl.org, linux-mips@linux-mips.org
In-reply-to: <20070123183014.GB5535@martell.zuzino.mipt.ru>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070123183014.GB5535@martell.zuzino.mipt.ru>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Tue, Jan 23, 2007 at 09:30:14PM +0300, Alexey Dobriyan wrote:

> 
> gcc major version number is in __GNUC__. As side effect fix checking with
> sparse if sparse was built with gcc 4.1 and mips cross-compiler is 3.4.
> 
> sparse will inherit version 4.1, __GNUC__ won't be filtered from
> "-dM -E -xc" output, sparse will pick only new major, effectively becoming
> gcc version 3.1 which is unsupported.

Thanks, applied with some polishing to the regex.

  Ralf

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