missing implementation of i386 syscall 240 (futex)

Bug #758424 reported by Steve Langasek on 2011-04-12
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
qemu-linaro (Ubuntu)

Bug Description

Installing i386 packages on armel using qemu-i386-static, I see warnings like the following:

Setting up libglib2.0-0:i386 (2.28.5-0ubuntu1) ...
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
Setting up libgdk-pixbuf2.0-0:i386 (2.23.3-0ubuntu1+multiarch.2) ...
Setting up libpango1.0-0:i386 (1.28.4-0ubuntu1) ...
Setting up libatk1.0-0:i386 (2.0.0-0ubuntu1) ...

According to /usr/include/x86_64-linux-gnu/asm/unistd_32.h, syscall 240 is futex.

I am out of the office until 17/04/2011.

Note: This is an automated response to your message "[Bug 758424] [NEW]
missing implementation of i386 syscall 240 (futex)" sent on 12/4/11 8:36:16

Peter Maydell (pmaydell) wrote :

We only implement the futex syscalls if CONFIG_USE_NPTL. This isn't defined for the i386 target (the necessary support in target-i386 for pushing atomic insns up to the linux-user top level loop isn't implemented). The upshot is that running multithreaded programs in linux-user i386-target isn't supported and this is just one of the symptoms.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qemu-linaro (Ubuntu):
status: New → Confirmed
Ken Sharp (kennybobs) wrote :

Cannot recreate in latest git build (1.7.50). Fixed upstream (qemu)?

Ken Sharp (kennybobs) on 2015-06-29
Changed in qemu-linaro:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers