Date: Fri, 12 Apr 1996 22:54:59 +0200 (MET DST) From: Juergen Lock <nox@jelal.hb.north.de> To: questions@freebsd.org Subject: Re: Netscape's Atlas for FreeBSD Bombs (no more) Message-ID: <199604122054.WAA00360@saturn.hb.north.de> In-Reply-To: <199604100102.SAA06377@phaeton.artisoft.com> References: <Pine.PTX.3.91.960409152145.24231s-100000@soda.CSUA.Berkeley.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199604100102.SAA06377@phaeton.artisoft.com> you write: >> > > I think I remember seeing this come across this list earlier and didn't pay >> > > any attention to it, and now I wish I did. The new Atlas from Nescape is >> > > bombing with a 'floating' something error. Is this a Netscape bug or >> > > something in FreeBSD? Any known fixes? >> > >> > It's using one of the wierd math coprocessor instructions, probably >> > packed decimal or something equally dumb. You can: >> > >> > 1) Install a math coprocessor >> > Happened here on a 486dx also, btw >> > 2) Rebuild a kernel with the GNU math coprocessor emulator >> > (see /sys/i386/conf/LINT for instructions). >> >> What about on systems using a Pentium CPU which has the math >> coprocessor built in? > >It's not expecting strict IEEE exception handling. You should replace >your libm with the GNU version. Unfortunately the little monster is statically linked. (text + data over 4MB...) Anyway this is what i did, #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <signal.h> int main(int argc, char **argv) { if (argc < 1) exit(2); signal(SIGFPE, SIG_IGN); execvp(argv[1], argv+1); exit(1); } and exec netscape.bin thru it. ATB Juergen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604122054.WAA00360>