qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1545024] [NEW] compiling on armv7 crashes compile


From: Peter Maydell
Subject: Re: [Qemu-devel] [Bug 1545024] [NEW] compiling on armv7 crashes compile qlx.o
Date: Fri, 12 Feb 2016 15:27:59 +0000

On 12 February 2016 at 15:13, Klaftenegger Felix
<address@hidden> wrote:
> Public bug reported:
>
> If i try to compile qemu on armv7 cpu i get this error:
>
>   LINK  qemu-nbd
>   CC    qemu-img.o
>   LINK  qemu-img
>   LINK  qemu-io
>   LINK  qemu-bridge-helper
>   CC    qmp-marshal.o
>   CC    hw/display/qxl.o
> {standard input}: Assembler messages:
> {standard input}:1704: Error: bad instruction `lock'
> {standard input}:1704: Error: bad instruction `addl $0,0(%rsp)'
> {standard input}:1864: Error: bad instruction `lock'
> {standard input}:1864: Error: bad instruction `addl $0,0(%rsp)'
> {standard input}:5239: Error: bad instruction `lock'
> {standard input}:5239: Error: bad instruction `addl $0,0(%rsp)'
> {standard input}:5731: Error: bad instruction `lock'
> {standard input}:5731: Error: bad instruction `addl $0,0(%rsp)'
> {standard input}:11923: Error: bad instruction `lock'
> {standard input}:11923: Error: bad instruction `addl $0,0(%rsp)'
> {standard input}:13960: Error: bad instruction `lock'
> {standard input}:13960: Error: bad instruction `addl $0,0(%rsp)'
> {standard input}:14349: Error: bad instruction `lock'
> {standard input}:14349: Error: bad instruction `addl $0,0(%rsp)'
> /home/fleixi/git/qemu/rules.mak:57: recipe for target 'hw/display/qxl.o' 
> failed
> make: *** [hw/display/qxl.o] Error 1

Looks like we're picking up the x86 implementations of the atomic.h
smp_mb() somehow. That's odd because it shouldn't happen unless
something has managed to #define __i386__ somehow.

What host platform (OS, hardware) are you building on? What version is your
compiler?

> Shoulded the configure detecting "bigendian" too?

Why should it? ARM is little endian.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]