Re: [PATCH] trace: use STAP_SDT_V2 to work around symbol visibility

2020-11-19 Thread Stefan Hajnoczi
On Wed, Nov 18, 2020 at 05:51:28PM +, Daniel P. Berrangé wrote: > On Wed, Nov 18, 2020 at 05:48:09PM +, Stefan Hajnoczi wrote: > > QEMU binaries no longer launch successfully with recent SystemTap > > releases. This is because modular QEMU builds link the sdt semaphores > > into the main

Re: [PATCH] trace: use STAP_SDT_V2 to work around symbol visibility

2020-11-18 Thread Daniel P . Berrangé
On Wed, Nov 18, 2020 at 05:48:09PM +, Stefan Hajnoczi wrote: > QEMU binaries no longer launch successfully with recent SystemTap > releases. This is because modular QEMU builds link the sdt semaphores > into the main binary instead of into the shared objects where they are > used. The symbol

[PATCH] trace: use STAP_SDT_V2 to work around symbol visibility

2020-11-18 Thread Stefan Hajnoczi
QEMU binaries no longer launch successfully with recent SystemTap releases. This is because modular QEMU builds link the sdt semaphores into the main binary instead of into the shared objects where they are used. The symbol visibility of semaphores is 'hidden' and the dynamic linker prints an