On Tue, 2016-03-01 at 14:18 +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__ > > A patch is attached that removes the unused code. I tested this on > kfreebsd-amd64, where all tests pass except for the skipped ones, and > dwfl-proc-attach correctly states "dwfl_linux_proc_attach unsupported" > as before.
Would you mind proposing the patch upstream? We like for distributions to carry as little custom patches as possible. See: https://git.fedorahosted.org/cgit/elfutils.git/plain/CONTRIBUTING Thanks, Mark