summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1785.toml
blob: ff8ac9f134755444c1c84e1b3be0fbce16afb85e (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
id = 1785
title = "8.1.0rc0: Build failure when building static binaries, auto config incorrectly mark bzip2 as supported on my machine"
state = "closed"
created_at = "2023-07-24T12:49:19.500Z"
closed_at = "2023-09-08T15:57:35.517Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/1785"
host-os = "linux"
host-arch = "x86"
qemu-version = "8.1.0-rc0"
guest-os = "n/a"
guest-arch = "n/a"
description = """8.1.0rc0 fails to build when I build static binaries.

```
Jul 24 20:28:22 clang-13: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
Jul 24 20:28:22 ld.lld: error: attempted static link of dynamic object /usr/bin/../lib/libbz2.so
Jul 24 20:28:22 clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
```

It seems that `./configure` mistaken my dynamic library of bzip2 as able to compile under static compilation."""
reproduce = """1. `./configure --target-list=x86_64-softmmu --static` with bzip2 only dynamicly installed and static library not installed
2. see output

You can see
```
    snappy support                               : NO
    bzip2 support                                : YES
    lzfse support                                : NO
```

which is wrong. Additionally, the compilation fails because the system only have bzip2 dynamicly but not staticly."""
additional = """"""