[Bug backends/26176] Backend modules of elfutils are always linked to shared library

madebr at gmail dot com sourceware-bugzilla@sourceware.org
Fri Jun 26 23:55:24 GMT 2020


--- Comment #2 from maarten <madebr at gmail dot com> ---
Thanks for the quick reply!

First, some background what we are trying to do:
package elfutils using a conan recipe at

We would like to provide elfutils as a static and shared library.

The original version we were trying to add was 0.173, but I just updated it to
0.180 which indeed does not have loadable modules.

So my problem is indeed gone!

Some things we had to patch:

- enable static builds (regardless of gprof or gcov configuration)
- disable -Werror

Also, it looks like `libasm.h` and `libdwfl.h` use types defined in `gelf.h`,
but do not include the header.

Some feedback/comments about these patches would be appreciated.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list