Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2003 20:47:20 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        sparc@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: fpsetmask on sparc64
Message-ID:  <20030112044720.GA16393@rot13.obsecurity.org>
In-Reply-To: <20030112031626.GA15783@rot13.obsecurity.org>
References:  <20030112031626.GA15783@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 11, 2003 at 07:16:26PM -0800, Kris Kennaway wrote:
> fpsetmask is not defined in <floatingpoint.h> or
> <machine/floatingpoint.h> on sparc64 (it is on i386):
>=20
> /usr/include/machine/floatingpoint.h:#define    fpsetmask(m)    ((fp_exce=
pt_t)      \
> /usr/include/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t);
> /usr/include/floatingpoint.h:#define    fpsetmask(m)    ((fp_except_t)   =
        =20
>=20
> This appears to cause the following port failures/warnings:
>=20
> 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 functio=
n `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 fu=
nction)
>=20
> Is this an omission, or are the ports wrong?

Here's another FP-related failure:

http://bento.freebsd.org/errorlogs/sparc64-5-latest/xaos-3.0.log

FP_X_DNML is defined on i386 in /usr/include/machine/ieeefp.h, but not
on sparc64.

Kris

--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+IPNYWry0BWjoQKURAkSbAKDYFIJRcSo2f0X0bJMsVyBLozYrdQCgp5sc
EGtX2Yx7Zcg6xeKki4wKyT4=
=19Aa
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--

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?20030112044720.GA16393>