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,
--
Steven Chamberlain
steven(a)pyro.eu.org