Skip to contentSkip to conversation

VFP support reported for the PXA270

Qemu-devel Mircea Gherzan 1 participant 2 messages Nov 8, 2011 – Nov 9, 2011

lore
Share & tools
lore
#0 lore raw

Public bug reported:

The HWCAPS seems to be broken on PXA, because sigsetjmp of eglibc-2.14 chooses a VFP code path after the hwcaps test [1][2] which causes a SIGILL on a VSTM instruction.

How to reproduce:
1. build an arm-linux-gnueabi toolchain with eglibc-2.14
2. compile a trivial main()
3. run it with qemu-arm -cpu pxa270

Host: Debian Testing 64bit, 3.0 kernel
Command line: ~/bin/qemu/bin/qemu-arm -cpu pxa270 -L ~/bin/arm-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot ./test2 Qemu version: git 1d769ceda65eef76bad3356f5b7b0ce8a61e5d76

[1] http://cygwin.com/ml/crossgcc/2011-11/msg00016.html
[2] http://cygwin.com/ml/crossgcc/2011-11/msg00019.html

** Affects: qemu
Importance: Undecided
Status: New

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

Title:
  VFP support reported for the PXA270

Status in QEMU:
  New

Bug description:
  The HWCAPS seems to be broken on PXA, because sigsetjmp of eglibc-2.14
  chooses a VFP code path after the hwcaps test [1][2] which causes a
  SIGILL on a VSTM instruction.

  How to reproduce:
  1. build an arm-linux-gnueabi toolchain with eglibc-2.14
  2. compile a trivial main()
  3. run it with qemu-arm -cpu pxa270

  Host: Debian Testing 64bit, 3.0 kernel
  Command line: ~/bin/qemu/bin/qemu-arm -cpu pxa270 -L ~/bin/arm-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot ./test2
  Qemu version: git 1d769ceda65eef76bad3356f5b7b0ce8a61e5d76

  [1] http://cygwin.com/ml/crossgcc/2011-11/msg00016.html
  [2] http://cygwin.com/ml/crossgcc/2011-11/msg00019.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/887516/+subscriptions
#1 lore raw

linux-user/elfload.c's AT_HWCAP was not reflecting cpu features. Patch Reviewed-By and posted to the mailling list.

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

** Changed in: qemu
Assignee: (unassigned) => Benoît Canet (benoit-canet)

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

Title:
  VFP support reported for the PXA270

Status in QEMU:
  Fix Released

Bug description:
  The HWCAPS seems to be broken on PXA, because sigsetjmp of eglibc-2.14
  chooses a VFP code path after the hwcaps test [1][2] which causes a
  SIGILL on a VSTM instruction.

  How to reproduce:
  1. build an arm-linux-gnueabi toolchain with eglibc-2.14
  2. compile a trivial main()
  3. run it with qemu-arm -cpu pxa270

  Host: Debian Testing 64bit, 3.0 kernel
  Command line: ~/bin/qemu/bin/qemu-arm -cpu pxa270 -L ~/bin/arm-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot ./test2
  Qemu version: git 1d769ceda65eef76bad3356f5b7b0ce8a61e5d76

  [1] http://cygwin.com/ml/crossgcc/2011-11/msg00016.html
  [2] http://cygwin.com/ml/crossgcc/2011-11/msg00019.html

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