qemu doesn't work in thumb mode

Bug #731095 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Low
Unassigned
qemu-linaro (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Per Peter Maydell, if qemu is built in Thumb-2 mode for execution on an arm host, it will fail with a segfault. The most recent qemu-linaro upload therefore builds with --extra-cflags=-marm; it should be fixed so that it can build with thumb-2 mode instead.

Steve Langasek (vorlon)
tags: added: arm-mode arm-porting-queue armel armv7
Peter Maydell (pmaydell)
Changed in qemu-linaro:
importance: Undecided → Low
status: New → In Progress
milestone: none → 2011.04
Revision history for this message
Peter Maydell (pmaydell) wrote :

Patch submitted upstream:
http://patchwork.ozlabs.org/patch/87268/

With this it works OK in both usermode and system mode (I tested booting an x86 system image, which is fine although obviously very sloooooow.)

Steve Langasek (vorlon)
Changed in qemu-linaro (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Peter Maydell (pmaydell) wrote :

The fix has been committed upstream and is now in qemu-linaro git. Steve, you'll want to remove the workaround from the packaging for the 2011.04 release.

Changed in qemu-linaro:
status: In Progress → Fix Committed
Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-linaro - 0.14.50-2011.06-0-0ubuntu1

---------------
qemu-linaro (0.14.50-2011.06-0-0ubuntu1) oneiric; urgency=low

  * New upstream release.
  * debian/rules: drop workaround forcing building with -marm for
    armel/armhf, upstream code is now reported to work in Thumb-2 mode.
    LP: #731095.
 -- Steve Langasek <email address hidden> Thu, 16 Jun 2011 09:04:43 -0700

Changed in qemu-linaro (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.