Date: Tue, 15 Oct 2019 21:41:52 +0000 From: Brooks Davis <brooks@freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r353597 - head/share/mk Message-ID: <20191015214152.GC49245@spindle.one-eyed-alien.net> In-Reply-To: <201910152127.x9FLR7rV061089@repo.freebsd.org> References: <201910152127.x9FLR7rV061089@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--oJ71EGRlYNjSvfq7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > Log: > Add the ability to link programs against a compat ABI. > =20 > 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. > =20 > Supported values are "32", "soft", and "any". The latter meaning pick > the first[0] supported compat ABI. > =20 > This can be used to provide test binaries for compat ABIs or to link > ABI-specific programs. > =20 > [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. > =20 > 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 --oJ71EGRlYNjSvfq7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEbBAEBAgAGBQJdpj0fAAoJEKzQXbSebgfAC2cH+NHHRikLt+x8tGtMix8BY08W 0F4IypC9g3jzN5JjTvBv8qFzrfs2E/5Qz1XdVxqMnHaIlnne6R+rLHRreoNW2EP+ 5Q6E5epbcTJKUE94XY17QtRf0qRUha8SJzo/NO29RbX/MGA8c9vggw+oFaaK8dSk kN9L1Qf4lpjs9t4I038hBj6y0c4BHDMcJYFJUuCYZyecVNaxg/O0z6hXBPpdlGdh DUU/D0f39mPF4SaU4sL1IWyyCPBQesPagHe1kWS4BukLnkoq3a5CuMx5Y8M7bPpa 101bPrUcevqTPX7h9Iw5cCLdRXsqhNF242wLr96dvMD4rsin8O292reHeCkmLQ== =vjcZ -----END PGP SIGNATURE----- --oJ71EGRlYNjSvfq7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191015214152.GC49245>