freebsd-skq/share
arichardson 67a7d46cb7 bsd.lib.mk: Work around build system raciness
We are seeing regular build failures due to libc.so being installed again and
another parallel make job tries to read the partially written libc.so at the
same time. When building with -j32 or higher this almost always happens on
the first clean build (subsequent incremental builds always work fine).
Using -S should "fix" the "section header table goes past the end of the
file: e_shoff = 0x..." errors that have started to plague our builds.

We originally thought this only affected CheriBSD, but I just got the same
error while building the latest upstream FreeBSD.

The real fix should be to not install libraries twice, but until then this
workaround is needed.

Original patch by jrtc27@, I only made some minor changes to the comment.

Obtained from: CheriBSD (49837edd3e)
Reviewed By:	markj, bdrewery
Differential Revision: https://reviews.freebsd.org/D27102
2020-11-26 17:37:27 +00:00
..
colldef Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
ctypedef Fix CTYPE for ja_JP.eucJP and ja_JP.SJIS. 2020-06-29 03:23:13 +00:00
dict
doc Add the firmware blob required to use the sdma hardware in the imx6 2020-11-26 01:40:04 +00:00
dtrace Add dtrace SDT probe ipfw:::rule-matched. 2020-10-21 15:01:33 +00:00
examples Remove macros from the width arguments passed to Bl macros 2020-11-12 17:28:29 +00:00
i18n
keys
man ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
misc Add FreeBSD 12.2 2020-10-28 02:30:44 +00:00
mk bsd.lib.mk: Work around build system raciness 2020-11-26 17:37:27 +00:00
monetdef
msgdef
numericdef
security
sendmail
skel
snmp Add entries for the OID used for NFS-over-TLS "user@domain". 2020-09-03 20:42:30 +00:00
syscons Add danish translations provided by GitHub user scootergriesen 2020-09-24 09:06:04 +00:00
tabset
termcap
tests
timedef
vt
zoneinfo
Makefile
Makefile.inc