Re: xsltproc floating-point exception

Martin Husemann <[email protected]> Wed, 29 Apr 2026 10:20:54 +0200
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Tue, Apr 28, 2026 at 10:52:16PM +0300, Monica Vaida wrote:
> When trying to build libxslt I get many errors during the compilation
> of two files, `libexslt/math.c` and `libexslt/date.c`, both part of
> the libxslt extension library, libexslt. The errors are caused by
> `NAN` being undefined in `<math.h>` due to the VAX's nonstandard
> floating-point.

You need to patch xsltproc to cope with architectures that do not define
NAN. That is why the define is optional in the C standard - some machines
just do not have it.

Martin