qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 670776] Re: Build errors on TEGRA2(ubuntu), testandset


From: Peter Maydell
Subject: [Qemu-devel] [Bug 670776] Re: Build errors on TEGRA2(ubuntu), testandset()
Date: Fri, 12 Aug 2011 17:52:14 -0000

QEMU 0.15.0 has been released with a fix for this bug.


** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/670776

Title:
  Build errors on TEGRA2(ubuntu), testandset()

Status in QEMU:
  Fix Released

Bug description:
  Build errors on TEGRA2(ubuntu)

  /tmp/ccqt9Y5t.s: Assembler messages:
  /tmp/ccqt9Y5t.s:1899: Error: selected processor does not support Thumb mode 
'swp r4, r4, [r2]'
  /tmp/ccqt9Y5t.s:1974: Error: selected processor does not support Thumb mode 
'swp r5, r5, [ip]'
  make[1]: *** [exec.o Error 1

  qemu-lock.h

  #elif defined(__arm__)
  static inline int testandset (int *spinlock)
  {
      register unsigned int ret;
      __asm__ __volatile__("swp %0, %1, [%2]"
                           : "=r"(ret)
                           : "0"(1), "r"(spinlock));
      return ret;
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/670776/+subscriptions



reply via email to

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