public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber•org>
To: Eric Dumazet <eric.dumazet@gmail•com>
Cc: Alan Modra <amodra@gmail•com>, netdev <netdev@vger•kernel.org>,
	Ambrose Feinstein <ambrose@google•com>,
	Paul Mackerras <paulus@samba•org>,
	Anton Blanchard <anton@samba•org>,
	linuxppc-dev@lists•ozlabs.org, David Miller <davem@davemloft•net>
Subject: Re: [PATCH net-next] af_unix: fix a fatal race with bit fields
Date: Wed, 1 May 2013 08:10:54 -0700	[thread overview]
Message-ID: <20130501081054.267a7851@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1367384672.11020.34.camel@edumazet-glaptop>

On Tue, 30 Apr 2013 22:04:32 -0700
Eric Dumazet <eric.dumazet@gmail•com> wrote:

> On Wed, 2013-05-01 at 13:24 +0930, Alan Modra wrote:
> > On Tue, Apr 30, 2013 at 07:24:20PM -0700, Eric Dumazet wrote:
> > > 	li 11,1
> > > 	ld 0,0(9)
> > > 	rldimi 0,11,31,32
> > > 	std 0,0(9)
> > > 	blr
> > > 	.ident	"GCC: (GNU) 4.6.3"
> > > 
> > > You can see "ld 0,0(9)" is used : its a 64 bit load.
> > 
> > Yup.  This is not a powerpc64 specific problem.  See
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52080
> > Fixed in 4.8.0 and 4.7.3.
> 
> Ah thanks.
> 
> This seems a pretty serious issue, is it documented somewhere that
> ppc64, sparc64 and others need such compiler version ?
> 
> These kind of errors are pretty hard to find, its a pity to spend time
> on them.

There is a checkbin target inside arch/powerpc/Makefile
Shouldn't a check be added there to block building kernel with known
bad GCC versions?

  reply	other threads:[~2013-05-01 15:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01  1:12 [PATCH net-next] af_unix: fix a fatal race with bit fields Eric Dumazet
2013-05-01  1:39 ` Benjamin Herrenschmidt
2013-05-01  7:36   ` David Miller
2013-05-01  8:08     ` Benjamin Herrenschmidt
2013-05-01 15:24     ` [PATCH v2 " Eric Dumazet
2013-05-01 15:53       ` David Laight
2013-05-01 16:00         ` Eric Dumazet
2013-05-01 19:14       ` David Miller
2013-05-01 12:08   ` [PATCH " Ben Hutchings
2013-05-03 14:29   ` David Laight
2013-05-03 15:02     ` Eric Dumazet
2013-05-03 15:44       ` David Laight
2013-05-01  1:51 ` Anton Blanchard
2013-05-01  2:24   ` Eric Dumazet
2013-05-01  3:54     ` Alan Modra
2013-05-01  5:04       ` Eric Dumazet
2013-05-01 15:10         ` Stephen Hemminger [this message]
2013-05-02 21:11           ` Benjamin Herrenschmidt
2013-05-03  1:31         ` Alan Modra
2013-05-03  8:20           ` David Laight
2013-05-03 12:57           ` Benjamin Herrenschmidt
2013-05-03 14:14           ` Eric Dumazet
2013-05-02 17:02       ` Scott Wood

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=20130501081054.267a7851@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber$(echo .)org \
    --cc=ambrose@google$(echo .)com \
    --cc=amodra@gmail$(echo .)com \
    --cc=anton@samba$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=eric.dumazet@gmail$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox