Re: error: ABI 'o32' is not supported on CPU 'mips3'

From: Philip Li
Date: Sun Sep 08 2024 - 21:38:23 EST


On Sun, Sep 08, 2024 at 10:34:21PM +0100, Maciej W. Rozycki wrote:
> On Fri, 6 Sep 2024, kernel test robot wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: b831f83e40a24f07c8dcba5be408d93beedc820f
> > commit: bfc0a330c1b4526b88f6f9e711484b342cb00fb5 MIPS: Fallback CPU -march flag to ISA level if unsupported
> > date: 7 months ago
> > config: mips-randconfig-r111-20240906 (https://download.01.org/0day-ci/archive/20240906/202409062003.wDQ7fEq1-lkp@xxxxxxxxx/config)
> > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
> > reproduce: (https://download.01.org/0day-ci/archive/20240906/202409062003.wDQ7fEq1-lkp@xxxxxxxxx/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202409062003.wDQ7fEq1-lkp@xxxxxxxxx/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> error: ABI 'o32' is not supported on CPU 'mips3'
> > >> error: ABI 'o32' is not supported on CPU 'mips3'
> > >> error: ABI 'o32' is not supported on CPU 'mips3'
> > make[3]: *** [scripts/Makefile.build:116: scripts/mod/devicetable-offsets.s] Error 1
> > make[3]: *** [scripts/Makefile.build:243: scripts/mod/empty.o] Error 1
> > make[3]: Target 'scripts/mod/' not remade because of errors.
> > make[2]: *** [Makefile:1198: prepare0] Error 2
> > make[2]: Target 'prepare' not remade because of errors.
> > make[1]: *** [Makefile:240: __sub-make] Error 2
> > make[1]: Target 'prepare' not remade because of errors.
> > make: *** [Makefile:240: __sub-make] Error 2
> > make: Target 'prepare' not remade because of errors.
>
> This is analogous to the same failure for "CPU 'mips64'", and presumably
> also addressed in newer LLVM.

Thanks a lot for the info, we will configure the bot to ignore such error
on old clangs.

>
> Maciej
>