On Fri, 2017-02-17 at 10:50 +0100, Ulf Hermann wrote: > True. With other missing functions I tend to conditionally build the > replacements into libeu.a as actual functions. That requires libeu.a > to be linked into libdw.so, libelf.so, etc. I will create a followup > patch that does the same with mempcpy.
If at all possible I would like elfutils to not turn into some abstraction layer for broken non-GNU/Linux systems. I don't mind small (mostly) obvious correct defines/checks or tweaks to help out people using such broken systems. But if we need a lot more of these things I think we should look if we can just import the necessary gnulib modules to get portability functions. Cheers, Mark