missing implementation of i386 syscall 240 (futex)

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

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.

Revision history for this message
Ira Rosen (irar) wrote : AUTO: Ira Rosen is out of the office. (returning 17/04/2011)

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

Revision history for this message
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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in qemu-linaro (Ubuntu):
status: New → Confirmed
Revision history for this message
Ken Sharp (kennybobs) wrote :

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

Ken Sharp (kennybobs)
Changed in qemu-linaro:
status: New → 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.