qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Regression in v7.2.10 - ui-dbus.so requires -fPIC
@ 2024-03-14 21:00 Olaf Hering
  2024-03-16 19:40 ` Michael Tokarev
  0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2024-03-14 21:00 UTC (permalink / raw)
  To: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-18 16:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 21:00 Regression in v7.2.10 - ui-dbus.so requires -fPIC Olaf Hering
2024-03-16 19:40 ` 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

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).