<HTML><BODY><div class="js-helper js-readmsg-msg"><div id="style_16290107230682458438"><div id="style_16290107230682458438_BODY"><div class="cl_017667"><div>Hello!</div><div> </div><div>I’m trying to build Linux Kernel from upstream and faced some build error.</div><div> </div><div>Environment:</div><div> </div><div>Ubuntu 20.04 </div><div>gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0</div><div>Linux Kernel 5.8.0-59-generic</div><div> </div><div>Steps to build:</div><div> </div><div>I follow the instructions specified in this site <a href="https://wiki.ubuntu.com/KernelTeam/GitKernelBuild" target="_blank">https://wiki.ubuntu.com/KernelTeam/GitKernelBuild</a></div><div> </div><div>1 cp /boot/config-$(uname -r) .config</div><div> </div><div>2 make olddefconfig</div><div> </div><div>3 make clean</div><div> </div><div>4 make -j $(getconf _NPROCESSORS_ONLN) deb-pkg LOCALVERSION=-custom</div><div> </div><div>After pretty long time of compiling source files I got the following error:</div><div> </div><div><div>make[2]: *** [debian/rules:7: build-arch] Error 2<br>dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2<br>make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2<br>make: *** [Makefile:1559: deb-pkg] Error 2</div><div> </div></div><div>Is there a way to fix that?<br> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>--</div><div>Regards,</div><div>Adverg Ebashinskii</div></div></div></div></div></div></div></BODY></HTML>