From owner-freebsd-current Sat Jan 11 22:52: 7 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3500D37B401; Sat, 11 Jan 2003 22:52:06 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876D943F3F; Sat, 11 Jan 2003 22:52:05 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id h0C6qLjb002906; Sun, 12 Jan 2003 01:52:21 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id h0C6qLaU002905; Sun, 12 Jan 2003 01:52:21 -0500 (EST) Date: Sun, 12 Jan 2003 01:52:21 -0500 From: Jake Burkholder To: Kris Kennaway Cc: sparc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: fpsetmask on sparc64 Message-ID: <20030112015221.G212@locore.ca> References: <20030112031626.GA15783@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030112031626.GA15783@rot13.obsecurity.org>; from kris@obsecurity.org on Sat, Jan 11, 2003 at 07:16:26PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Apparently, On Sat, Jan 11, 2003 at 07:16:26PM -0800, Kris Kennaway said words to the effect of; > fpsetmask is not defined in or > 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