summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1079.toml
blob: 4a1627d6287d41e1e892dbf86ac498249128a531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
id = 1079
title = "qemu: uncaught target signal 11 (Segmentation fault) - core dumped"
state = "closed"
created_at = "2022-06-16T16:45:20.458Z"
closed_at = "2022-06-17T08:47:42.691Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/1079"
host-os = "(Windows 10 21H1, Fedora 34, etc.): `ubuntu18.04"
host-arch = "(x86, ARM, s390x, etc.): x86"
qemu-version = "(e.g. `qemu-system-x86_64 --version`): 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.39)"
guest-os = "(Windows 10 21H1, Fedora 34, etc.)"
guest-arch = "(x86, ARM, s390x, etc.): ARM64"
description = """I am trying to build `arm64` image on my `x86_64` machine using `buildx` and I have encountered `qemu: uncaught target signal 11 (Segmentation fault) - core dumped` Error. <br>
#"""
reproduce = """1. Create a Dockerfile
```
FROM python:3.8-slim

ENV PYTHONDONTWRITEBYTECODE=1

# Install packages
RUN apt update
RUN apt-get install -y python3-pip
```
2. Run binfmt container
```
docker run --privileged --rm tonistiigi/binfmt --install all
```
3. Setup new builder
```
$ docker buildx create --name mybuilder
$ docker buildx use mybuilder
$ docker buildx inspect --bootstrap
```
4. Build Image
```
$ docker buildx build --platform linux/amd64,linux/arm64 --push -t user/failure-case .
```
#"""
additional = """"""