summary refs log tree commit diff stats
path: root/gitlab/issues/target_sparc/host_missing/accel_missing/1807.toml
blob: 547a6ebfd0d59823ae2b751ad74612b99b1d73c2 (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
id = 1807
title = "sparc64 always segfaults doesn't work on Ubuntu 23.04"
state = "closed"
created_at = "2023-08-03T21:30:22.072Z"
closed_at = "2023-08-06T03:24:16.447Z"
labels = ["Closed::Invalid", "linux-user", "target: sparc"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1807"
host-os = "Ubuntu 23.04"
host-arch = "x86_64"
qemu-version = "7.2"
guest-os = "n/a"
guest-arch = "n/a"
description = """It segfaults when it tries to use 'printf' or 'puts' to print to the screen."""
reproduce = """Do the following at the command line

```
$ sparc64-linux-gnu-g++ --version
sparc64-linux-gnu-g++ (Ubuntu 12.2.0-14ubuntu2) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ echo -e "#include <stdio.h> \\n int main(void) { puts(\\"Hello World\\"); }" > test.cpp
$ sparc64-linux-gnu-g++ -o test test.cpp -static
$ qemu-sparc64-static --version
qemu-sparc64 version 7.2.0 (Debian 1:7.2+dfsg-5ubuntu2)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
$ qemu-sparc64-static ./test
Segmentation fault (core dumped)
$ qemu-sparc-static ./test
qemu-sparc-static: ./test: Invalid ELF image for this architecture
$ qemu-sparc32plus-static ./test
qemu-sparc32plus-static: ./test: Invalid ELF image for this architecture
```"""
additional = "n/a"