:: [devuan-dev] bug#565: tg3.c:8159:1:…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Arthur Marsh
Päiväys:  
Vastaanottaja: Devuan Bug Tracking System
Aihe: [devuan-dev] bug#565: tg3.c:8159:1: error: unrecognizable insn:
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