From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Fri Mar 13 00:58:52 EDT 2020 Received: from abbatoir.fios-router.home (pool-162-83-132-245.nycmny.fios.verizon.net [162.83.132.245]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 682b0e48 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Thu, 12 Mar 2020 21:58:43 -0700 (PDT) Message-ID: <416ACE4C189DEB5FEDC699884BBB0588@eigenstate.org> To: kokamoto@hera.eonet.ne.jp, 9front@9front.org Subject: Re: [9front] adding javascript enable to netsurf Date: Thu, 12 Mar 2020 21:58:41 -0700 From: ori@eigenstate.org In-Reply-To: <640113AC11648AFD73090E4C6B1219B9@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: full-stack-oriented persistence control >> However, I'm now running it on 1GB rpi3, it corrupted. >> I'll compile netsurf on a 386 machine tommorrow. > > I did it. > term% ls -l 8.nsfb > --rwxr-xr-x M 26 kokamoto kokamoto 46841407 Mar 13 11:20 8.nsfb > > It's worse... > > I got: > term% ./8.nsfb > INITING display! > 8.nsfb 51407: suicide: sys: fp: invalid operation fppc=0xf8dc6 status=0xb8a3 pc=0x000e5026 > > I'll take a rest, and investigate what's going on here. > > Kenji Plan 9 is stricter about floating point operations like division by zero. It can be made to behave more like Unix by calling setfcr at the start of the program. I think something like: setfcr(getfcr() & ~(FPINVAL|FPZDIV|FPOVFL)); will do the job.