From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next] af_unix: fix a fatal race with bit fields Date: Tue, 30 Apr 2013 22:04:32 -0700 Message-ID: <1367384672.11020.34.camel@edumazet-glaptop> References: <1367370761.11020.22.camel@edumazet-glaptop> <20130501115103.58e40f37@kryten> <1367375060.11020.24.camel@edumazet-glaptop> <20130501035425.GD5221@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Anton Blanchard , David Miller , netdev , linuxppc-dev@lists.ozlabs.org, Paul Mackerras , Ambrose Feinstein To: Alan Modra Return-path: Received: from mail-pa0-f44.google.com ([209.85.220.44]:64661 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157Ab3EAFEf (ORCPT ); Wed, 1 May 2013 01:04:35 -0400 Received: by mail-pa0-f44.google.com with SMTP id rl6so720199pac.17 for ; Tue, 30 Apr 2013 22:04:35 -0700 (PDT) In-Reply-To: <20130501035425.GD5221@bubble.grove.modra.org> Sender: netdev-owner@vger.kernel.org List-ID: 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.