reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git/commit/?id=e4b00ba70c2569fa2c00eb354c97543a94cc9f64 git remote add thomas-weissschuh https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git git fetch --no-tags thomas-weissschuh b4/b4-sysfs-const-bin_attr-group git checkout e4b00ba70c2569fa2c00eb354c97543a94cc9f64 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/perf/