HardenedBSD src tree
Go to file
Dimitry Andric 397c2693fa Fix llvm register allocator for native/cross build differences
Work around an issue in LLVM's register allocator, which can cause
slightly different i386 object files, when produced by a native or cross
build of clang.

This adds another volatile qualifier to a float variable declaration in
the weightCalcHelper() function, which otherwise produces slightly
different float results on amd64 and i386 hosts. In turn, this can lead
to different (but equivalent) register choices, and thus non-identical
assembly code.

See https://github.com/llvm/llvm-project/issues/99396 for more details.

Note this is a temporary fix, meant to merge in time for 13.4. As soon
as upstream has a permanent solution we will import that.

PR:		276961
Reported by:	cperciva
MFC after:	3 days
2024-07-21 22:37:27 +02:00
.cirrus-ci
.github
bin Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
cddl zdb: Chase a missing library dependency 2024-07-18 09:57:38 -04:00
contrib Fix llvm register allocator for native/cross build differences 2024-07-21 22:37:27 +02:00
crypto openssl: use getrandom(2) instead of probing for getentropy(2) 2024-07-16 00:12:27 -05:00
etc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
gnu Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
include include: ssp: fix last bare inline 2024-07-20 23:17:55 -05:00
kerberos5 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
lib libnvmf: Zero controller data template for I/O controllers 2024-07-19 17:06:47 -04:00
libexec rc.conf: Leap-seconds sources: Add IANA back 2024-07-19 11:24:31 -07:00
release release.sh: Pass ARCH_FLAGS when setting VMSIZE 2024-07-06 10:18:03 -07:00
rescue Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sbin ipf: correct size limit in snprintf 2024-07-20 09:14:57 -07:00
secure Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
share tcp: improve SEG.ACK validation 2024-07-21 11:37:35 +02:00
stand Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sys tcp: simplify endpoint creation at the passive side 2024-07-21 11:49:37 +02:00
targets mergemaster: remove from the tree 2024-07-16 08:25:54 -04:00
tests zts: test single-disk pool resumes properly after disk pull 2024-07-17 10:03:32 -07:00
tools stress2: Fix a typo in namecache2.sh 2024-07-21 11:00:58 +02:00
usr.bin tcp: improve SEG.ACK validation 2024-07-21 11:37:35 +02:00
usr.sbin leap-seconds: Update to leap-seconds 3960057600 obtained from IERS 2024-07-20 18:55:41 -07:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
.mailmap mailmap: Translate my personal address 2024-06-22 08:57:56 +02:00
CONTRIBUTING.md CONTRIBUTING.md/style: spring cleaning 2024-05-10 15:07:03 -06:00
COPYRIGHT
LOCKS
MAINTAINERS man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
Makefile armv6: Remove support for building armv6 2024-07-12 11:31:53 +00:00
Makefile.inc1 Revert "Makefile.inc1: show time for `make installworld'" 2024-07-15 09:50:04 -04:00
Makefile.libcompat Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.sys.inc
ObsoleteFiles.inc mergemaster: remove from the tree 2024-07-16 08:25:54 -04:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: mention moving filesystems to section 4 2024-06-27 18:37:20 -06:00
UPDATING armv6: Remove support for building armv6 2024-07-12 11:31:53 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

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), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
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.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB 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.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
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 FreeBSD Handbook.