Hi,
As suggested by Mark Wielaard, I'm contributing the attached patch which I wrote for Debian Bug#816394:
elfutils will FTBFS on kfreebsd (and I suspect on hurd) with gcc-6, because there is an unused const and several unused, unexported stub functions in linux-pid-attach.c inside a code block guarded by #ifndef __linux__
Thank you, Regards,
On Tue, 2016-03-01 at 20:09 +0000, Steven Chamberlain wrote:
elfutils will FTBFS on kfreebsd (and I suspect on hurd) with gcc-6, because there is an unused const and several unused, unexported stub functions in linux-pid-attach.c inside a code block guarded by #ifndef __linux__
Thanks for noticing. These variables and functions were indeed completely unused in that situation. Added a ChangeLog entry and pushed to master.
Cheers,
Mark
elfutils-devel@lists.fedorahosted.org