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

version graph

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

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

Fixed in version 11-20210327-1

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/984870

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#565; Package gcc-11. (Mon, 08 Mar 2021 15:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Mon, 08 Mar 2021 15:33:13 GMT) (full text, mbox, link).


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

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:
Date: Tue, 09 Mar 2021 01:40:08 +1030
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

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#565; Package gcc-11. (Mon, 08 Mar 2021 17:48:02 GMT) (full text, mbox, link).


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

From: Mark Hindley <mark@hindley.org.uk>
To: Arthur Marsh <arthur.marsh@internode.on.net>, 565@bugs.devuan.org
Subject: Re: bug#565: tg3.c:8159:1: error: unrecognizable insn:
Date: Mon, 8 Mar 2021 17:36:23 +0000
Control: tags -1 debian

Arthur,

Thanks for this.

On Tue, Mar 09, 2021 at 01:40:08AM +1030, Arthur Marsh wrote:
> Package: gcc-11
> Version: 11-20210306-1

However, neither gcc nor the linux kernel are forked packages and Devuan uses
Debian's packages directly without recompilation. Please report this directly to
Debian's BTS.

Thanks.

Mark

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 565-submit@bugs.devuan.org. (Mon, 08 Mar 2021 17:48:06 GMT) (full text, mbox, link).


Set bug forwarded-to-address to 'https://bugs.debian.org/984870'. Request was from Mark Hindley <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 11 Jan 2023 11:34:01 GMT) (full text, mbox, link).


Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Wed, 11 Jan 2023 11:40:03 GMT) (full text, mbox, link).


Notification sent to Arthur Marsh <arthur.marsh@internode.on.net>:
bug acknowledged by developer. (Wed, 11 Jan 2023 11:40:05 GMT) (full text, mbox, link).


Message #17 received at 565-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 565-done@bugs.devuan.org
Subject: Fixed in Debian #984870
Date: Wed, 11 Jan 2023 11:38:53 +0000
Version: 11-20210327-1

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: Sun Nov 24 06:49:16 2024;