LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
	linux-kernel@vger.kernel.org
Subject: Re: `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
Date: Wed, 7 Feb 2007 21:50:08 -0800	[thread overview]
Message-ID: <20070208055008.GA13270@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0702071924570.8424@woody.linux-foundation.org>

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

      reply	other threads:[~2007-02-08  5:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08  1:13 Trond Myklebust
2007-02-08  2:22 ` Oleg Verych
2007-02-08  3:28 ` Linus Torvalds
2007-02-08  5:50   ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070208055008.GA13270@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=trond.myklebust@fys.uio.no \
    --subject='Re: `-mcpu='\'' is deprecated. Use `-mtune='\'' or '\''-march='\'' instead.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).