From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 62407B6F9A for ; Tue, 3 Apr 2012 07:08:43 +1000 (EST) Message-ID: <1333400910.30734.54.camel@pasglop> Subject: Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2 From: Benjamin Herrenschmidt To: Josh Boyer Date: Tue, 03 Apr 2012 07:08:30 +1000 In-Reply-To: References: <4F69C553.6070409@gmail.com> <20120321162549.8C1D0202A4D@gemini.denx.de> <1332633218.2882.16.camel@pasglop> <1333152184.30734.3.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Frank =?ISO-8859-1?Q?Svendsb=F8e?= , Wolfgang Denk , robert.karl.berger@gmail.com, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2012-04-02 at 08:10 -0400, Josh Boyer wrote: > On Fri, Mar 30, 2012 at 8:03 PM, Benjamin Herrenschmidt > wrote: > > On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: > > > >> Hi Josh Boyer, > >> > >> just wanted to add that I'm experiencing the same problem that Robert > >> reported, but on 8xx instead of 4xx. The mpc8xx does not support the > >> mfdcrx instruction, so maybe it's more to it than just a binutils bug? > > > > The kernel shouldn't have tried to build that instruction on 8xx, though > > I suppose if it's in arch/powerpc/boot, we are a bit too eager at > > building everything including what's not relevant, we might to be a bit > > more careful at excluding 4xx stuff on a 8xx kernel. > > It's still a binutils issue. Sounds like the toolchain being used to > build the 8xx kernel is specifically built for 8xx. A generally built > binutils should have worked fine (assuming it was new enough), since > we pass -mcpu=405. Still, it makes sense to limit the building of the wrappers to the CPU family of the kernel... Cheers, Ben.