Bug ID 1130134
Summary qemu user-mode emulation requires membarrier syscall
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-maintainers@forge.provo.novell.com
Reporter josua.m@t-online.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Greetings everybody,

Doing a little experiment with docker, I encountered this scary error message:

This QEMU binary requires the membarrier system call.
Please upgrade your system to a newer version of Linux

So I believe the 4.12.y kernel of openSUSE does not have this feature.
Therefore the solution appears to be rebuilding qemu-linux-user with
--disable-membarrier.

relevant part of Dockerfile:
FROM arm32v7/openjdk:8-jre-alpine AS run
COPY qemu-arm qemu-arm-binfmt /usr/bin/
RUN apk add bash bluez libc6-compat iptables

I then rebuilt the qemu-linux-user package with
s/--enable/membarrier/--disable-membarrier/ --> and the resulting binaries
worked fine as expected.

Please consider enabling the membarrier syscall in the kernel, or disable the
feature in qemu builds for leap 15.1.


You are receiving this mail because: