From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tdk6L4CwszDvhR for ; Wed, 14 Dec 2016 15:26:18 +1100 (AEDT) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tdk6K2mlgz9t0H for ; Wed, 14 Dec 2016 15:26:16 +1100 (AEDT) Date: Tue, 13 Dec 2016 22:25:46 -0600 From: Segher Boessenkool To: Joel Stanley Cc: Michael Ellerman , gregkh@linuxfoundation.org, linuxppc-dev@ozlabs.org, markus@trippelsdorf.de, amodra@gmail.com Subject: Re: powerpc: cmp -> cmpd for 64-bit Message-ID: <20161214042546.GQ30845@gate.crashing.org> References: <551528846e6a2783184ba8a4228348a2fc9786bd.1475761214.git.segher@kernel.crashing.org> <3t3mJS0hfYz9sxS@ozlabs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Dec 14, 2016 at 02:01:50PM +1030, Joel Stanley wrote: > >> With older binutils this is silently accepted as if this was "cmpw", > >> while often "cmpd" is wanted. With newer binutils GAS will complain > >> about this for 64-bit code. For 32-bit code it still silently assumes > >> "cmpw" is what is meant. > This one made it into 4.9-rc3 as "powerpc: Convert cmp to cmpd in idle > enter sequence". We need it to build the 4.4 kernel with GCC 6.2, so > my OpenPower firmware builds are failing. The GCC version does not matter; the binutils version does, however. Segher