Re: [PATCH v2] MIPS: Makefile: Remove "ifdef need-compiler" for Kbuild.platforms

From: Ryutaroh Matsumoto
Date: Sun Dec 12 2021 - 19:45:08 EST


From: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Subject: Re: [PATCH v2] MIPS: Makefile: Remove "ifdef need-compiler" for Kbuild.platforms
Date: Sat, 11 Dec 2021 01:39:10 +0900
> Nathan's patch cleaned up arch/mips/loognson2ef/Platform,
> but I still see similar code in arch/mips/sgi-ip22/Platform.
>
>
> ifdef CONFIG_SGI_IP28
> ifeq ($(call cc-option-yn,-march=r10000 -mr10k-cache-barrier=store), n)
> $(error gcc doesn't support needed option -mr10k-cache-barrier=store)
> endif
> endif
>
>
> Doesn't this cause a failure of *-pkg builds for sgi-ip22 platform?

Yes, it does, as reported at
https://github.com/ClangBuiltLinux/linux/issues/1543

Best regards, Ryutaroh Matsumo