Devuan bug report logs - #565
tg3.c:8159:1: error: unrecognizable insn:

Package: gcc-11; Maintainer for gcc-11 is (unknown); Source for gcc-11 is src:gcc-11-mipsen.

Reported by: Arthur Marsh <arthur.marsh@internode.on.net>

Date: Mon, 8 Mar 2021 15:33:01 UTC

Severity: normal

Tags: debian

Found in version 11-20210306-1

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 8 Mar 2021 15:20:04 +0000
Return-Path: <arthur.marsh@internode.on.net>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 08 Mar 2021 15:20:04 +0000 (UTC)
Received: from ipmail05.adl4.internode.on.net (ipmail05.adl4.internode.on.net [150.101.137.25])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 0BFCBF60CC0
	for <submit@bugs.devuan.org>; Mon,  8 Mar 2021 16:10:44 +0100 (CET)
X-SMTP-MATCH: 1
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DECwCzPUZgACPVOctigQkHgmaCA1ZrhEGJBIhXOgGDcpY7gWgLATkJAQIEAQGERwQCGYFkJjgTAhABAQYBAQEBAQYEEAE4hgkNhm4RIjsVCAImAgRFAhSDBIMGEK0hgTKJBoE/BoEPKoZ+hkQ2gVVCgUSDJYJcBBeBDVGCf4JfBIFLgWYRP4EbBT4elFalRywHgwGBGgULiBaTCBAMgx2KUZVioCGYfIF6Mxougy9PJo4rFohhhVgxLwI2AgYBCQEBAwlVAR4IE44XAQE
Received: from 203-57-213-35.dyn.iinet.net.au (HELO localhost) ([203.57.213.35])
  by ipmail05.adl4.internode.on.net with ESMTP; 09 Mar 2021 01:40:17 +1030
Received: from amarsh04 by localhost with local (Exim 4.94)
	(envelope-from <arthur.marsh@internode.on.net>)
	id 1lJHWK-00046i-Im; Tue, 09 Mar 2021 01:40:08 +1030
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: tg3.c:8159:1: error: unrecognizable insn:
Message-ID: <161521620856.15230.2807045867100362413.reportbug@localhost>
Date: Tue, 09 Mar 2021 01:40:08 +1030
X-Spam-Status: No, score=0.0 required=5.0 tests=T_SPF_TEMPERROR
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: gcc-11
Version: 11-20210306-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Attempting to build Linux kernel 5.12.0-rc2 with gcc-11

drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_start_xmit’:
drivers/net/ethernet/broadcom/tg3.c:8159:1: error: unrecognizable insn:
 8159 | }
      | ^
(insn 251 1381 1452 24 (parallel [
            (set (reg:SI 0 ax [orig:522 sum ] [522])
                (asm_operands:SI ("  addl %1, %0
  adcl %2, %0
  adcl %3, %0
  adcl $0, %0
") ("=r") 0 [
                        (mem:SI (plus:DI (mem/c:DI (plus:DI (reg/f:DI 7 sp)
                                        (const_int 80 [0x50])) [565 %sfp+-24 S8 
A64])
                                (const_int 16 [0x10])) [4 MEM[(struct iphdr *)_2
61].daddr+0 S4 A32])
                        (mem:SI (plus:DI (mem/c:DI (plus:DI (reg/f:DI 7 sp)
                                        (const_int 80 [0x50])) [565 %sfp+-24 S8 
A64])
                                (const_int 12 [0xc])) [4 MEM[(struct iphdr *)_26
1].saddr+0 S4 A32])
                        (const_int 1536 [0x600])
                        (reg:SI 0 ax [orig:522 sum ] [522])
                    ]
                     [
                        (asm_input:SI ("g") ./arch/x86/include/asm/checksum_64.h
:91)
                        (asm_input:SI ("g") ./arch/x86/include/asm/checksum_64.h
:91)
                        (asm_input:SI ("g") ./arch/x86/include/asm/checksum_64.h
:91)
                        (asm_input:SI ("0") ./arch/x86/include/asm/checksum_64.h
:91)
                    ]
                     [] ./arch/x86/include/asm/checksum_64.h:91))
            (clobber (reg:CC 17 flags))
        ]) "./arch/x86/include/asm/checksum_64.h":91:2 -1
     (nil))
during RTL pass: reload
drivers/net/ethernet/broadcom/tg3.c:8159:1: internal compiler error: in extract_
constrain_insn, at recog.c:2670
0xcd039b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:108
0xcd052b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:116
0x954af4 extract_constrain_insn(rtx_insn*)
        ../../src/gcc/recog.c:2670
0x954af4 extract_constrain_insn(rtx_insn*)
        ../../src/gcc/recog.c:2666
0x954af4 check_rtl
        ../../src/gcc/lra.c:2087
0x176d87c lra(_IO_FILE*)
        ../../src/gcc/lra.c:2505
0x176c249 do_reload
        ../../src/gcc/ira.c:5827
0x176c249 execute
        ../../src/gcc/ira.c:6013

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

This appears to be the same or similar bug as: 

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99461



-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera/ceres)
Release:	testing/unstable
Codename:	n/a
Architecture: x86_64

Kernel: Linux 5.12.0-rc2+ (SMP w/4 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages gcc-11 depends on:
ii  binutils       2.36.1-5
ii  cpp-11         11-20210306-1
ii  gcc-11-base    11-20210306-1
ii  libc6          2.31-9
ii  libcc1-0       11-20210306-1
ii  libgcc-11-dev  11-20210306-1
ii  libgcc-s1      11-20210306-1
ii  libgmp10       2:6.2.1+dfsg-1
ii  libisl23       0.23-1
ii  libmpc3        1.2.0-1
ii  libmpfr6       4.1.0-3
ii  libstdc++6     10.2.1-6
ii  libzstd1       1.4.8+dfsg-2.1
ii  zlib1g         1:1.2.11.dfsg-2

Versions of packages gcc-11 recommends:
ii  libc6-dev  2.31-9

Versions of packages gcc-11 suggests:
pn  gcc-11-doc       <none>
pn  gcc-11-locales   <none>
pn  gcc-11-multilib  <none>

-- no debconf information

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Oct 7 19:07:22 2022;