I had built the prerequisite libelf 0.8.10 for lto statically to avoid RPATH issues, but noticed that by default liblto_plugin.so.0 failed to link since libelf.a contained non-PIC code. Building with -fPIC fixed this, but the requirement better be documented.
Given that mainline doesn't use libelf any longer, there's no point in fixing or documenting this.