Built-in plugins are not relinked to the application after a modification
The build system seems to be unaware that cli/babeltrace depends on the plugins. This is probably due to the (ab)use of LDFLAGS (see Makefile.am).
Updated by Jonathan Rajotte Julien 4 months ago
- Status changed from New to Feedback
Simon Marchi wrote:
Is this only relevant when building with
--enable-built-in-plugins? If plugins are external shared objects, then I guess
cli/babeltraceis not linked against them, they are dlopened? And therefore, it's only at runtime that we will discover if a plugin is missing some symbol.
So I assume it's only when using built-in plugins, if you modify a plugin, then
cli/babeltracemust be rebuilt to integrate the newly built plugin?
Jérémie Galarneau wrote:
Yes, this is for static builds (--enable-built-in-plugins). babeltrace.exe must be relinked when a plug-in is modified.