svn commit: r353597 - head/share/mk

Brooks Davis brooks at freebsd.org
Tue Oct 15 21:41:53 UTC 2019


On Tue, Oct 15, 2019 at 09:27:07PM +0000, Brooks Davis wrote:
> Author: brooks
> Date: Tue Oct 15 21:27:06 2019
> New Revision: 353597
> URL: https://svnweb.freebsd.org/changeset/base/353597
> 
> Log:
>   Add the ability to link programs against a compat ABI.
>   
>   Linkage is controlled by two make knobs:
>   	WANT_COMPAT - Prefer to link against the compat ABI.
>   	NEED_COMPAT - Link against the compat ABI or fail to build.
>   
>   Supported values are "32", "soft", and "any".  The latter meaning pick
>   the first[0] supported compat ABI.
>   
>   This can be used to provide test binaries for compat ABIs or to link
>   ABI-specific programs.
>   
>   [0] We currently support only one compat ABI at a time, but this may
>   change in the future and some code in this commit is structured to ease
>   that change.
>   
>   Reviewed by:	bdrewery, jhb
>   Obtained from:	CheriBSD (in concept)
>   Sponsored by:	DARPA, AFRL
>   Differential Revision:	https://reviews.freebsd.org/D22023

This allows simple programs to build/link per the description.  More
work will be required to build programs that depend on things like
MACHINE_ARCH, but this gets the basics working.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20191015/25c77d66/attachment.sig>


More information about the svn-src-all mailing list