Subject: Re: Question about using shared objects from FreeBSD or Linux
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: David P. Reese Jr. <daver@gomerbud.com>
List: port-i386
Date: 12/20/2003 16:01:05
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?

-- 
   David P. Reese, Jr.                                  daver at gomerbud.com
                                               http://www.gomerbud.com/daver/