Wrong buffer length expression was passed to snprintf function. DTS version of GCC was able to caught this problem, and warned about it. Because the elfutils package is built with -Werror command line option, that warning was turned into a hard error.
Build of elfutils would fail.
Pass correct buffer length to snprintf.
elfutils can be rebuilt.