octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64446] Sparse QR segfaults with SuiteSparse 7


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #64446] Sparse QR segfaults with SuiteSparse 7 on 32-bit architectures
Date: Wed, 19 Jul 2023 03:22:53 -0400 (EDT)

Follow-up Comment #1, bug #64446 (project octave):


> Note that between SuiteSparse 5 and 7, the SuiteSparse_long type has changed
on 32-bit architectures. It used to be a long (i.e. 32-bit), and it is now an
int64_t (i.e. 64-bit). I don’t know if that is related to the issue. There
is however already some code in sparse-qr.cc to deal with the different
possible sizes of SuiteSparse_long, so maybe this is a red herring.

That is likely the cause of the issue. IIUC, that change causes those
libraries from SuiteSparse that don't have an explicit interface for 32-bit
integers to become unusable on 32-bit platforms. (I might be wrong though).
See also this report for SuiteSparse:
https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/221

For the SuiteSparse libraries distributed by MSYS2, this was "resolved" by
pinning SuiteSparse to version 5 for 32-bit:
https://github.com/msys2/MINGW-packages/pull/14663



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64446>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]