1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Bryan Drewery 1b337a349d Build libcompat (lib32) with a --sysroot pointing into its stage directory.
This overrides the cross-compiler's default sysroot to use the WORLD32's
sysroot for building the lib32 libraries.  Previously the cross-compiler
would default the sysroot to the 64bit WORLDTMP and -B/-L/-isystem flags
were used to build using the lib32 files.  This leads to multiple issues
discussed later.  Some extra headers are now needed to be staged since the
64bit WORLDTMP is not referenced at all for headers.  The 64bit WORLDTMP
is still used via PATH for build tools.  Overriding the default
target/arch is retained in the CC/CXX overrides.

This allows reverting the LDSCRIPT rewriting in installworld from r296921 and
r235122, thus allowing read-only objdirs to work for installing again.

This removes the need for _LDSCRIPTROOT.

This allows progressing the change to always use --sysroot for the build
rather than only relying on the cross-compiler's default sysroot.  The
work for that is in D3970 and needed to resolve WITHOUT_CROSS_COMPILER
not using a --sysroot [1].

PR:		196193 [1]
Sponsored by:	EMC / Isilon Storage Division
2016-03-25 19:12:38 +00:00
bin CCACHE_BUILD: Don't use ccache when generating some files with CC -E. 2016-03-24 21:48:13 +00:00
cddl libdtrace: use calloc(3) instead of malloc(3) when it makes sense. 2016-03-14 00:34:12 +00:00
contrib Make GCC happy by removing empty #elif. 2016-03-25 04:16:04 +00:00
crypto Re-add AES-CBC ciphers to the default cipher list on the server. 2016-03-11 00:23:10 +00:00
etc Make the autofs(5) -hosts map more robust, primarily to make it correctly 2016-03-23 12:13:53 +00:00
gnu DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
include For C++, expose long long types and functions (lldiv_t, llabs, lldiv, 2016-03-23 19:17:12 +00:00
kerberos5 DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
lib CCACHE_BUILD: Don't use ccache when generating some files with CC -E. 2016-03-24 21:48:13 +00:00
libexec Install a usable mailer.conf for dragonfly mailer agent if sendmail is disabled 2016-03-24 08:25:05 +00:00
release Add paragraph about isp(4) improvements. 2016-03-17 09:04:07 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Remove disconnected casperd, missed in r296047. 2016-03-23 16:37:08 +00:00
secure Upgrade to OpenSSH 7.2p2. 2016-03-11 00:15:29 +00:00
share Build libcompat (lib32) with a --sysroot pointing into its stage directory. 2016-03-25 19:12:38 +00:00
sys Fix iSCSI initiator crash that could happen with out-of-memory 2016-03-25 16:01:40 +00:00
targets DIRDEPS_BUILD: Update dependencies. 2016-03-21 18:02:26 +00:00
tests Use a SKIP testplan instead of bailing out if/when the tester isn't 2016-03-22 08:12:45 +00:00
tools Remove tools/vt/setfont 2016-03-21 20:51:35 +00:00
usr.bin Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
usr.sbin fix incorrect usage of hid_set_data() which causes crash 2016-03-23 22:07:13 +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 myself to MAINTAINERS. 2016-03-14 16:27:43 +00:00
Makefile Use the newly minted Makefile.libcompat to implement libsoft libraries 2016-03-12 23:25:05 +00:00
Makefile.inc1 Build libcompat (lib32) with a --sysroot pointing into its stage directory. 2016-03-25 19:12:38 +00:00
Makefile.libcompat Build libcompat (lib32) with a --sysroot pointing into its stage directory. 2016-03-25 19:12:38 +00:00
ObsoleteFiles.inc Forgot lib32 libdevinfo.so.5 2016-03-18 02:59:10 +00:00
README Vendor import of OpenSSH 7.2p1. 2016-03-10 20:10:25 +00:00
UPDATING Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +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