• Bug#1118058: scipy: m68k fails: sparsetools/bsr.h unable to find a regi

    From Drew Parsons@3:633/10 to All on Wednesday, November 05, 2025 14:40:01
    Subject: Bug#1118058: scipy: m68k fails: sparsetools/bsr.h unable to find a register to spill in class ?ADDR_REGS?

    Package: gcc-15
    Version: 15.2.0-7
    Followup-For: Bug #1118058
    X-Debbugs-Cc: debian-68k@lists.debian.org
    User: debian-68k@lists.debian.org
    Usertags: m68k
    Control: affects -1 src:hypre
    hypre is also affected by a gcc dump on m68k https://buildd.debian.org/status/fetch.php?pkg=hypre&arch=m68k&ver=2.33.0-1exp1&stamp=1762349220&raw=0
    2399190: // csr_matrix.c: In function ?hypre_CSRMatrixRead?:
    2399190: // csr_matrix.c:520:1: error: insn does not satisfy its constraints: 2399190: // 520 | }
    2399190: // | ^
    2399190: // (insn 70 244 71 4 (set (mem:SI (reg:SI 8 %a0) [3 MEM[(HYPRE_Int *)_73 + 4294967292B]+0 S4 A16])
    2399190: // (plus:SI (mem:SI (reg:SI 9 %a1) [3 MEM[(HYPRE_Int *)_6]+0 S4 A16])
    2399190: // (const_int -1 [0xffffffffffffffff]))) "csr_matrix.c":486:19 150 {*addsi3_internal}
    2399190: // (nil))
    2399190: // during RTL pass: postreload
    2399190: // csr_matrix.c:520:1: internal compiler error: in extract_constrain_insn, at recog.cc:2783

    True, in this case it's not reporting a missing register ADDR_REGS.


    --- PyGate Linux v1.5
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Paul Adrian Glaubitz@3:633/10 to All on Wednesday, November 05, 2025 14:50:01
    Subject: Bug#1118058: scipy: m68k fails: sparsetools/bsr.h unable to find a register to spill in class ?ADDR_REGS?

    On Wed, 2025-11-05 at 14:33 +0100, Drew Parsons wrote:
    Package: gcc-15
    Version: 15.2.0-7
    Followup-For: Bug #1118058
    X-Debbugs-Cc: debian-68k@lists.debian.org
    User: debian-68k@lists.debian.org
    Usertags: m68k
    Control: affects -1 src:hypre

    hypre is also affected by a gcc dump on m68k

    https://buildd.debian.org/status/fetch.php?pkg=hypre&arch=m68k&ver=
    2.33.0-1exp1&stamp=1762349220&raw=0

    2399190: // csr_matrix.c: In function ?hypre_CSRMatrixRead?
    ?:
    2399190: // csr_matrix.c:520:1: error: insn does not satisfy its constrai
    nts:
    2399190: // 520 | }
    2399190: // | ^
    2399190: // (insn 70 244 71 4 (set (mem:SI (reg:SI 8 %a0) [3 MEM[(HYPRE_I
    nt *)_73 + 4294967292B]+0 S4 A16])
    2399190: // (plus:SI (mem:SI (reg:SI 9 %a1) [3 MEM[(HYPRE_Int *)_
    6]+0 S4 A16])
    2399190: // (const_int -1 [0xffffffffffffffff]))) "csr_matrix
    .c":486:19 150 {*addsi3_internal}
    2399190: // (nil))
    2399190: // during RTL pass: postreload
    2399190: // csr_matrix.c:520:1: internal compiler error: in extract_const
    rain_insn, at recog.cc:2783


    True, in this case it's not reporting a missing register ADDR_REGS.

    It's a different bug, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1
    22438

    The bug report for the scipy issue is: https://gcc.gnu.org/bugzilla/show_bu g.cgi?id=122479

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- PyGate Linux v1.5
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Drew Parsons@3:633/10 to All on Wednesday, November 05, 2025 15:10:01
    Subject: Bug#1118058: scipy: m68k fails: sparsetools/bsr.h unable to find a register to spill in class ?ADDR_REGS?

    On 2025-11-05 14:47, John Paul Adrian Glaubitz wrote:
    On Wed, 2025-11-05 at 14:33 +0100, Drew Parsons wrote:
    Package: gcc-15
    Version: 15.2.0-7
    Followup-For: Bug #1118058

    hypre is also affected by a gcc dump on m68k

    True, in this case it's not reporting a missing register ADDR_REGS.

    It's a different bug, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122438

    The bug report for the scipy issue is: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122479

    Thanks for clarifying, Adrian.
    Great to see they're both getting fixed.

    Drew

    --- PyGate Linux v1.5
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)