[PATCH v2 1/2] powerpc: Fix building of feature-fixup tests on ppc32

Kumar Gala galak at kernel.crashing.org
Thu Jul 3 00:31:22 EST 2008


On Jul 2, 2008, at 4:35 AM, Michael Ellerman wrote:

> On Tue, 2008-07-01 at 10:16 -0500, Kumar Gala wrote:
>> We need to use PPC_LCMPI otherwise we get compile errors like:
>>
>> arch/powerpc/lib/feature-fixups-test.S: Assembler messages:
>> arch/powerpc/lib/feature-fixups-test.S:142: Error: Unrecognized  
>> opcode: `cmpdi'
>> arch/powerpc/lib/feature-fixups-test.S:149: Error: Unrecognized  
>> opcode: `cmpdi'
>> arch/powerpc/lib/feature-fixups-test.S:164: Error: Unrecognized  
>> opcode: `cmpdi'
>
> Sorry, I definitely built (and booted) a 32-bit config, so I'm not  
> sure
> how I missed that. What toolchain are you using?

gcc-4.3.0 from fedora 9 on a G5.

- k



More information about the Linuxppc-dev mailing list