Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 13:06:42 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Bruce Evans <bde@zeta.org.au>, Jake Burkholder <jake@locore.ca>, sparc@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: [PATCH] Re: fpsetmask on sparc64
Message-ID:  <20030113210642.GB798@dhcp01.pn.xcllnt.net>
In-Reply-To: <3E2324B0.585FD417@mindspring.com>
References:  <20030113034638.GA2310@dhcp01.pn.xcllnt.net> <20030113190710.I11541-100000@gamplex.bde.org> <20030113100558.GA3423@dhcp01.pn.xcllnt.net> <3E2324B0.585FD417@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 13, 2003 at 12:42:24PM -0800, Terry Lambert wrote:
> > 
> > Some configure scripts may check for <floatingpoint.h> for compatibility
> > with SunOS/Solaris. I doubt they will check <machine/floatingpoint.h>
> 
> And here's the reason why.  The SPARC platform for FreeBSD will need
> to be sensitive to the fact that people will port from SPARC running
> some other OS to SPARC running FreeBSD.  The most likely source of
> ported code in this case is SPARC running Solaris, which has the
> header file in question.

Ok. I'm now going to throw (an interpretation of) your own words into
the mix and let you decide how you want to prioritize them. You said
that FreeBSD on different platforms should not cause variation in the
API or ABI. If having <floatingpoint.h> on sparc64 makes sense, then
having all kinds of proprietary OS quirks on platforms with proprietary
OSes also makes sense. This contradicts with the uniformity across
platforms. Either we present the FreeBSD ABI and API uniformly across
the supported platforms or we provide an uniform subset and allow
deviation for ease of porting but then also have to accept porting
across different FreeBSD implementations.

I favor an uniform ABI/API if only to keep our ports meisters sane,
but also because there's just too much difference that the existence
or non-existence of <floatingpoint.h> will not make a big difference
in porting SunOS/Solaris code. This is gut-feeling -- use salt...

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

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?20030113210642.GB798>