[PATCH v2 1/2] powerpc: Fix building of feature-fixup tests on ppc32
Segher Boessenkool
segher at kernel.crashing.org
Thu Jul 3 09:31:13 EST 2008
>> 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?
It's more interesting to hear what version of GCC and GAS _you_ are
using :-)
Does it allow 64-bit-only opcodes with -a32? Does the build system
somehow not pass -a32 for you?
Segher
More information about the Linuxppc-dev
mailing list