<div dir="ltr"><div dir="ltr">On Thu, Jul 1, 2021 at 4:03 AM <<a href="mailto:ckim@etri.re.kr">ckim@etri.re.kr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang="KO"><div class="gmail-m_-8483715666885343909WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">Hello Alexander Kapshuk,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">Thanks for the reply. Following your advice, I installed `sudo apt install zfs-dkms` ( it gave me this scary-looking warning below I just installed it, because I’ll not distribute anything)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">It installs sources for zfs-dkms and I understand it contains bash script to automatically compile it when the kernel changes.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">I later found I had to do these commands.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">export $(dpkg-architecture -aarm64); export CROSS_COMPILE=arm-linux-gnueabihf-<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">LANG=C fakeroot debian/rules ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- clean<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">LANG=C fakeroot debian/rules ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- binary-headers binary-generic binary-perarch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">Before this, I had to download </span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu from <a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads" target="_blank">https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads</a> because I saw some compiler error related to STACKPROTECTOR compile option when I used gcc tool from linaro which was based on gcc 7.5 (I remember, the new toolchain is gcc 10.2 based). <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">With these, I could finally compile ubuntu 20.04!</span></p></div></div></blockquote><div><br></div><div>Great to hear.</div><div>Thanks for letting us know.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang="KO"><div class="gmail-m_-8483715666885343909WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">(For those interested, please see <a href="https://unix.stackexchange.com/questions/656263/how-to-build-ubuntu-for-arm64-how-to-give-arch-and-cross-compile-variable-to" target="_blank">https://unix.stackexchange.com/questions/656263/how-to-build-ubuntu-for-arm64-how-to-give-arch-and-cross-compile-variable-to</a>)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515""><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">Thank you!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:"\00b9d1\00c740  \00ace0\00b515"">Chan Kim<u></u><u></u></span></p><div style="border-style:none none none solid;border-left-width:1.5pt;border-left-color:blue;padding:0cm 0cm 0cm 4pt"><div><div><blockquote style="border-style:none none none solid;border-left-width:1pt;border-left-color:rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal"><span lang="EN-US">_______________________________________________<br>Kernelnewbies mailing list<br><a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br><a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><u></u><u></u></span></p></blockquote></div></div></div></div></div></blockquote></div></div>