Thanks, I have made this update to the gfan svn. Best regards, Anders
________________________________ Fra: Torrance, Douglas Sendt: Fredag 19 November 2021 11:32 Til: [email protected] Cc: Anders Nedergaard Jensen; [email protected] Emne: Re: Sv: Bug#950008: gfan: assertion fails on riscv64 On Tue, 9 Nov 2021 01:13:25 +0000 "Torrance, Douglas" <[email protected]> wrote: > On Tue, 28 Jan 2020 13:28:02 +0000 Anders Nedergaard Jensen > <[email protected]> wrote: > > Thanks for the bug report. > > Line 30 of application.cpp looks suspicious: > > while(p[l]!=0 && p[l]!='/'); > > Does it help to change it to > > while(l!=0 && p[l]!='/'); > > ? > > If not, I think I need to know what the char* argv[0] points to when main > > is called. > > I included a slight modification of this patch (with "l >= 0" instead of > "l != 0") in the latest gfan upload (0.6.2-5). Fingers crossed that it > fixes things on riscv64! This patch (attached) appears to have worked! The most recent build of Macaulay2 on riscv64 [1], while failing for other reasons, got past the gfan detection stage: checking whether the package gfan is installed... yes I'll wait to see if it works for the next riscv64 build of Sage before closing this bug. Doug [1] https://buildd.debian.org/status/fetch.php?pkg=macaulay2&arch=riscv64&ver=1.19%2Bds-1&stamp=1637315650&raw=0

