From: Olaf Hering <olaf@aepfle.de>
To: qemu-devel@nongnu.org
Subject: Regression in v7.2.10 - ui-dbus.so requires -fPIC
Date: Thu, 14 Mar 2024 22:00:38 +0100 [thread overview]
Message-ID: <20240314220038.1aaae79f.olaf@aepfle.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
ui-dbus.so is a shared library. But it is apparently handled differently
than all the other shared libraries: it is not compiled with -fPIC.
As a result it fails to link. Not sure why this happens only here.
Everything up to v7.2.9 was fine.
Looking at some random other library like libui-spice-core.a,
every object is compiled with -fPIC.
But ui/dbus-display1.c is compiled with -fPIE instead.
Is this intentional?
Olaf
ld: ui/libdbus-display1.a.p/meson-generated_.._dbus-display1.c.o: warning: relocation against `qemu_dbus_display1_audio_get_type' in read-only section `.text'
[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2024-03-14 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 21:00 Olaf Hering [this message]
2024-03-16 19:40 ` Regression in v7.2.10 - ui-dbus.so requires -fPIC Michael Tokarev
2024-03-16 22:19 ` Olaf Hering
2024-03-17 7:09 ` Michael Tokarev
2024-03-18 7:35 ` Marc-André Lureau
2024-03-18 8:14 ` Olaf Hering
2024-03-18 16:16 ` Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240314220038.1aaae79f.olaf@aepfle.de \
--to=olaf@aepfle.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).