ppc64 build failure - asm code - bswap
Adrian Reber
adrian at lisas.de
Tue Sep 23 11:44:48 CEST 2008
On Mon, Sep 22, 2008 at 12:36:11AM +1000, David Timms wrote:
> So it seems that bswap might not suit ppc64 hardware. If that is the
> case then:
> # ppc64 build does not seem to support asm opcode bswap
> ExcludeArch: ppc64
> would seem appropriate an appropriate addition to the .spec. Does that
> make sense ?
>
> Note that it did build OK on i386|x86_64|ppc. I would have imagined that
> ppc64 opcodes would be a superset of ppc, so there might be something
> else going on ?
The following is the your problem:
%ifarch ppc x86_64
ASM_X86=0
%else
ASM_X86=1
%endif
You forgot to mention ppc64 in that list and ppc64 can just not handle
intel assembler just like ppc.
You can also see it in the compiler command line from ppc64 build. It
contains "-DASM_X86".
Adrian
More information about the rpmfusion-developers
mailing list