Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 1999 17:58:00 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Ronald 'Ko' Klop" <ronald@node11a94.a2000.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ghostscript 5.5 floating point exception
Message-ID:  <Pine.BSF.4.10.9906181756420.34137-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.05.9906171233001.58803-200000@dlanor.evertsen.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Jun 1999, Ronald 'Ko' Klop wrote:

> I compiled ghostscript 5.5 from the ports collection. When I run this
> program it immediately crashes with a floating point exception. I have a
> Cyrix 486DX and the kernel detects npx0 while booting. So, I have a FPU.
> 
> Gs gets the signal in png_push_fill_buffer() which is an empty
> function in gdevpnm.c. I don't understand how a FPU exception can
> occure in an empty function.

Did you use the port?

This is a common Linux-ism.  Linux masks all FPU exceptions by default,
where FreeBSD does not.  The offending calls simply need to be bracketed
with fpgetmask()/fpsetmask() calls.  

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906181756420.34137-100000>