Trouble building WireGuard since December releases

Jason A. Donenfeld Jason at
Thu Jan 25 00:07:39 CET 2018

On Wed, Jan 24, 2018 at 7:49 PM, Daniel Kahn Gillmor
<dkg at> wrote:
> On Mon 2018-01-22 17:07:38 +0100, Jason A. Donenfeld wrote:
> > Ahh, small update. When building this, I noticed:
> >
> > Makefile:944: "Cannot use CONFIG_STACK_VALIDATION=y, please install
> > libelf-dev, libelf-devel or elfutils-libelf-devel"
> fwiw, debian had the same issue around libelf-dev with their kernel
> source packaging, and treated it as a bug there, which was resolved in
> the kernel package itself, rather than requiring additional build
> dependencies of all kernel modules:

Seems like a sane resolution.

> (this message is just about libelf-dev; i haven't followed the details
> about objtool)

The detail about objtool is just that they forgot to include it in
their headers, so when the build system tries to use it, it can't find
it and fails. Simple problem with a simple solution, thankfully.

More information about the WireGuard mailing list