<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/Makefile.libcompat, branch release/12.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F12.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F12.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2019-10-21T17:17:21Z</updated>
<entry>
<title>MFC r353776 (dim):</title>
<updated>2019-10-21T17:17:21Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2019-10-21T17:17:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3f53a11e190819aa61dd11db4c3dd8eb02e4a2ad'/>
<id>urn:sha1:3f53a11e190819aa61dd11db4c3dd8eb02e4a2ad</id>
<content type='text'>
 Follow up on r351916 by also bumping the version suffix to 12.1 in
 Makefile.libcompat.

Approved by:	re (kib)
Sponsored by:	Rubicon Communications, LLC (Netgate)
</content>
</entry>
<entry>
<title>MFC r349548:</title>
<updated>2019-07-04T10:16:44Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2019-07-04T10:16:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=951fab423da42e91c139a794d98249f126231167'/>
<id>urn:sha1:951fab423da42e91c139a794d98249f126231167</id>
<content type='text'>
Build lib32 libl.  The library is built from usr.bin/lex/lib.  It would be
better to move this directory to lib/libl, but this requires more extensive
changes to Makefile.inc1.  This simple fix can be MFCed quickly.

PR:		238874
Reviewed by:	imp
</content>
</entry>
<entry>
<title>Introduce src.conf knob to build userland with retpoline</title>
<updated>2018-11-20T20:16:03Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-11-20T20:16:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f8a6e93c1db5768ad6df1f13f5f2276e2660ddb7'/>
<id>urn:sha1:f8a6e93c1db5768ad6df1f13f5f2276e2660ddb7</id>
<content type='text'>
MFC r339511: Introduce src.conf knob to build userland with retpoline

WITH_RETPOLINE enables -mretpoline vulnerability mitigation in userland
for CVE-2017-5715.

MFC r340099: libcompat: disable retpoline when building build tools

These are built with the host toolchain which may not support retpoline.
While here, move the MK_ overrides to a separate line and sort them
alphabetically to support future changes.

MFC r340650: Avoid retpolineplt with static linking

Statically linked binaries linked with -zretpolineplt crash at startup
as lld produces a broken PLT.

MFC r340652: rescue: set NO_SHARED in Makefile

The rescue binary is built statically via the Makefile generated by
crunchgen, but that does not trigger other shared/static logic in
bsd.prog.mk - in particular

PR:		233336
Reported by:	Peter Malcom (r339511), Charlie Li (r340652)
Approved by:	re (gjb, early MFC)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Fix non-FreeBSD host lib32 build for TARGET=amd64</title>
<updated>2018-08-23T18:19:10Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2018-08-23T18:19:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a00cd9540d117e62edb8e1e35266d6d13c91975c'/>
<id>urn:sha1:a00cd9540d117e62edb8e1e35266d6d13c91975c</id>
<content type='text'>
When building on non-FreeBSD systems we need to pass an explicit target
triple to clang otherwise it will attempt to build with the host triple.
This also has advantages when building on a FreeBSD host: we now tell
clang that we are targeting at least FreeBSD 12.0 instead of an older
version so it can enable newer features.

Reviewed By:	brooks (mentor)
Approved By:	jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D16842
</content>
</entry>
<entry>
<title>Install the 32-bit compat sanitizer libraries.</title>
<updated>2018-08-03T18:52:51Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-08-03T18:52:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=52f9bacb0e3933d924fa14a045026dbb0e005edc'/>
<id>urn:sha1:52f9bacb0e3933d924fa14a045026dbb0e005edc</id>
<content type='text'>
The lib32 build was already building the i386 version of
the clang sanitizers (libclang_rt) but they were not being
installed.  This enables the installation.

MK_TOOLCHAIN=no was originally added to the install make
environment to disable includes so that NO_INCS could be
removed.  The MK_TOOLCHAIN in bsd.incs.mk was subsequently
renamed to MK_INCLUDES, but bsd.lib.mk doesn't even include
bsd.incs.mk when LIBRARIES_ONLY is defined which the install
make environment for compat libs now defines.  However,
setting MK_TOOLCHAIN=no forced MK_CLANG=no which disabled
libclang_rt during the install32 phase.  Remove MK_TOOLCHAIN=no
since LIBRARIES_ONLY is now sufficient.

Since the libcompat environment overrides both LIBDIR and
SHLIBDIR, libclang_rt/Makefile.inc has to set both variables
to force the libraries to be installed to the location
expected by the compiler.

Reviewed by:	bdrewery, dim
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16574
</content>
</entry>
<entry>
<title>Makefile.libcompat: correctly append to make variable</title>
<updated>2018-07-30T14:42:59Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-07-30T14:42:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0d84986542c3289325f1fb6017b76dfcdaa92f3d'/>
<id>urn:sha1:0d84986542c3289325f1fb6017b76dfcdaa92f3d</id>
<content type='text'>
Reported by:	hselasky
Pointy hat to:	emaste
</content>
</entry>
<entry>
<title>Makefile.libcompat: use one variable assignment per line</title>
<updated>2018-07-30T14:28:00Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-07-30T14:28:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ad91146c666d43473631c5155bdb598b322f2f94'/>
<id>urn:sha1:ad91146c666d43473631c5155bdb598b322f2f94</id>
<content type='text'>
This makes it easier to carry or merge patches that remove gnu/
components.
</content>
</entry>
<entry>
<title>Don't change directory owner to root when building with -DNO_ROOT</title>
<updated>2018-06-29T21:15:26Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2018-06-29T21:15:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=55a5b46aff84045feb84bad7afd8dffa34df33c5'/>
<id>urn:sha1:55a5b46aff84045feb84bad7afd8dffa34df33c5</id>
<content type='text'>
Currently the mtree calls in Makefile.inc1 all change the directory owner
to match the spec file. However, we should not be doing this during
distributeworld if -DNO_ROOT is passed. Additionally, when creating the
WORLDTMP directory hierachy there is no need to change the owner to root so
we now always pass the -W flag when populating WORLDTMP.

This is also required for building FreeBSD on Linux/Mac since the required
groups/users will not exist there which is how I discovered this issue.

Reviewed By:	emaste, bdrewery, imp
Approved By:	brooks (mentor)
Differential Revision: https://reviews.freebsd.org/D14185
</content>
</entry>
<entry>
<title>Remove the various build flag hacks for GCC cross-compile.</title>
<updated>2018-06-28T21:26:14Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-06-28T21:26:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=151578dc5fd3d547930b894c5fb03eb9a1b9001d'/>
<id>urn:sha1:151578dc5fd3d547930b894c5fb03eb9a1b9001d</id>
<content type='text'>
The xtoolchain GCC packages have not required these flags since ports
commits r465416 and r466701.  The in-tree GCC 4.2.1 has also been patched
in r335716 and r335717 to correctly honor --sysroot when looking for
includes and libraries.

Reviewed by:	bdrewery
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D16055
</content>
</entry>
<entry>
<title>Reduce exec and fstat overhead for non-build targets.</title>
<updated>2018-06-20T17:20:39Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2018-06-20T17:20:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6e6be2bbe24c194df02c1e135251671830114aa5'/>
<id>urn:sha1:6e6be2bbe24c194df02c1e135251671830114aa5</id>
<content type='text'>
This is mostly targetting 'make showconfig' and 'make test-system-*' for
the benefit of makeman and universe-one-clang work.

Sponsored by:	Dell EMC
</content>
</entry>
</feed>
