Subject: Re: Question about using shared objects from FreeBSD or Linux
To: David P. Reese Jr. <daver@gomerbud.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 12/21/2003 18:30:43
On Sat, Dec 20, 2003 at 04:01:05PM -0800, David P. Reese Jr. wrote:
> On Sat, Dec 20, 2003 at 09:31:44PM +0100, Manuel Bouyer wrote:
> > On Fri, Dec 19, 2003 at 01:46:37PM -0800, Brian Buhrow wrote:
> > > 	Since NetBSD uses ELF format binary shared objects now, I'm wondering
> > > if programs which load their own modules, like apache or Asterisk, can load
> > > binary shared objects which were built for FreeBSD or Linux, assuming those
> > > modules do not depend on library calls wich are only available in the
> > > compatibility libraries for those respective operating systems.  The reason
> > 
> > It's all the calls to external libraries that can potentially cause
> > problems, because function signatures may be different.
> 
> Don't you also have problems with conflicting ABI's?  For example, passing
> function arguments on the stack versus passing in the general purpose
> registers?

I think we use the same ABI as linux and freebsd.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--