1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/contrib
Dimitry Andric cc718496a9 After jemalloc was updated to version 5.0.0 in r319971, i386 executables
linked with AddressSanitizer (even those linked on earlier versions of
FreeBSD, or with external versions of clang) started failing with errors
similar to:

  ==14688==AddressSanitizer CHECK failed:
  /usr/src/contrib/compiler-rt/lib/asan/asan_poisoning.cc:36
  "((AddrIsAlignedByGranularity(addr))) != (0)" (0x0, 0x0)

This is because AddressSanitizer expects all the TLS data in the program
to be aligned to at least 8 bytes.

Before the jemalloc 5.0.0 update, all the TLS data in the i386 version
of libc.so added up to 80 bytes (a multiple of 8), but 5.0.0 made this
grow to 2404 bytes (not a multiple of 8).  This is due to added caching
data in jemalloc's internal struct tsd_s.

To fix AddressSanitizer, ensure this struct is aligned to at least 16
bytes, which can be done unconditionally for all architectures.  (An
earlier version of the fix aligned the struct to 8 bytes, but only for
ILP32 architectures.  This was deemed unnecessarily complicated.)

PR:		221337
X-MFC-With:	r319971
2017-10-23 21:31:04 +00:00
..
amd
apr
apr-util
atf atf-sh(3): document atf_init_test_cases(3) fully 2017-06-30 05:49:12 +00:00
binutils Do exception offset computations in 64 bits, not 32. 2017-10-11 02:39:20 +00:00
blacklist
bmake Import bmake-20170720 2017-07-24 04:38:05 +00:00
bsnmp
byacc
bzip2
com_err
compiler-rt Extend the workaround for LLVM bug 11663 to MIPS N32. 2017-08-26 00:17:57 +00:00
cortex-strings Work around a bug in QEMU when loading data with a load pair instruction 2017-08-26 15:08:27 +00:00
dialog
diff
dma
dtc
ee
elftoolchain Add missing newline after unknown MIPS-specific dynamic entries. 2017-09-15 22:56:39 +00:00
expat
file MFV r323678: file 5.32 2017-09-17 19:14:38 +00:00
flex
gcc Fix the return value from _Unwind_Backtrace() on arm. 2017-09-25 23:50:10 +00:00
gcclibs
gdb
gdtoa
gperf
hyperv/tools hyperv: Add VF bringup scripts and devd rules. 2017-07-31 07:18:15 +00:00
ipfilter loadpoolfile() implements a -R (NORESOLVE) option which is not listed 2017-08-05 06:46:06 +00:00
jemalloc After jemalloc was updated to version 5.0.0 in r319971, i386 executables 2017-10-23 21:31:04 +00:00
ldns
ldns-host
less
libarchive MFV r324145,324147: 2017-10-01 00:40:23 +00:00
libbegemot
libc-pwcache
libc-vis
libc++ Upgrade our copies of clang, llvm, lld and libc++ to r311219 from the 2017-08-21 07:03:02 +00:00
libcxxrt
libdivsufsort
libexecinfo
libgnuregex
libpcap Clear clang warning: 2017-07-03 19:49:25 +00:00
libreadline
libstdc++
libucl
libxo Update from libxo-0.8.1 to 0.8.4: 2017-08-03 15:47:42 +00:00
llvm Pull in r316035 from upstream llvm trunk (by Tim Northover): 2017-10-21 19:14:45 +00:00
mdocml Import mandoc 1.14.3 2017-10-06 12:31:55 +00:00
mknod
mtree
ncurses
netbsd-tests bsdgrep: add some additional tests for fgrep 2017-08-24 01:20:52 +00:00
netcat
ngatm
ntp
nvi
ofed Fix accidental misconversion done in r321912 2017-08-02 09:00:18 +00:00
one-true-awk Don't display empty error context. 2017-09-24 05:04:06 +00:00
openbsm
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf
pjdfstest Pull down pjdfstest 0.1 2017-06-28 09:22:45 +00:00
pnpinfo
sendmail
serf
smbfs Fix SMBFS when saved passwords are greater than 18 characters 2017-06-08 00:48:26 +00:00
sqlite3 Update from sqlite3-3.14.1 to sqlite3-3.20.0. This is a private lib. 2017-08-11 00:00:01 +00:00
subversion Update subversion 1.9.5 -> 1.9.7 2017-08-10 22:03:26 +00:00
tcp_wrappers remove bogus declaration of malloc from tcp_wrappers 2017-06-20 16:40:31 +00:00
tcpdump Partially revert r323866. 2017-10-04 21:05:44 +00:00
tcsh
telnet
tnftp
top top: use __mips__ and __NetBSD__ for consistency 2017-08-23 17:56:55 +00:00
traceroute We use a few different ifdef's names to check if we are using Casper or not, 2017-09-21 14:41:41 +00:00
tzcode
tzdata
unbound Merge upstream r4302 to support multiple concurrently valid anchors. 2017-08-31 12:02:14 +00:00
unvis
vis
wpa Update wpa_supplicant/hostapd for 2017-01 vulnerability release. 2017-10-17 17:22:36 +00:00
xz
zlib MFV: r323381 2017-09-10 01:25:15 +00:00
zstd Import zstandard 1.3.1 2017-08-22 11:11:49 +00:00