[linux-next:master] BUILD REGRESSION 2a2aa3f05338270aecbe2492fda910d6c17e0102

Chen, Rong A rong.a.chen at intel.com
Thu Jul 7 00:58:08 PDT 2022



On 7/7/2022 3:34 PM, Dan Carpenter wrote:
> If I had to guess, I'd say it was probably the recent changes in
> linux-next with bitops.  Those things messed up Smatch as well and the
> timing fits.  But I don't have a way to test.
> 
> Anyway, let's ask the kbuild devs.
> 
> On Wed, Jul 06, 2022 at 11:09:13AM -0700, Vineet Gupta wrote:
>>
>>
>> On 7/5/22 23:49, Dan Carpenter wrote:
>>> [ trimmed massive CC list (see below) ]
>>>
>>> What's going on with all the arch/arc build breakage on linux-next?
>>>
>>> regards,
>>> dan carpenter
>>
>> linux-snps-arc is not there, does one need to subscribe to these ?
> 
> I don't know how the CC list for BUILD REGRESSIONs is made.
> 
>>>> Unverified Error/Warning (likely false positive, please contact us if interested):
>>>>
>>>> block/partitions/efi.c:223:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> block/sed-opal.c:427:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> crypto/asymmetric_keys/pkcs7_verify.c:311:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> drivers/ata/libata-core.c:2802:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> drivers/ata/libata-eh.c:2842:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> drivers/ata/sata_dwc_460ex.c:691:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> drivers/base/power/runtime.c:1570:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>>> drivers/block/rbd.c:6142:1: internal compiler error: in arc_ifcvt, at config/arc/arc.c:9637
>>
>> [snip..]
>>
>> We would need more specifics: what compiler version is this ?
>> Thx for bringing this to our attention.
> 
> Hey LTP devs, which GCC are you using and which .config is generating
> these "internal compiler error" issues?
> 
> regards,
> dan carpenter
> 


Hi Dan,

The commit 6a5365f8 triggered this issue, I attached the config file
for your reference.

tree: 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   088b9c375534d905a4d337c78db3b3bfbb52c4a0
commit: 6a5365f857f82fce381eff6be5592dcc7b5a053a [7990/8197] 
compiler-gcc.h: remove ancient workaround for gcc PR 58670
config: arc-buildonly-randconfig-r001-20220706 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
         wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross 
-O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6a5365f857f82fce381eff6be5592dcc7b5a053a
         git remote add linux-next 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
         git fetch --no-tags linux-next master
         git checkout 6a5365f857f82fce381eff6be5592dcc7b5a053a
         # save the config file
         mkdir build_dir && cp config build_dir/.config
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross 
W=1 O=build_dir ARCH=arc SHELL=/bin/bash kernel/sched/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

    during RTL pass: mach
    kernel/sched/core.c: In function 'enqueue_task':
 >> kernel/sched/core.c:2076:1: internal compiler error: in arc_ifcvt, at
 >> config/arc/arc.c:9637
     2076 | }
          | ^
    0x57f26d arc_ifcvt
 
/tmp/build-crosstools-gcc-11.3.0-binutils-2.38/gcc/gcc-11.3.0/gcc/config/arc/arc.c:9637
    0xd92d04 arc_reorg
 
/tmp/build-crosstools-gcc-11.3.0-binutils-2.38/gcc/gcc-11.3.0/gcc/config/arc/arc.c:8419
    0xa4f289 execute
 
/tmp/build-crosstools-gcc-11.3.0-binutils-2.38/gcc/gcc-11.3.0/gcc/reorg.c:4045
    Please submit a full bug report,
    with preprocessed source if appropriate.
    Please include the complete backtrace with any bug report.
    See <https://gcc.gnu.org/bugs/> for instructions.

Best Regards,
Rong Chen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.gz
Type: application/x-gzip
Size: 33036 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-snps-arc/attachments/20220707/494eeafe/attachment-0001.bin>


More information about the linux-snps-arc mailing list