Re: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

From: Greg KH
Date: Thu Feb 08 2007 - 00:51:36 EST


On Wed, Feb 07, 2007 at 07:28:19PM -0800, Linus Torvalds wrote:
>
>
> On Wed, 7 Feb 2007, Trond Myklebust wrote:
> >
> > The latest pull from the git tree spews out a torrent of the above
> > warning on a recent Fedora Core 6 machine running gcc-4.1.1. config file
> > is attached...
>
> Should hopefully be fixed already in current -git

It is, but now I'm getting this warning instead all over the place:
CC init/initramfs.o
In file included from include/asm/thread_info.h:17,
from include/linux/thread_info.h:22,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:46,
from include/linux/sched.h:47,
from arch/i386/kernel/time.c:35:
include/asm/processor.h: In function 'cpuid_count':
include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness
include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness
include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness
include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness


I'm using gcc 4.1.1 here if that matters any...

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/