From owner-freebsd-current Sun Jan 12 5:15:29 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 C525937B401; Sun, 12 Jan 2003 05:15:27 -0800 (PST) Received: from flavatown.mail.pas.earthlink.net (flavatown.mail.pas.earthlink.net [207.217.120.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D19643ED8; Sun, 12 Jan 2003 05:15:27 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from stork (stork.mail.pas.earthlink.net [207.217.120.188]) by flavatown.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id h0CDDIV20804; Sun, 12 Jan 2003 05:13:18 -0800 (PST) Received: from pool0007.cvx40-bradley.dialup.earthlink.net ([216.244.42.7] helo=mindspring.com) by stork with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18XhtG-0005i5-00; Sun, 12 Jan 2003 05:11:03 -0800 Message-ID: <3E216911.B7AFC39F@mindspring.com> Date: Sun, 12 Jan 2003 05:09:37 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jake Burkholder Cc: Kris Kennaway , sparc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: fpsetmask on sparc64 References: <20030112031626.GA15783@rot13.obsecurity.org> <20030112015221.G212@locore.ca> <3E212670.41627B9F@mindspring.com> <20030112032908.H212@locore.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a40a48f0fa5fef75ae6ad82fb2b305d3873ca473d225a0f487350badd9bab72f9c350badd9bab72f9c 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 Jake Burkholder wrote: > > Isn't that really a lame excuse? Shouldn't > > > > #ifdef __FreeBSD__ > > > > be enough to make code compile on all FreeBSD platforms? > > I don't know, why don't you try it. I understand the snide reply. My point was that if FreeBSD had platform differences, it should hide them from user space applications: if it's going to be as hard to port to FreeBSD-alpha from FreeBSD-i386, then you might as well spend your time on a higher margin platform. Apparently, Solaris supports fpsetmask(3C) in SVR4 derived Solaris on SPARC, which means that this is not an Intel-specific feature, and therefore it's not possible to justify it being an Intel-specific feature in FreeBSD. In the absolute worst case, it should be stubbed out, and complain, on SPARC and Alpha, if it isn't made to work. Solaris man page: http://www.FreeBSD.org/cgi/man.cgi?query=fpsetmask&apropos=0&sektion=0&manpath=SunOS+5.8&format=html -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message