kilauea compilation breaks with v3.3 kernel and ELDK 4.2

Josh Boyer jwboyer at gmail.com
Mon Apr 2 22:10:15 EST 2012


On Fri, Mar 30, 2012 at 8:03 PM, Benjamin Herrenschmidt
<benh at kernel.crashing.org> 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.

josh


More information about the Linuxppc-dev mailing list