diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
| commit | 3e4c5a6261770bced301b5e74233e7866166ea5b (patch) | |
| tree | 9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/2378 | |
| parent | e5634e2806195bee44407853c4bf8776f7abfa4f (diff) | |
| download | qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip | |
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2378')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/2378 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2378 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2378 deleted file mode 100644 index 47cb66baf..000000000 --- a/gitlab/issues_text/target_missing/host_missing/accel_missing/2378 +++ /dev/null @@ -1,28 +0,0 @@ -make install (meson?) removes needed RPATH for libslirp, making build on CentOS 9 difficult -Description of problem: -make install appears to remove need RPATH attributes from the binary, making it difficult if not impossible to install Qemu 9.0.0 on a CentOS 9 machine. - -I'm trying to build Qemu 9.0.0 on a CentOS 9 Stream machine where I do not have root. -The system ships with libslirp-4.4.0-7.el9.src.rpm which is libslirp 4.4.0, which is too old for Qemu. - -I checked out https://gitlab.freedesktop.org/slirp/libslirp.git which is 2 commits more recent than -libslirp 4.8.0. I installed this version in a separate directory. - -When I configure Qemu using PKG_CONFIG_PATH, it builds the correct executable with the correct RPATH. -readelf -d shows: - - 0x000000000000000f (RPATH) Library rpath: [/web/courses/cs4284/pintostools/lib64] - -which is the correct directory where the proper version of libslirp is located. - -However, when I run "make install" the RPATH attribute is removed. Thus, Qemu resorts to the system version, which is version 4.4 (with which Qemu won't run.) - -Meson's propensity to strip necessary RPATHs appears to be well-known, see, for instance, - -https://github.com/mesonbuild/meson/issues/4027 - -(There is a fix for at least some of the problems in 0.55.0 of Meson -https://mesonbuild.com/Release-notes-for-0-55-0.html -Qemu 9.0.0 appears to use Meson 1.2.3., but yet it still fails.) - -Work-around: don't use make install, copy it directly from the build directory to the destination directory. |