[ru@FreeBSD.org: install32]

David O'Brien obrien at freebsd.org
Wed Dec 7 15:18:00 PST 2005


On Wed, Dec 07, 2005 at 03:10:03PM +0530, Joseph Koshy wrote:
> ru>   FreeBSD src repository
> ru>
> ru>   Modified files:
> ru>     .                    Makefile.inc1
> ru>     share/mk             bsd.lib.mk bsd.prog.mk
> 
> ru>   Add the NO_INCS knob to bsd.prog.mk and bsd.lib.mk to not include
> ru>   bsd.incs.mk, and use it when installing 32-bit compat libraries
> ru>   on amd64.  This causes it to *not* overwrite native headers with
> ru>   i386 versions, which was the case with <fenv.h> and <vgl.h>.
> 
> ru> This commit fixes a breakage but also raises the following question.
> ru> If we don't install headers, do we need anything except 32-bit rtld
> ru> and shared libraries?  Currently, we also install .a libraries, .o
> ru> objects, and some data files.
> 
> Why not install all 32 bit stuff under /compat/freebsd-i386/?

I'm convensed we need to support /compat/freebsd-i386 if we have any
hopes of using 32-bit ports on FreeBSD/AMD64.
 
> We currently use directory /usr/lib32 for 32 bit libraries,
> /usr/libexec/ld-elf32.so.1 for the 32 bit rtld(8) and have no place to
> keep 32-bit headers.

We still want to install the 32-bit shared libs as we do today - they
aren't fully ABI compatable with FreeBSD/i386 (because we do certain
optimizations) - but they don't need to be as they just need to be ABI
and API compatable with the published extern interfaces.

-- 
-- David  (obrien at FreeBSD.org)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?


More information about the freebsd-amd64 mailing list