qemu doesn't work in thumb mode

Bug #731095 reported by Steve Langasek on 2011-03-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Low
Unassigned
qemu-linaro (Ubuntu)
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) on 2011-03-08
tags: added: arm-mode arm-porting-queue armel armv7
Peter Maydell (pmaydell) on 2011-03-16
Changed in qemu-linaro:
importance: Undecided → Low
status: New → In Progress
milestone: none → 2011.04
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) on 2011-03-30
Changed in qemu-linaro (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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) on 2011-04-21
Changed in qemu-linaro:
status: Fix Committed → Fix Released
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  Edit
Everyone can see this information.

Other bug subscribers