> From owner-ports+m34664=martynas=altroot....@openbsd.org Thu Mar 26 21:05:36 > 2009 > X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-10.arcor-online.net 5FD0B28EF8F > From: Christian Weisgerber <na...@openbsd.org> > To: ports@openbsd.org > Subject: vax bulk build failures > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > User-Agent: Mutt/1.5.19 (2009-01-05) > X-Loop: ports@openbsd.org > Precedence: bulk > Sender: owner-po...@openbsd.org > > Paradoxically, since so little builds on the vax, I was able to run > a full package build for 4.5. Here's the list of broken ports > (minus the 30 or so that have already been fixed): > > archivers/zziplib cc1: Invalid option -fexport-dynamic > astro/libnova undefined symbol _nan
this is an easy one; since vax fp does not have distinguished values for nans thoughts? "The nan functions return a quiet NaN, if available, with content indicated through tagp. If the implementation does not support quiet NaNs, the functions return zero." -- C99 Index: Makefile =================================================================== RCS file: /cvs/src/lib/libm/Makefile,v retrieving revision 1.62 diff -u -r1.62 Makefile --- Makefile 12 Dec 2008 19:30:17 -0000 1.62 +++ Makefile 26 Mar 2009 20:49:42 -0000 @@ -117,7 +117,7 @@ n_erf.c n_exp.c n_exp__E.c n_expm1.c n_fdim.c n_floor.c \ n_fmax.c n_fmaxf.c n_fmin.c n_fminf.c n_fmod.c n_hypot.c \ n_infnan.c n_j0.c n_j1.c n_jn.c n_lgamma.c n_log.c n_log10.c \ - n_log1p.c n_log__L.c n_pow.c n_round.c n_sincos.c n_sinh.c \ + n_log1p.c n_log__L.c n_nan.c n_pow.c n_round.c n_sincos.c n_sinh.c \ n_sqrt.c n_support.c n_tan.c n_tanh.c n_tgamma.c # OpenBSD's C library supplies these functions: Index: noieee_src/n_nan.c =================================================================== RCS file: noieee_src/n_nan.c diff -N noieee_src/n_nan.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ noieee_src/n_nan.c 26 Mar 2009 20:49:42 -0000 @@ -0,0 +1,23 @@ +#include <math.h> + +/* ARGSUSED */ +double +nan(const char *tagp) +{ + return (0); +} + +/* ARGSUSED */ +float +nanf(const char *tagp) +{ + return (0); +} + +/* ARGSUSED */ +long double +nanl(const char *tagp) +{ + return (0); +} +