Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 01:52:21 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        sparc@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: fpsetmask on sparc64
Message-ID:  <20030112015221.G212@locore.ca>
In-Reply-To: <20030112031626.GA15783@rot13.obsecurity.org>; from kris@obsecurity.org on Sat, Jan 11, 2003 at 07:16:26PM -0800
References:  <20030112031626.GA15783@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Sat, Jan 11, 2003 at 07:16:26PM -0800,
	Kris Kennaway said words to the effect of;

> fpsetmask is not defined in <floatingpoint.h> or
> <machine/floatingpoint.h> on sparc64 (it is on i386):
> 
> /usr/include/machine/floatingpoint.h:#define    fpsetmask(m)    ((fp_except_t)      \
> /usr/include/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t);
> /usr/include/floatingpoint.h:#define    fpsetmask(m)    ((fp_except_t)            
> 
> This appears to cause the following port failures/warnings:
> 
> amphetamine-0.8.10.log:src/Main.cpp:79: `fpsetmask' undeclared (first use this function)
> glasteroids-1.0.log:Glasteroids.cxx:82: `fpsetmask' undeclared (first use this function)
> lame-devel-3.89b.log:util.c:883: warning: implicit declaration of function `fpsetmask'
> smalltalk-2.0.8.log:lex.c:814: warning: implicit declaration of function `fpsetmask'
> xmrm-2.0_2.log:morphvec.cc:439: `fpsetmask' undeclared (first use this function)
> 
> Is this an omission, or are the ports wrong?

FWIW, the alpha headers are basically identical to the sparc64 ones.
There may be missing ifdefs in the ports or the makefiles.

Jake

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112015221.G212>