freebsd kernel with SKQ
Go to file
Bryan Drewery dd076b9354 FAST_DEPEND: Fix incremental builds leading to kernel panics.
This fixes .depend.genassym.o not being included.  genassym.o depends on
all of the system headers and when rebuilt regenerates assym.s which
lists offsets for critial .S files to utilize.  By having a struct in a
system header change its offsets and not have generassym.o be rebuilt,
this would lead to panics.

The flaw in the initial commit was seeing ${OBJS} in ${SYSTEM_OBJS} and
assuming it had all of ${SRCS} in it.  This is not the case though.  The
older mkdep code splits out all of the various SRC lists for generating
the .depend file.  It also includes ${GEN_CFILES}, which had genassym.c
and was the only significant file lacking from ${SYSTEM_OBJS} upon inspection,
since it is not linked in.  Rather than duplicate the likely
soon-to-be-removed mkdep lists, just add genassym.o to the DEPENDOBJS
list.  Using ${SRCS} as bsd.dep.mk does would be nice but there are many
files in the build that are only added to ${OBJS} and not ${SRCS}, such
as bf_enc.o derived from bf_enc.S for i386.

Sponsored by:	EMC / Isilon Storage Division
Reported by:	dhw (several panics on current@)
Pointyhat to:	bdrewery
2016-01-15 22:08:58 +00:00
bin sh: Update associated state when restoring locals while leaving a function. 2016-01-10 16:31:28 +00:00
cddl Remove a dead local variable, missed in r274565. 2016-01-14 00:34:37 +00:00
contrib hyperv/kvp_daemon: Make poll(2) block indefinitely 2016-01-11 03:30:16 +00:00
crypto Fix OpenSSH client information leak. 2016-01-14 22:40:46 +00:00
etc Wrap overlong comment lines. 2016-01-14 16:55:07 +00:00
gnu Support use of LLVM's libunwind for exception unwinding 2016-01-09 00:42:07 +00:00
include - Add the definition of CHARCLASS_NAME_MAX, as per POSIX.1-2001. 2016-01-09 14:53:23 +00:00
kerberos5 DIRDEPS_BUILD: Update dependencies. 2015-12-07 23:53:01 +00:00
lib Add mmu format info into ARM vmcore. 2016-01-15 18:53:06 +00:00
libexec Remove the compat code to handle the kernel passing us an unalinged 2016-01-13 15:54:17 +00:00
release Increase efiboot.img size used in ISO creation 2016-01-13 14:47:13 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Make additional parts of sys/geom/eli more usable in userspace 2016-01-07 05:47:34 +00:00
secure Build engines in parallel. 2015-12-15 19:57:56 +00:00
share FAST_DEPEND: Rework optimization for r290524. 2016-01-15 22:08:51 +00:00
sys FAST_DEPEND: Fix incremental builds leading to kernel panics. 2016-01-15 22:08:58 +00:00
targets Add in DIRDEPS_BUILD support. 2016-01-07 00:19:30 +00:00
tests PID file support hasn't been committed for ggated(8) yet. Unbreak running 2016-01-14 07:39:05 +00:00
tools - Check for accf_filter before running the tests, otherwise it will always 2016-01-15 21:59:18 +00:00
usr.bin Set -mlong-calls where needed to get a static clang and lldb 3.8.0 2016-01-14 19:00:13 +00:00
usr.sbin Adjust previous fix to conform to the existing style in this file. 2016-01-14 15:49:24 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2015-12-31 11:21:45 +00:00
LOCKS
MAINTAINERS Add interests/maintainerships + notes 2015-12-28 19:29:05 +00:00
Makefile Always try to upgrade to bmake if not already using it. 2016-01-07 19:37:11 +00:00
Makefile.inc1 Correct a comment. 2016-01-11 20:27:05 +00:00
ObsoleteFiles.inc Add some more obsolete files, left over from the clang 3.7.0 -> 3.7.1 2015-12-30 09:15:02 +00:00
README README: changes and fixups 2015-04-19 07:16:44 +00:00
UPDATING ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3). 2016-01-13 01:49:35 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree.  See build(7)
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The `buildkernel` and `installkernel` targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

Note: If you want to build and install the kernel with the
`buildkernel` and `installkernel` targets, you might need to build
world before.  More information is available in the handbook.

The kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


Source Roadmap:
---------------

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html