On Fri, Apr 05, 2019 at 07:39:09AM -0500, Josh Poimboeuf wrote:
What version of libelf are you using? AFAIK, the non-elfutils version of libelf is buggy and has been unmaintained for 10 years.
I'm using libelf 0.8.13, which is indeed 10y old, abandoned and rather suboptimal (elfutils OTOH is nonportable, and I haven't gotten around yet to fixing its incompatibilities with the musl libc).
I can accept that you might not be interested in fixing issues related to libelf, but using -Werror is a more general problem which just happens to be triggered by my particular setup.
Regards, Luis