FreeBSD src
Go to file
Dimitry Andric d361766d4b Temporarily revert upstream llvm trunk r240144 (by Michael Zolotukhin):
[SLP] Vectorize for all-constant entries.

This should fix libc++'s iostream initialization SIGBUSing on amd64,
whenever the global cout symbol is not aligned to 16 bytes.

Some further explanation: libc++'s iostream.cpp contains the definitions
of std::cout, std::cerr and so on.  These global objects are effectively
declared with an alignment of 8 bytes.  When an executable is linked
against libc++.so, it can sometimes get a copy of the global object,
which is then at the same alignment.

However, with clang 3.7.0, the initialization of these global objects
will incorrectly use SSE instructions (e.g. movdqa), whenever the
optimization level is high enough, and SSE is enabled, such as on amd64.
When any of these objects is not aligned to 16 bytes, this will result
in a SIGBUS during iostream initialization.  In contrast, clang 3.6.x
and earlier took the 8 byte alignment into consideration, and avoided
SSE for those particular operations.

After bisecting of upstream changes, I found that the above revision
caused the change of this behavior, so I am reverting it now as a
workaround, while a discussion and test case is being prepared for
upstream.
2015-10-09 18:21:45 +00:00
bin Call sync consistently using atf_check 2015-10-06 01:00:12 +00:00
cddl Have lockstat(1) trace locks by name rather than by address. 2015-09-30 05:46:56 +00:00
contrib Temporarily revert upstream llvm trunk r240144 (by Michael Zolotukhin): 2015-10-09 18:21:45 +00:00
crypto Fix OpenSSH multiple vulnerabilities by backporting three changes 2015-08-25 20:48:37 +00:00
etc Add -n to the ntpq command line so it will show IP addresses instead of 2015-10-08 08:55:08 +00:00
gnu Updated depends 2015-10-07 00:43:05 +00:00
include Mute this cookie as well 2015-10-03 17:28:46 +00:00
kerberos5 Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
lib If we can't open the file, skip devclose() for the exclusive_file_system 2015-10-08 17:59:05 +00:00
libexec Annotate arm userspace assembler sources stating their tolerance to 2015-09-29 16:09:58 +00:00
release Use print as a function, not operator. 2015-10-08 03:28:15 +00:00
rescue META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
sbin Only print the errno string in case sysctl(3) does not file with ENOENT 2015-10-07 09:28:54 +00:00
secure Replace afterinstall: hack from r111083 with 'make delete-old' functionality. 2015-09-19 03:46:10 +00:00
share Document iSCSI and autofs(5) variables in rc.conf(5). 2015-10-09 08:13:59 +00:00
sys Add .gnu.versym VERSYM_HIDDEN flag and related mask 2015-10-09 17:33:05 +00:00
targets All the games moved to usr.bin/ in r288485. 2015-10-02 17:58:16 +00:00
tests Tweak: use 'mainlwp' instead of 'mainpid' since this is a thread (LWP) 2015-10-06 22:59:00 +00:00
tools Merge ^/head r288197 through r288456. 2015-10-01 19:02:45 +00:00
usr.bin Properly format pointer size independent CloudABI system calls. 2015-10-08 05:27:45 +00:00
usr.sbin Fix a repeated typo: rootir -> rootdir. 2015-10-09 14:55:55 +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
LOCKS
MAINTAINERS
Makefile Fix the .MAKE added in r251750 to properly support the historical -n -n. 2015-09-29 18:57:30 +00:00
Makefile.inc1 The latest version of lex requires the latest m4 to build, add a dependency 2015-10-05 17:45:13 +00:00
ObsoleteFiles.inc Update dates in UPDATING and ObsoleteFiles.inc. 2015-10-06 16:26:07 +00:00
README README: changes and fixups 2015-04-19 07:16:44 +00:00
UPDATING Update dates in UPDATING and ObsoleteFiles.inc. 2015-10-06 16:26:07 +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