Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932227Ab1CIEkb (ORCPT ); Tue, 8 Mar 2011 23:40:31 -0500 Received: from gate.crashing.org ([63.228.1.57]:34822 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932179Ab1CIEk2 (ORCPT ); Tue, 8 Mar 2011 23:40:28 -0500 Message-ID: <62749.94.211.195.167.1299645589.squirrel@gate.crashing.org> In-Reply-To: References: <4D6E8932.1010405@zytor.com> <4D6EB07C.5040004@zytor.com> <4D6ECBDB.6090307@zytor.com> <20110303083035.GB14854@elte.hu> <1299619716.22236.32.camel@pasglop> Date: Wed, 9 Mar 2011 05:39:49 +0100 (CET) Subject: Re: RFC: x86: kill binutils 2.16.x? From: "Segher Boessenkool" To: "Kyle Moffett" Cc: "Benjamin Herrenschmidt" , "Ingo Molnar" , "H. Peter Anvin" , "Thomas Gleixner" , "linux-kbuild" , "Linux Kernel Mailing List" , "Andrew Morton" , linuxppc-dev@lists.ozlabs.org, "Kyle Moffett" , "Kumar Gala" User-Agent: SquirrelMail/1.4.10a-1.fc6 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1181 Lines: 29 > The problem is not with the kernel compile itself, but with the 2.12 > "dssall" binutils test. Basically, recent binutils treats e500 as > effectively a separate architecture that happens to share *most* of > the opcodes with regular PowerPC. Any opcode which is not understood > by the e500 chip is either convert to an equivalent opcode which is > understood (IE: lwsync => sync), or failed with an error. This means > that the kernel compile aborts early telling me to upgrade to a newer > version of binutils. $ echo dssall | powerpc-linux-as -many -me500 $ powerpc-linux-objdump -d a.out | grep 0: 0: 7e 00 06 6c dssall $ powerpc-linux-as --version | head -1 GNU assembler (GNU Binutils) 2.21.51.20110309 What version of binutils does not work? (I also checked with -me500x2, -me500mc, -mspe, and various combinations. lwsync is indeed converted to a regular sync (well, "msync") for e500 and e500x2). Segher -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/