summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/857.toml
blob: 5e159922a115bed56c4c9d8534b52b9fbbff60ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
id = 857
title = "qemu-x86_64 uses host libraries instead of emulated system libraries"
state = "opened"
created_at = "2022-02-04T10:38:00.829Z"
closed_at = "n/a"
labels = ["linux-user"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/857"
host-os = "Debian Bullseye"
host-arch = "x86_64"
qemu-version = "6.1.0, 6.2.0, git master (8f3e5ce773c62bb5c4a847f3a9a5c98bbb3b359f)"
guest-os = "Linux 5.15.19 x86_64 (Buildroot Cross Build)"
guest-arch = "x86_64"
description = """I'm using Buildroot to build a cross-compiled embedded Linux system. During the build process there is a little hack to create some header file using a cross-compiled application. For this hack they use qemu to run this application. Building this embedded system for aarch64 work fine, but for x86_64 I get the following messages:

bytecode_builtins_list_generator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by bytecode_builtins_list_generator)
bytecode_builtins_list_generator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by bytecode_builtins_list_generator)
bytecode_builtins_list_generator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by bytecode_builtins_list_generator)
bytecode_builtins_list_generator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bytecode_builtins_list_generator)

The path of the libraries in this error message is from my host system. The embedded system uses /lib64 or /usr/lib64. It seems to me that the linker search for the libraries at first on the host system and later uses the path from the command line. So you have a mixed up of host and embedded system libraries (as you can see in the attached strace log)."""
reproduce = "n/a"
additional = """[qemu-1.log](/uploads/f53e98b6b15cce7cbf94d14dffa39f90/qemu-1.log)"""