Re: make ARCH=arm64 rustdoc fails on a x86 host with SCS enabled

From: Miguel Ojeda
Date: Tue Jul 22 2025 - 08:41:06 EST


On Tue, Jul 22, 2025 at 12:53 PM Konrad Dybcio
<konrad.dybcio@xxxxxxxxxxxxxxxx> wrote:
>
> Trying to build rustdoc as part of an arm64 kernel build on an x86
> host results in a number of errors. Looks like we're ignoring the
> -Zfixed-18 flag (arch/arm64/Makefile) at some point in the build
> process, but I wasn't able to track it down it myself. Found on
> next-20250722 (today).
>
> Disabling SCS works around the issue, but that's less than ideal.

Thanks, I can reproduce it -- I will send a patch.

Cheers,
Miguel