From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: linux-next: build failure after merge of the final tree (powerpc tree related) Date: Fri, 03 Dec 2010 16:59:58 +1100 Message-ID: <1291355998.32570.417.camel@pasglop> References: <20101203163206.72258fb8.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:57845 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788Ab0LCGAP (ORCPT ); Fri, 3 Dec 2010 01:00:15 -0500 In-Reply-To: <20101203163206.72258fb8.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Anton Blanchard On Fri, 2010-12-03 at 16:32 +1100, Stephen Rothwell wrote: > > After merging the tree, today's linux-next build (powerpc allmodconfig) > failed like this: > > arch/powerpc/lib/hweight_64.S: Assembler messages: > arch/powerpc/lib/hweight_64.S:52: Error: Unrecognized opcode: `popcntw' > arch/powerpc/lib/hweight_64.S:77: Error: Unrecognized opcode: `popcntw' > arch/powerpc/lib/hweight_64.S:106: Error: Unrecognized opcode: `popcntd' > > This is with: > > powerpc64-linux-gcc (GCC) 4.4.0 > GNU assembler (GNU Binutils) 2.19.1 > > Caused by commit 64ff31287693c1f325cb9cb049569c1611438ef1 ("powerpc: Add > support for popcnt instructions"). This toolchain is a bit ancient I suppose... Anton, do you reckon we should use .long based macros for these for the time being or just require a newer binutils ? Cheers, Ben.