[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <f661ed7e-5d69-403c-bfc8-7581eb8a6e76@app.fastmail.com>
Date: Thu, 05 Sep 2024 10:56:15 +0100
From: "Jiaxun Yang" <jiaxun.yang@...goat.com>
To: "Maciej W. Rozycki" <macro@...am.me.uk>,
"kernel test robot" <lkp@...el.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
"Thomas Bogendoerfer" <tsbogend@...ha.franken.de>
Subject: Re: error: ABI 'o32' is not supported on CPU 'mips64'
在2024年9月5日九月 上午10:22,Maciej W. Rozycki写道:
> On Sat, 31 Aug 2024, kernel test robot wrote:
>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: fb24560f31f9dff2c97707cfed6029bfebebaf1c
>> commit: 2326c8f2022636a1e47402ffd09a3b28f737275f MIPS: Fix fallback march for SB1
>> date: 7 weeks ago
>> config: mips-randconfig-r121-20240830 (https://download.01.org/0day-ci/archive/20240831/202408310705.y2OPq3Xs-lkp@intel.com/config)
>> compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
>> reproduce: (https://download.01.org/0day-ci/archive/20240831/202408310705.y2OPq3Xs-lkp@intel.com/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@...el.com>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202408310705.y2OPq3Xs-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>):
>>
>> >> error: ABI 'o32' is not supported on CPU 'mips64'
>> >> error: error: ABI 'o32' is not supported on CPU 'mips64'
>> ABI 'o32' is not supported on CPU 'mips64'
>> make[3]: *** [scripts/Makefile.build:117: scripts/mod/devicetable-offsets.s] Error 1
>> make[3]: *** [scripts/Makefile.build:244: scripts/mod/empty.o] Error 1
>> make[3]: Target 'scripts/mod/' not remade because of errors.
>> make[2]: *** [Makefile:1207: 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 a compiler bug. The MIPS64 ISA does certainly support the o32
> ABI, so they need to fix their "CPU 'mips64'" definition.
Just for record, this has been fixed in LLVM-17 [1], while the bit is still
on LLVM 15.
Thanks
[1]: https://github.com/llvm/llvm-project/commit/7983f8aca82e258174849f1cc6a70029353e9887
>
> Maciej
--
- Jiaxun
Powered by blists - more mailing lists