summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1064.toml
blob: 551c8ca8e8bf1ecfbbb6abb9470963268f5e7690 (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
41
42
43
44
45
46
47
48
49
50
51
id = 1064
title = "aarch64:qemu6.2.0 compile error"
state = "closed"
created_at = "2022-06-06T07:45:12.500Z"
closed_at = "2022-08-30T01:09:58.923Z"
labels = ["Closed::NotReproducible", "Networking"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1064"
host-os = "Linux"
host-arch = "ARM"
qemu-version = "- QEMU command line:"
guest-os = "- OS/kernel version:"
guest-arch = "## Description of problem"
description = """"""
reproduce = """1. download qemu source package
`wget http://mirrors.163.com/centos-vault/centos/8-stream/AppStream/Source/SPackages/qemu-kvm-6.2.0-12.module_el8.7.0%2b1140%2bff0772f9.src.rpm`
2. install qemu source package
`rpm -ivh qemu-*.rpm`
3. build qemu 
` rpmbuild --define "_topdir /xxx/src_qemu6.2.0" -bb SPECS/qemu-kvm.spec`
4. error message:
```
In function 'dump_receive_iov',
    inlined from 'filter_dump_receive_iov' at ../net/dump.c:157:5:
../net/dump.c:89:9: error: 'writev' specified size 18446744073709551600 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
   89 |     if (writev(s->fd, dumpiov, cnt + 1) != sizeof(hdr) + caplen) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xxx/src_qemu6.2.0/BUILD/qemu-kvm-6.2.0/include/qemu/osdep.h:108,
                 from ../net/dump.c:25:
../net/dump.c: In function 'filter_dump_receive_iov':
/usr/include/sys/uio.h:52:16: note: in a call to function 'writev' declared with attribute 'read_only (2, 3)'
   52 | extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count)
      |                ^~~~~~
cc1: all warnings being treated as errors
```
**gcc version**
```
# gcc --version
gcc (GCC) 10.3.1
Copyright (C) 2020 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.
```
```
[root]# meson -v
0.62.1
[root]# ninja -v
ninja: error: loading 'build.ninja': No such file or directory
[root@vm77 src_qemu6.2.0]# ninja --version
1.8.2
```"""
additional = """"""