freebsd-skq/lib
Dimitry Andric b34d83a709 The TCB_GET32() and TCB_GET64() macros in the i386 and amd64-specific
versions of pthread_md.h have a special case of dereferencing a null
pointer.  Clang warns about this with:

In file included from lib/libthr/arch/i386/i386/pthread_md.c:36:
lib/libthr/arch/i386/include/pthread_md.h:96:10: error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference]
        return (TCB_GET32(tcb_self));
                ^~~~~~~~~~~~~~~~~~~
lib/libthr/arch/i386/include/pthread_md.h:73:13: note: expanded from:
            : "m" (*(u_int *)(__tcb_offset(name))));            \
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/libthr/arch/i386/include/pthread_md.h:96:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile'

Since this indirection is done relative to the fs or gs segment, to
retrieve thread-specific data, it is an exception to the rule.

Therefore, add a volatile qualifier to tell the compiler we really want
to dereference a zero address.

MFC after:	1 week
2011-12-15 19:42:25 +00:00
..
bind Upgrade to BIND version 9.8.1. Release notes at: 2011-09-03 07:13:45 +00:00
clang Use the correct upstream revision number for llvm/clang 3.0 release. 2011-12-10 01:01:44 +00:00
csu Build Scrt.o on powerpc64. Its introduction on other platforms got lost 2011-06-27 16:24:36 +00:00
libalias Remove redundant WARNS?=6 overrides and inherit the WARNS setting from 2010-03-02 18:44:08 +00:00
libarchive Fix Buildworld WITHOUT_OPENSSL. 2011-10-22 22:22:46 +00:00
libauditd
libbegemot
libblocksruntime Import libcompiler_rt into HEAD and add Makefiles. 2010-11-11 15:13:11 +00:00
libbluetooth Add the following Linux BlueZ compatibility macros: htobs(), htobl(), 2010-09-22 23:41:02 +00:00
libbsm
libbsnmp Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libbz2
libc Fix a bug where sctp_sendmdg() uses uninitialized memory. 2011-12-15 12:35:03 +00:00
libc++ Import libc++ / libcxxrt into base. Not build by default yet (use 2011-11-25 20:59:04 +00:00
libcalendar
libcam Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libcom_err
libcompat Small style(9) fix: use tabs instead of spaces. 2010-08-08 08:19:23 +00:00
libcompiler_rt Upgrade libcompiler_rt from revision 117047 to 132478. 2011-06-03 17:49:16 +00:00
libcrypt s/shaN_crypt/crypt_shaN/g to be a more consistent with the existing naming. 2011-05-05 01:09:42 +00:00
libcxxrt Update libcxxrt to remove the pthread dependency. 2011-11-26 18:46:33 +00:00
libdevinfo sys/rman.h now requires sys/types.h. Include it to make the API match 2011-02-10 04:53:09 +00:00
libdevstat Do not increment num_args if strsep(3) returned an empty field. 2011-04-04 09:25:27 +00:00
libdisk Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00
libdwarf Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libedit Don't use __P(). 2011-12-13 14:53:26 +00:00
libefi Spelling fixes. 2010-08-03 17:40:09 +00:00
libelf - change "is is" to "is" or "it is" 2011-10-16 14:30:28 +00:00
libexpat Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as 2010-08-12 20:46:49 +00:00
libfetch latin1 -> utf8 2011-10-19 11:43:51 +00:00
libgeom Remove stale link. 2010-12-04 08:44:56 +00:00
libgpib Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
libgssapi Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libiconv Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
libiconv_modules Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
libipsec - change "is is" to "is" or "it is" 2011-10-16 14:30:28 +00:00
libipx Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
libjail Introduce signed and unsigned version of CTLTYPE_QUAD, renaming 2011-01-19 23:00:25 +00:00
libkiconv Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
libkse Merge from tbemd: 2010-06-13 01:27:29 +00:00
libkvm Now kvm_getenvv() and kvm_getargv() don't need procfs(5). 2011-11-22 21:12:28 +00:00
liblzma Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3) 2011-07-11 14:15:27 +00:00
libmagic Use CFLAGS and LDFLAGS when compiling mkmagic. This ensures that all the 2010-08-01 12:10:32 +00:00
libmd Rewrite HISTORY: The SHA256 code first appeared in 6.0, and the SHA512 2011-06-27 02:10:10 +00:00
libmemstat Cosmetic cleanup: remove #define LIBMEMSTAT used to prevent a nested 2011-09-02 14:10:42 +00:00
libmilter
libmp Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
libnetgraph
libngatm
libopie Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libpam .include <bsd.init.mk> instead of <bsd.own.mk> 2011-11-28 14:01:17 +00:00
libpcap Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libpmc Add a flush of the current PMC log buffer before displaying the next top. 2011-10-18 15:25:43 +00:00
libproc fix a serious bug in libproc's proc_attach 2011-08-03 09:55:59 +00:00
libprocstat Updates to libprocstat(3) and procstat(1) to allow monitoring Capsicum 2011-08-14 00:42:09 +00:00
libradius Add links for libradius(3) functions. 2010-10-18 12:35:10 +00:00
librpcsec_gss Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
librpcsvc
librt Free unused allocation on error. 2011-11-18 09:56:40 +00:00
librtld_db Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libsbuf Ok, so we use different comment conventions in Symbol.map and Version.def 2011-05-17 19:20:32 +00:00
libsdp Change the SDP_GET* macros to cast to a const buffer. 2011-10-16 08:45:16 +00:00
libsm Enable the use of nanosleep() instead of using pause() and signals. 2010-03-04 05:53:06 +00:00
libsmb
libsmdb
libsmutil
libstand - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
libtacplus Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libtelnet
libthr The TCB_GET32() and TCB_GET64() macros in the i386 and amd64-specific 2011-12-15 19:42:25 +00:00
libthread_db Change lwp to int64_t as thr_pread_long() always uses a 64-bit value 2011-08-07 15:52:13 +00:00
libufs Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl. 2011-12-08 12:31:47 +00:00
libugidfw Quiet clang warnings by using string literal format strings. 2011-01-04 13:02:52 +00:00
libulog Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libusb Simplify libusb_open_device_with_vid_pid(): Only set 2011-12-03 16:30:47 +00:00
libusbhid MFprojects/hid: 2011-09-28 14:52:25 +00:00
libutil In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet) 2011-10-16 21:30:15 +00:00
libvgl Change libvgl's set4pixels() and set2lines() functions from plain 2010-10-04 18:16:38 +00:00
libwrap
liby
libypclnt
libz Disable gvmat64.S, the assembler version of longest_match for now. 2011-07-18 19:23:50 +00:00
msun Expose the unimplemented libm functions in the math.h header. This allows C++'s <cmath> to work without the compiler complaining that the C++ versions are calling implicitly-declared functions. You will still get a linker error when they are called. OpenBSD 5.0 claims to fully implement the C99 <math.h> stuff, so might be worth investigating... 2011-11-12 19:55:48 +00:00
ncurses
Makefile Fix breakage after r227983; lib/libcxxrt still got built, because it was 2011-11-26 03:26:06 +00:00
Makefile.inc