svn commit: r301839 - stable/10/sys/sys

2016-06-12 Thread Dimitry Andric
Author: dim Date: Sun Jun 12 11:45:45 2016 New Revision: 301839 URL: https://svnweb.freebsd.org/changeset/base/301839 Log: MFC r300967: Stop exposing the C11 _Atomic() macro in , when compiling for C++. It clashes with the one in libc++'s header. (Previously, the _Atomic() macro wa

svn commit: r303882 - in stable/10/usr.bin/grep: . regex

2016-08-09 Thread Dimitry Andric
Author: dim Date: Tue Aug 9 18:49:19 2016 New Revision: 303882 URL: https://svnweb.freebsd.org/changeset/base/303882 Log: MFC r270132 (by gabor): - Do not look for more matching lines if -L is specified Submitted by: eadler (based on) MFC r296799 (by ian): Fix a bug in bsd

svn commit: r305138 - in stable: 10/contrib/ipfilter 10/sys/contrib/ipfilter/netinet 11/contrib/ipfilter 11/sys/contrib/ipfilter/netinet

2016-08-31 Thread Dimitry Andric
Author: dim Date: Wed Aug 31 18:00:41 2016 New Revision: 305138 URL: https://svnweb.freebsd.org/changeset/base/305138 Log: MFC r304953: Define ipfilter's SOLARIS macro in a defined and portable way. Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D7671 MFC r3

svn commit: r305142 - in stable: 10/sbin/hastd 11/sbin/hastd

2016-08-31 Thread Dimitry Andric
Author: dim Date: Wed Aug 31 18:37:04 2016 New Revision: 305142 URL: https://svnweb.freebsd.org/changeset/base/305142 Log: MFC r304969: Define hastd's STRICT_ALIGN macro in a defined and portable way. Modified: stable/10/sbin/hastd/lzf.h Directory Properties: stable/10/ (props change

svn commit: r305287 - in stable: 10/usr.sbin/bluetooth/btpand 11/usr.sbin/bluetooth/btpand

2016-09-02 Thread Dimitry Andric
Author: dim Date: Fri Sep 2 17:24:16 2016 New Revision: 305287 URL: https://svnweb.freebsd.org/changeset/base/305287 Log: MFC r305023: Avoid undefined behavior when calling va_start() in bnep_send_control(), by making the 'type' parameter a plain unsigned. Modified: stable/10/usr.sbin

svn commit: r305552 - in stable: 10/contrib/telnet/libtelnet 10/contrib/telnet/telnet 10/usr.bin/newkey 11/contrib/telnet/libtelnet 11/contrib/telnet/telnet 11/usr.bin/newkey 9/contrib/telnet/libte...

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 18:22:08 2016 New Revision: 305552 URL: https://svnweb.freebsd.org/changeset/base/305552 Log: MFC r305077: Squelch clang 3.9.0 warnings about BASE (which is 32768) being converted to -32768 when it is used as an argument to mp_itom(), in both libtelnet and n

svn commit: r305553 - in stable: 10/contrib/tnftp/src 11/contrib/tnftp/src 9/contrib/tnftp/src

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 18:33:18 2016 New Revision: 305553 URL: https://svnweb.freebsd.org/changeset/base/305553 Log: MFC r305085: Fix warnings in tnftp about invalid constant conversions, e.g.: contrib/tnftp/src/ftp.c:2067:11: error: implicit conversion from 'int' to 'char' cha

svn commit: r305554 - in stable: 10/sys/dev/drm2 11/sys/dev/drm2

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 18:53:46 2016 New Revision: 305554 URL: https://svnweb.freebsd.org/changeset/base/305554 Log: MFC r305344: Define drmP.h's __OS_HAS_AGP and __OS_HAS_MTRR macros in a defined and portable way. Reviewed by: dumbbell Differential Revision: https://reviews

svn commit: r305555 - in stable: 10/sys/dev/ppbus 11/sys/dev/ppbus 9/sys/dev/ppbus

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 19:02:47 2016 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: MFC r305345: With clang 3.9.0, compiling ppbus(4) results in the following warnings: sys/dev/ppbus/ppb_1284.c:296:46: error: implicit conversion from 'int' to 'c

svn commit: r305556 - in stable: 10/sys/dev/cxgb 11/sys/dev/cxgb 9/sys/dev/cxgb

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 19:17:03 2016 New Revision: 305556 URL: https://svnweb.freebsd.org/changeset/base/305556 Log: MFC r305360: With clang 3.9.0, compiling cxgb results in the following warning: sys/dev/cxgb/cxgb_sge.c:2873:44: error: implicit conversion from 'int' to 'char'

svn commit: r305557 - in stable: 10/sys/dev/usb/serial 11/sys/dev/usb/serial 9/sys/dev/usb/serial

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 19:21:52 2016 New Revision: 305557 URL: https://svnweb.freebsd.org/changeset/base/305557 Log: MFC r305388: With clang 3.9.0, compiling uplcom results in the following warnings: sys/dev/usb/serial/uplcom.c:543:29: error: implicit conversion from 'int' to 'i

svn commit: r305558 - in stable: 10/sys/netinet 11/sys/netinet 9/sys/netinet

2016-09-07 Thread Dimitry Andric
Author: dim Date: Wed Sep 7 19:25:08 2016 New Revision: 305558 URL: https://svnweb.freebsd.org/changeset/base/305558 Log: MFC r305389: With clang 3.9.0, compiling sys/netinet/igmp.c results in the following warning: sys/netinet/igmp.c:546:21: error: implicit conversion from 'int' to

svn commit: r305693 - in stable: 10/contrib/gcclibs/libcpp 11/contrib/gcclibs/libcpp 9/contrib/gcclibs/libcpp

2016-09-11 Thread Dimitry Andric
Author: dim Date: Sun Sep 11 14:19:06 2016 New Revision: 305693 URL: https://svnweb.freebsd.org/changeset/base/305693 Log: MFC r305430: Define libcpp's HAVE_DESIGNATED_INITIALIZERS in a defined and portable way. Modified: stable/10/contrib/gcclibs/libcpp/system.h Directory Properties:

svn commit: r308143 - stable/10/contrib/libc++/include

2016-10-31 Thread Dimitry Andric
Author: dim Date: Mon Oct 31 18:37:44 2016 New Revision: 308143 URL: https://svnweb.freebsd.org/changeset/base/308143 Log: Pull in r228705 from upstream libc++ trunk (by Eric Fiselier): [libcxx] Fix PR 22468 - std::function does not accept non-void-returning functions Summary:

svn commit: r309605 - in stable: 10 11 9

2016-12-05 Thread Dimitry Andric
Author: dim Date: Tue Dec 6 07:33:49 2016 New Revision: 309605 URL: https://svnweb.freebsd.org/changeset/base/309605 Log: MFC r309332: Cleanup old debug dirs in delete-old-dirs target Any .debug or .symbols files under /usr/lib/debug which correspond to OLD_FILES entries in Obsolete

svn commit: r309857 - in stable: 10/contrib/llvm/lib/Analysis 11/contrib/llvm/lib/Analysis 9/contrib/llvm/lib/Analysis

2016-12-11 Thread Dimitry Andric
Author: dim Date: Sun Dec 11 19:58:13 2016 New Revision: 309857 URL: https://svnweb.freebsd.org/changeset/base/309857 Log: MFC r309722: Pull in r281586 from upstream llvm trunk (by Wei Mi): Add some shortcuts in LazyValueInfo to reduce compile time of Correlated Value Propagation

svn commit: r310082 - stable/10/contrib/llvm/lib/Analysis

2016-12-14 Thread Dimitry Andric
Author: dim Date: Wed Dec 14 17:27:44 2016 New Revision: 310082 URL: https://svnweb.freebsd.org/changeset/base/310082 Log: Merge r309860 from stable/9, as this also applies to stable/10: Fix libllvmanalysis build failure after r309857: on stable/9, llvm is compiled by gcc, and without -st

svn commit: r310228 - in stable: 10/sys/dev/xen/blkfront 11/sys/dev/xen/blkfront 9/sys/dev/xen/blkfront

2016-12-18 Thread Dimitry Andric
Author: dim Date: Sun Dec 18 14:31:11 2016 New Revision: 310228 URL: https://svnweb.freebsd.org/changeset/base/310228 Log: MFC r310013 (by cperciva): Check that blkfront devices have a non-zero number of sectors and a non-zero sector size. Such a device would be a virtual disk of zero

svn commit: r293109 - in stable: 10/share/mk 9/share/mk

2016-01-03 Thread Dimitry Andric
Author: dim Date: Sun Jan 3 17:19:17 2016 New Revision: 293109 URL: https://svnweb.freebsd.org/changeset/base/293109 Log: MFC r293014: Merge r293006 from clang380-import branch: For determining the compiler version, quote the string to be echo'd, otherwise the command might fail. T

svn commit: r293110 - in stable: 10/contrib/pf/pflogd 9/contrib/pf/pflogd

2016-01-03 Thread Dimitry Andric
Author: dim Date: Sun Jan 3 17:23:16 2016 New Revision: 293110 URL: https://svnweb.freebsd.org/changeset/base/293110 Log: MFC r293015: Merge r293013 from clang380-import branch: Fix a clang 3.8.0 warning in pflogd.c: contrib/pf/pflogd/pflogd.c:769:8: error: logical not is only ap

svn commit: r293782 - in stable: 10/contrib/llvm/patches 10/contrib/llvm/tools/clang/tools/driver 10/usr.bin/clang/clang 9/contrib/llvm/patches 9/contrib/llvm/tools/clang/tools/driver 9/usr.bin/cla...

2016-01-12 Thread Dimitry Andric
Author: dim Date: Tue Jan 12 19:33:43 2016 New Revision: 293782 URL: https://svnweb.freebsd.org/changeset/base/293782 Log: MFC r292950: Drop the clang patch which adds recognition of 'CC' suffixes as aliases for --driver-mode=g++, since this was never upstreamed. For backwards compatib

svn commit: r294334 - in stable: 10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-01-19 Thread Dimitry Andric
Author: dim Date: Tue Jan 19 18:35:22 2016 New Revision: 294334 URL: https://svnweb.freebsd.org/changeset/base/294334 Log: MFC r294102: MFV r294101: 6527 Possible access beyond end of string in zpool comment Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Dan

svn commit: r296436 - in stable/10/cddl/contrib/opensolaris/cmd: zfs zpool

2016-03-06 Thread Dimitry Andric
Author: dim Date: Mon Mar 7 07:46:17 2016 New Revision: 296436 URL: https://svnweb.freebsd.org/changeset/base/296436 Log: MFC r295844: Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). Currently, zfs(8) and zpool(8) print "invalid type '(null)'" or similar messages,

svn commit: r296437 - in stable: 10/contrib/binutils/bfd 9/contrib/binutils/bfd

2016-03-06 Thread Dimitry Andric
Author: dim Date: Mon Mar 7 07:49:01 2016 New Revision: 296437 URL: https://svnweb.freebsd.org/changeset/base/296437 Log: MFC r295901: Fix a problem in ld, causing it to sometimes print messages similar to "invalid string offset 65521 >= 27261 for section `.strtab'". for object files p

svn commit: r296438 - in stable/10/sys: boot/common kern

2016-03-06 Thread Dimitry Andric
Author: dim Date: Mon Mar 7 07:54:48 2016 New Revision: 296438 URL: https://svnweb.freebsd.org/changeset/base/296438 Log: MFC r296419 (by kib): In the link_elf_obj.c, handle sections of type SHT_AMD64_UNWIND same as SHT_PROGBITS. This is needed after the clang 3.8 import, which genera

svn commit: r296802 - stable/10/contrib/llvm/patches

2016-03-13 Thread Dimitry Andric
Author: dim Date: Sun Mar 13 18:34:32 2016 New Revision: 296802 URL: https://svnweb.freebsd.org/changeset/base/296802 Log: Add patch corresponding to r296800. Added: stable/10/contrib/llvm/patches/patch-r296800-llvm-r219512-out-of-registers.diff Added: stable/10/contrib/llvm/patches/patch-

Re: svn commit: r297089 - stable/10/cddl/contrib/opensolaris/cmd/zdb

2016-03-20 Thread Dimitry Andric
On 21 Mar 2016, at 00:29, Alexander Motin wrote: > Author: mav > Date: Sun Mar 20 23:29:58 2016 > New Revision: 297089 > URL: https://svnweb.freebsd.org/changeset/base/297089 > > Log: > MFC r292653 (by bapt): Report an error if zdb cannot initialize zfs > > If the zfs module is not present and

svn commit: r297432 - in stable: 10/include 9/include

2016-03-30 Thread Dimitry Andric
Author: dim Date: Wed Mar 30 22:12:07 2016 New Revision: 297432 URL: https://svnweb.freebsd.org/changeset/base/297432 Log: MFC r297212: For C++, expose long long types and functions (lldiv_t, llabs, lldiv, etc) in stdlib.h. These will be needed for newer versions of libc++, which uses

svn commit: r299742 - in stable/10: contrib/subversion contrib/subversion/doc/programmer contrib/subversion/doc/user contrib/subversion/subversion contrib/subversion/subversion/include contrib/subv...

2016-05-14 Thread Dimitry Andric
Author: dim Date: Sat May 14 10:18:27 2016 New Revision: 299742 URL: https://svnweb.freebsd.org/changeset/base/299742 Log: MFC r275385 (by bapt): Sync the svn template with the one from ports MFC r289180 (by peter): Update from svn-1.8.14 to 1.9.2. Formal release notes are av

svn commit: r278017 - in stable: 10/contrib/libcxxrt 10/lib/libcxxrt 9/contrib/libcxxrt 9/lib/libcxxrt

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 23:48:59 2015 New Revision: 278017 URL: https://svnweb.freebsd.org/changeset/base/278017 Log: MFC r273381 (by bapt): Add support for __cxa_throw_bad_array_new_length in libcxxrt It is required for use with newer g++49 Differential Revision:http

svn commit: r278018 - in stable: 10/contrib/libc++/src 9/contrib/libc++/src

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sun Feb 1 01:42:38 2015 New Revision: 278018 URL: https://svnweb.freebsd.org/changeset/base/278018 Log: MFC r273434 (by bapt): Do not define bad_array_new_length::bad_array_new_length in libc++ anymore when used in combinaison with libcxxrt since it is now defined there

svn commit: r278021 - in stable: 10/contrib/libc++/src 10/contrib/libcxxrt 10/lib/libcxxrt 9/contrib/libc++/src 9/contrib/libcxxrt 9/lib/libcxxrt

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sun Feb 1 02:29:58 2015 New Revision: 278021 URL: https://svnweb.freebsd.org/changeset/base/278021 Log: Revert r278017 (MFC of r273381 and r276417) and r278018 (MFC of r273434) until I can figure out why it leads to link failures in some scenarios. Modified: stable/10/con

svn commit: r278058 - in stable: 10/sys/sys 9/sys/sys

2015-02-01 Thread Dimitry Andric
Author: dim Date: Mon Feb 2 07:30:00 2015 New Revision: 278058 URL: https://svnweb.freebsd.org/changeset/base/278058 Log: MFC r277883: Ensure that lint does not pick up C11 keywords (e.g. _Noreturn), even if C11 mode is used. It does not support any C11 constructs. Modified: stable/

svn commit: r278059 - in stable: 10/sys/fs/msdosfs 9/sys/fs/msdosfs

2015-02-01 Thread Dimitry Andric
Author: dim Date: Mon Feb 2 07:37:25 2015 New Revision: 278059 URL: https://svnweb.freebsd.org/changeset/base/278059 Log: MFC r277898: Fix a bunch of -Wcast-qual warnings in msdosfs_conv.c, by using __DECONST. No functional change. Modified: stable/10/sys/fs/msdosfs/msdosfs_conv.c Di

svn commit: r278060 - in stable: 10/sys/fs/cd9660 9/sys/fs/cd9660

2015-02-01 Thread Dimitry Andric
Author: dim Date: Mon Feb 2 07:42:03 2015 New Revision: 278060 URL: https://svnweb.freebsd.org/changeset/base/278060 Log: MFC r277899: Fix a bunch of -Wcast-qual warnings in cd9660_util.c, by using __DECONST. No functional change. Modified: stable/10/sys/fs/cd9660/cd9660_util.c Direc

svn commit: r278063 - in stable: 10/sys/libkern 9/sys/libkern

2015-02-02 Thread Dimitry Andric
Author: dim Date: Mon Feb 2 08:05:11 2015 New Revision: 278063 URL: https://svnweb.freebsd.org/changeset/base/278063 Log: MFC r277901: Fix a -Wcast-qual warning in libkern's strtol(), by using __DECONST. No functional change. MFC r277903: Similar to r277901, fix more -Wcast-qu

svn commit: r278140 - in stable: 10/sys/netgraph 9/sys/netgraph

2015-02-03 Thread Dimitry Andric
Author: dim Date: Tue Feb 3 07:59:33 2015 New Revision: 278140 URL: https://svnweb.freebsd.org/changeset/base/278140 Log: MFC r277951: Fix a bunch of -Wcast-qual warnings in netgraph's ng_parse.c, by using __DECONST. No functional change. Modified: stable/10/sys/netgraph/ng_parse.c D

svn commit: r278141 - in stable: 10/sys/fs/udf 9/sys/fs/udf

2015-02-03 Thread Dimitry Andric
Author: dim Date: Tue Feb 3 08:03:19 2015 New Revision: 278141 URL: https://svnweb.freebsd.org/changeset/base/278141 Log: MFC r277952: Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST. No functional change. Modified: stable/10/sys/fs/udf/udf_vnops.c Directory Properties:

svn commit: r278435 - in stable: 10/sys/fs/smbfs 9/sys/fs/smbfs

2015-02-08 Thread Dimitry Andric
Author: dim Date: Mon Feb 9 07:45:46 2015 New Revision: 278435 URL: https://svnweb.freebsd.org/changeset/base/278435 Log: MFC r277953: Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST. No functional change. Modified: stable/10/sys/fs/smbfs/smbfs_subr.c Directory Properti

svn commit: r278436 - in stable: 10/sys/sys 9/sys/sys

2015-02-08 Thread Dimitry Andric
Author: dim Date: Mon Feb 9 07:49:41 2015 New Revision: 278436 URL: https://svnweb.freebsd.org/changeset/base/278436 Log: MFC r278222: Mark typedefs for manually implementing _Static_assert() as unused, so they won't show up unecessarily for -Wunused-local-typedefs. Modified: stable/1

svn commit: r278437 - in stable: 10/usr.sbin/syslogd 9/usr.sbin/syslogd

2015-02-08 Thread Dimitry Andric
Author: dim Date: Mon Feb 9 07:52:45 2015 New Revision: 278437 URL: https://svnweb.freebsd.org/changeset/base/278437 Log: MFC r278297: Fix two clang 3.6.0 warnings in usr.sbin/syslogd: usr.sbin/syslogd/syslogd.c:1023:10: error: address of array 'f->f_prevline' will always evaluate to

svn commit: r278496 - stable/10/sys/contrib/dev/ath/ath_hal/ar9300

2015-02-09 Thread Dimitry Andric
Author: dim Date: Tue Feb 10 07:35:16 2015 New Revision: 278496 URL: https://svnweb.freebsd.org/changeset/base/278496 Log: MFC r278348: Fix a number of -Wcast-qual warnings in ath's ar9300_attach.c, by making the ia_array field of struct ar9300_ini_array const, and removing the const-dr

svn commit: r278617 - in stable: 10/sys/dev/drm2/radeon 9/sys/dev/drm2/radeon

2015-02-11 Thread Dimitry Andric
Author: dim Date: Thu Feb 12 07:21:22 2015 New Revision: 278617 URL: https://svnweb.freebsd.org/changeset/base/278617 Log: MFC r278004: Constify a number of accesses in drm2's radeon drivers to avoid -Wcast-qual warnings. No functional change. Reviewed by: dumbbell Differential R

svn commit: r278709 - in stable: 10/contrib/llvm/lib/Target/ARM 10/contrib/llvm/patches 9/contrib/llvm/lib/Target/ARM 9/contrib/llvm/patches

2015-02-13 Thread Dimitry Andric
Author: dim Date: Fri Feb 13 21:19:02 2015 New Revision: 278709 URL: https://svnweb.freebsd.org/changeset/base/278709 Log: MFC r271025, r271029, r271030 (by sbruno): MFV: Only emit movw on ARMv6T2 Building for the FreeBSD default target ARMv6 was emitting movw ASM on certain test ca

svn commit: r278716 - in stable: 10/contrib/llvm/patches 9/contrib/llvm/patches

2015-02-13 Thread Dimitry Andric
Author: dim Date: Fri Feb 13 21:31:43 2015 New Revision: 278716 URL: https://svnweb.freebsd.org/changeset/base/278716 Log: MFC r271931: Add a few missing llvm/clang patches, update the other ones to be able to apply with the same patch options onto a fresh upstream llvm/clang 3.4.1 chec

svn commit: r278724 - in stable/10: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libcxxrt lib/libc++ lib/libcxxrt

2015-02-13 Thread Dimitry Andric
Author: dim Date: Fri Feb 13 22:05:54 2015 New Revision: 278724 URL: https://svnweb.freebsd.org/changeset/base/278724 Log: Synchronize the default C++ stack in stable/10 with head, by merging almost all recent changes to libc++ and libcxxrt. MFC r256642: Since C++ typeinfo objects are

svn commit: r278788 - in stable: 10/contrib/llvm/tools/clang/lib/Serialization 9/contrib/llvm/tools/clang/lib/Serialization

2015-02-14 Thread Dimitry Andric
Author: dim Date: Sat Feb 14 23:25:39 2015 New Revision: 278788 URL: https://svnweb.freebsd.org/changeset/base/278788 Log: Pull in r201130 from upstream clang trunk (by Ted Kremenek): Fix PCH deserialization bug with local static symbols being treated as local extern. This trig

svn commit: r278789 - in stable: 10/contrib/llvm/patches 9/contrib/llvm/patches

2015-02-14 Thread Dimitry Andric
Author: dim Date: Sat Feb 14 23:28:09 2015 New Revision: 278789 URL: https://svnweb.freebsd.org/changeset/base/278789 Log: Add clang patches corresponding to r278788. Added: stable/10/contrib/llvm/patches/patch-r278788-clang-r201130-pch-miscompilation.diff Changes in other areas also in thi

svn commit: r279289 - in stable: 10/contrib/llvm/tools/clang/lib/AST 9/contrib/llvm/tools/clang/lib/AST

2015-02-25 Thread Dimitry Andric
Author: dim Date: Wed Feb 25 17:27:02 2015 New Revision: 279289 URL: https://svnweb.freebsd.org/changeset/base/279289 Log: Pull in r199571 from upstream clang trunk (by Ted Kremenek): Harden InitListExpr::isStringLiteralInit() against getInit() returning null. This led to a cra

svn commit: r279290 - in stable: 10/contrib/llvm/patches 9/contrib/llvm/patches

2015-02-25 Thread Dimitry Andric
Author: dim Date: Wed Feb 25 17:54:18 2015 New Revision: 279290 URL: https://svnweb.freebsd.org/changeset/base/279290 Log: Add clang patches corresponding to r279289. Added: stable/10/contrib/llvm/patches/patch-r279289-clang-r199571-fix-string-literal-assertion.diff Changes in other areas a

svn commit: r279456 - in stable: 10/contrib/libcxxrt 9/contrib/libcxxrt

2015-02-28 Thread Dimitry Andric
Author: dim Date: Sun Mar 1 00:47:37 2015 New Revision: 279456 URL: https://svnweb.freebsd.org/changeset/base/279456 Log: MFC r279307: Make libcxxrt's parsing of DWARF exception handling tables work on architectures with strict alignment, by using memcpy() instead of directly reading f

svn commit: r279462 - stable/10/sys/arm/ti/am335x

2015-02-28 Thread Dimitry Andric
Author: dim Date: Sun Mar 1 00:57:01 2015 New Revision: 279462 URL: https://svnweb.freebsd.org/changeset/base/279462 Log: MFC r279311: In sys/arm/ti/am335x/am335x_rtc.c, fix a clang 3.6.0 warning about am33x_rtc_softc::sc_irq_res (which is an array) never being NULL. Submitted by: a

svn commit: r279467 - in stable: 10/sys/arm/arm 10/sys/arm/ti 10/sys/arm/ti/am335x 10/sys/arm/ti/omap4 9/sys/arm/arm

2015-02-28 Thread Dimitry Andric
Author: dim Date: Sun Mar 1 01:08:14 2015 New Revision: 279467 URL: https://svnweb.freebsd.org/changeset/base/279467 Log: MFC r279312: Fix a number of -Wcast-qual warnings under sys/arm. No functional change. Submitted by: andrew Modified: stable/10/sys/arm/arm/disassem.c stab

svn commit: r279793 - stable/10/share/mk

2015-03-08 Thread Dimitry Andric
Author: dim Date: Sun Mar 8 22:39:01 2015 New Revision: 279793 URL: https://svnweb.freebsd.org/changeset/base/279793 Log: MFC r265829 (by imp): Support, to the extent we generate proper command lines, compiling with clang 3.3. Useful for test building -current on a -stable system in

svn commit: r279796 - in stable: 10/sys/boot/i386/boot2 10/sys/boot/pc98/boot2 9/sys/boot/i386/boot2 9/sys/boot/pc98/boot2

2015-03-08 Thread Dimitry Andric
Author: dim Date: Sun Mar 8 22:50:45 2015 New Revision: 279796 URL: https://svnweb.freebsd.org/changeset/base/279796 Log: MFC r279598: When compiling boot2 with gcc on i386 and pc98, only use the custom flag -mno-align-long-strings when compiling with base gcc. This is checked by comp

svn commit: r279874 - in stable: 10/contrib/libc++/include 9/contrib/libc++/include

2015-03-11 Thread Dimitry Andric
Author: dim Date: Wed Mar 11 07:22:13 2015 New Revision: 279874 URL: https://svnweb.freebsd.org/changeset/base/279874 Log: MFC r279757: Pull in r228344 from upstream libc++ trunk (by Eric Fiselier): Get tests running with warnings. Fix warnings in headers and tests This fixes a

svn commit: r280329 - in stable: 10/share/mk 9/share/mk

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 19:20:15 2015 New Revision: 280329 URL: https://svnweb.freebsd.org/changeset/base/280329 Log: MFC r279980: Allow relative pathnames in SRCS, so as to enable building software which includes more than one file with the same name, in different directories.

svn commit: r281075 - in stable/10: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/c...

2015-04-04 Thread Dimitry Andric
Author: dim Date: Sat Apr 4 10:17:51 2015 New Revision: 281075 URL: https://svnweb.freebsd.org/changeset/base/281075 Log: MFC r272444 (by jkim): Merge ACPICA 20140926. MFC r278970 (by jkim): Merge ACPICA 20141107 and 20150204. Approved by: jkim Relnotes: yes Adde

svn commit: r281110 - stable/10

2015-04-05 Thread Dimitry Andric
Author: dim Date: Sun Apr 5 15:27:56 2015 New Revision: 281110 URL: https://svnweb.freebsd.org/changeset/base/281110 Log: Ensure yacc is built during bootstrap-tools for __FreeBSD_version 1001506 and earlier, since some of the ACPI tools now reach yacc's old maximum table limit. This shoul

svn commit: r281148 - in stable: 10/bin/expr 9/bin/expr

2015-04-06 Thread Dimitry Andric
Author: dim Date: Mon Apr 6 14:45:40 2015 New Revision: 281148 URL: https://svnweb.freebsd.org/changeset/base/281148 Log: MFC r280357: Build expr with -fwrapv, since it relies on signed integer wrapping having defined behavior. Reported by: rodrigc Modified: stable/10/bin/expr/M

svn commit: r281149 - in stable: 10/contrib/libc++/include 9/contrib/libc++/include

2015-04-06 Thread Dimitry Andric
Author: dim Date: Mon Apr 6 14:50:54 2015 New Revision: 281149 URL: https://svnweb.freebsd.org/changeset/base/281149 Log: MFC r280864: Pull in r233552 from upstream libc++ trunk (by Eric Fiselier): [libcxx] Fix PR22771 - Support access control SFINAE in the library version of is

svn commit: r281382 - stable/10

2015-04-10 Thread Dimitry Andric
Author: dim Date: Fri Apr 10 20:38:31 2015 New Revision: 281382 URL: https://svnweb.freebsd.org/changeset/base/281382 Log: MFC r272814 (by bapt): Add OBJCOPY to the list of external tools MFC r272815 (by bapt): Fix typo This should fix the build troubles some people have

svn commit: r281289 - in stable/10: . lib/csu/i386-elf sys/boot/i386/boot2 sys/boot/i386/gptboot sys/boot/i386/gptzfsboot sys/boot/i386/zfsboot sys/boot/pc98/boot0 sys/boot/pc98/boot0.5 sys/boot/pc...

2015-04-08 Thread Dimitry Andric
Author: dim Date: Thu Apr 9 06:38:32 2015 New Revision: 281289 URL: https://svnweb.freebsd.org/changeset/base/281289 Log: MFC r280980: Ensure the cross assembler, linker and objcopy are used for the build32 stage, just like for the regular world stage. Reviewed by: rodrigc, imp, ba

Re: svn commit: r281075 - in stable/10: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/

2015-04-08 Thread Dimitry Andric
On 09 Apr 2015, at 01:21, Slawa Olhovchenkov wrote: > > On Sat, Apr 04, 2015 at 10:17:53AM +, Dimitry Andric wrote: > >> Author: dim >> Date: Sat Apr 4 10:17:51 2015 >> New Revision: 281075 >> URL: https://svnweb.freebsd.org/changeset/base/281075 >

svn commit: r281908 - in stable: 10/contrib/llvm/lib/MC/MCParser 10/contrib/llvm/patches 9/contrib/llvm/lib/MC/MCParser 9/contrib/llvm/patches

2015-04-23 Thread Dimitry Andric
Author: dim Date: Thu Apr 23 22:06:02 2015 New Revision: 281908 URL: https://svnweb.freebsd.org/changeset/base/281908 Log: MFC r281775: Pull in r229911 from upstream llvm trunk (by Benjamin Kramer): MC: Allow multiple comma-separated expressions on the .uleb128 directive. For

svn commit: r283015 - stable/10/contrib/llvm/patches

2015-05-16 Thread Dimitry Andric
Author: dim Date: Sat May 16 22:06:40 2015 New Revision: 283015 URL: https://svnweb.freebsd.org/changeset/base/283015 Log: Bring the contrib/llvm/patches directory up-to-date. MFC r263892: Add the llvm/clang patch for r263891. MFC r264350: Update the llvm/clang patch for r264345.

svn commit: r283036 - in stable/10/contrib/llvm: patches tools/clang/lib/Sema

2015-05-17 Thread Dimitry Andric
Author: dim Date: Sun May 17 20:38:01 2015 New Revision: 283036 URL: https://svnweb.freebsd.org/changeset/base/283036 Log: For clang 3.4.1, when using -fformat-extensions, and warning about the FreeBSD-specific %D and %b printf format specifiers, avoid possible argument overruns. Also reduc

svn commit: r283642 - in stable: 10/sys/sys 7/sys/sys 8/sys/sys 9/sys/sys

2015-05-27 Thread Dimitry Andric
Author: dim Date: Thu May 28 06:45:13 2015 New Revision: 283642 URL: https://svnweb.freebsd.org/changeset/base/283642 Log: MFC r283254: Ensure that the static structs emitted by the MODULE_DEPEND() and MODULE_VERSION() macros don't end up as .comm symbols, when all the version fields ar

svn commit: r284164 - in stable: 10/sys/amd64/amd64 9/sys/amd64/amd64

2015-06-08 Thread Dimitry Andric
Author: dim Date: Mon Jun 8 19:44:04 2015 New Revision: 284164 URL: https://svnweb.freebsd.org/changeset/base/284164 Log: MFC r283870: Remove unneeded NULL checks in amd64's trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be re

svn commit: r284642 - in stable: 10/sys/i386/i386 9/sys/i386/i386

2015-06-20 Thread Dimitry Andric
Author: dim Date: Sat Jun 20 13:25:28 2015 New Revision: 284642 URL: https://svnweb.freebsd.org/changeset/base/284642 Log: MFC r284167: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL,

svn commit: r284643 - in stable: 10/lib/libfetch 7/lib/libfetch 8/lib/libfetch 9/lib/libfetch

2015-06-20 Thread Dimitry Andric
Author: dim Date: Sat Jun 20 13:30:09 2015 New Revision: 284643 URL: https://svnweb.freebsd.org/changeset/base/284643 Log: MFC r284346: Fix the following clang 3.7.0 warnings in lib/libfetch/http.c: lib/libfetch/http.c:1628:26: error: address of array 'purl->user' will always

svn commit: r285109 - stable/10/lib/libcxxrt

2015-07-03 Thread Dimitry Andric
Author: dim Date: Fri Jul 3 20:29:04 2015 New Revision: 285109 URL: https://svnweb.freebsd.org/changeset/base/285109 Log: MFC r284732: Add __cxa_deleted_virtual to libcxxrt's version map. This symbol can sometimes be emitted by clang++, and was not yet exported from libcxxrt. Attem

svn commit: r285942 - in stable: 10/sys/dev/cxgb/ulp/iw_cxgb 7/sys/dev/cxgb/ulp/iw_cxgb 8/sys/dev/cxgb/ulp/iw_cxgb 9/sys/dev/cxgb/ulp/iw_cxgb

2015-07-28 Thread Dimitry Andric
Author: dim Date: Tue Jul 28 09:19:04 2015 New Revision: 285942 URL: https://svnweb.freebsd.org/changeset/base/285942 Log: MFC r285340: Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function. Detected by clang 3.7.0 with the warning: sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provide

svn commit: r286007 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 12:59:16 2015 New Revision: 286007 URL: https://svnweb.freebsd.org/changeset/base/286007 Log: Pull in r219009 from upstream llvm trunk (by Adam Nemet): [ISel] Keep matching state consistent when folding during X86 address match In the X86 backend, match

svn commit: r286008 - stable/10/contrib/llvm/patches

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 13:07:18 2015 New Revision: 286008 URL: https://svnweb.freebsd.org/changeset/base/286008 Log: Add llvm patch corresponding to r286007. Added: stable/10/contrib/llvm/patches/patch-r286007-llvm-r219009-x86-codegen-crash.diff Added: stable/10/contrib/llvm/patches/

Re: svn commit: r286007 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Dimitry Andric
On 29 Jul 2015, at 15:21, Ed Schouten wrote: > 2015-07-29 14:59 GMT+02:00 Dimitry Andric : >> + std::unique_ptr MSU; > > Is it safe to use std::unique_ptr<> in FreeBSD 10 sources? As in, > would it still allow upgrading to 10.2 from 9.x and 10.{0,1}? Hmm, th

svn commit: r286012 - in stable: 10/contrib/llvm/include/llvm/CodeGen 10/contrib/llvm/lib/CodeGen/SelectionDAG 10/contrib/llvm/lib/Target/X86 10/contrib/llvm/patches 9/contrib/llvm/include/llvm/Cod...

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 14:07:29 2015 New Revision: 286012 URL: https://svnweb.freebsd.org/changeset/base/286012 Log: Revert r286007-r286009 for now, until I can figure out how to make the fix compile with older gcc and libstdc++. Deleted: stable/10/contrib/llvm/patches/patch-r286007-

svn commit: r286033 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 19:25:28 2015 New Revision: 286033 URL: https://svnweb.freebsd.org/changeset/base/286033 Log: Reapply r286007, modified to compile with pre-C++11 compilers: Pull in r219009 from upstream llvm trunk (by Adam Nemet): [ISel] Keep matching state consistent wh

svn commit: r286034 - stable/10/contrib/llvm/patches

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 19:27:57 2015 New Revision: 286034 URL: https://svnweb.freebsd.org/changeset/base/286034 Log: Add updated llvm patch corresponding to r286033. Added: stable/10/contrib/llvm/patches/patch-r286033-llvm-r219009-x86-codegen-crash.diff Added: stable/10/contrib/llvm/

Re: svn commit: r286007 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-30 Thread Dimitry Andric
On 30 Jul 2015, at 10:41, David Chisnall wrote: > > On 29 Jul 2015, at 14:36, Dimitry Andric wrote: >> >> I'll have a look if this can be fixed using pre-C++11 constructs > > LLVM 3.4 had its own unique pointer template (llvm::OwningPtr? Yes, in r286033 I have us

svn commit: r286688 - in stable: 10/lib/msun/src 8/lib/msun/src 9/lib/msun/src

2015-08-12 Thread Dimitry Andric
Author: dim Date: Wed Aug 12 19:06:35 2015 New Revision: 286688 URL: https://svnweb.freebsd.org/changeset/base/286688 Log: MFC r286515: In libm's exp2(3), avoid left-shifting a negative integer, which is undefined. Replace it with the intended value, in a defined way. Reviewed by:

svn commit: r286690 - in stable: 10/contrib/binutils/gas/config 7/contrib/binutils/gas/config 8/contrib/binutils/gas/config 9/contrib/binutils/gas/config

2015-08-12 Thread Dimitry Andric
Author: dim Date: Wed Aug 12 19:18:54 2015 New Revision: 286690 URL: https://svnweb.freebsd.org/changeset/base/286690 Log: MFC r286519: In GNU as, avoid left-shifting negative integers, which is undefined. Modified: stable/10/contrib/binutils/gas/config/tc-i386.c Directory Properties:

Re: svn commit: r287984 - stable/10/sys/contrib/ipfilter/netinet

2015-09-20 Thread Dimitry Andric
On 19 Sep 2015, at 08:51, Alexey Dokuchaev wrote: > > On Sat, Sep 19, 2015 at 03:58:32AM +, Cy Schubert wrote: ... botched commit message ... > > Every time I see this happen I wonder shall we forbid to execute "svn ci" > other than with -F or -m ? Can the difference between -F/-m and a "li

svn commit: r288133 - in stable: 10/contrib/gcclibs/libcpp 9/contrib/gcclibs/libcpp

2015-09-22 Thread Dimitry Andric
Author: dim Date: Tue Sep 22 22:07:42 2015 New Revision: 288133 URL: https://svnweb.freebsd.org/changeset/base/288133 Log: MFC r286699: In gcc's libcpp, stop using the INTTYPE_MAXIMUM() macro, which relies on undefined behavior. The code used this macro to avoid problems on some broken

svn commit: r288134 - in stable: 10/sbin/ipfw 9/sbin/ipfw

2015-09-22 Thread Dimitry Andric
Author: dim Date: Tue Sep 22 22:18:36 2015 New Revision: 288134 URL: https://svnweb.freebsd.org/changeset/base/288134 Log: MFC r286702: In ipfw2, avoid left-shifting negative integers, which is undefined. While here, make some other arguments to htonl(3) unsigned too. Modified: stable/

svn commit: r288135 - in stable: 10/sys/dev/bxe 9/sys/dev/bxe

2015-09-22 Thread Dimitry Andric
Author: dim Date: Tue Sep 22 22:27:45 2015 New Revision: 288135 URL: https://svnweb.freebsd.org/changeset/base/288135 Log: MFC r286733: Avoid left-shifting negative signed values in bxe(4). Reviewed by: davidcs Modified: stable/10/sys/dev/bxe/ecore_hsi.h Directory Properties: sta

svn commit: r288136 - in stable: 10/lib/libz 9/lib/libz

2015-09-22 Thread Dimitry Andric
Author: dim Date: Tue Sep 22 22:35:42 2015 New Revision: 288136 URL: https://svnweb.freebsd.org/changeset/base/288136 Log: MFC r287541: In libz's inflateMark(), avoid left-shifting a negative integer, which is undefined. Reviewed by: delphij Differential Revision: https://reviews.

svn commit: r289078 - in stable: 10/contrib/binutils/opcodes 9/contrib/binutils/opcodes

2015-10-09 Thread Dimitry Andric
Author: dim Date: Fri Oct 9 19:36:06 2015 New Revision: 289078 URL: https://svnweb.freebsd.org/changeset/base/289078 Log: MFC r288099: In binutils' arm-dis.c, avoid left-shifting a negative number. Submitted by: dan.mcgregor_usask.ca (Dan McGregor) Differential Revision: https://rev

svn commit: r289079 - in stable: 10/lib/libc++ 9/lib/libc++

2015-10-09 Thread Dimitry Andric
Author: dim Date: Fri Oct 9 19:38:53 2015 New Revision: 289079 URL: https://svnweb.freebsd.org/changeset/base/289079 Log: MFC r288953: Stop linking libc++.so verbosely, there is no need to. Modified: stable/10/lib/libc++/Makefile Directory Properties: stable/10/ (props changed) Cha

svn commit: r292551 - stable/10/sys/amd64/amd64

2015-12-21 Thread Dimitry Andric
Author: dim Date: Mon Dec 21 17:15:03 2015 New Revision: 292551 URL: https://svnweb.freebsd.org/changeset/base/292551 Log: MFC r277735 (by royger): amd64: allow base memory segment to start at address different than 0 Current code requires that the first physical memory segment starts

svn commit: r321222 - in stable/10: contrib/libc++/include contrib/libc++/src sys/sys

2017-07-19 Thread Dimitry Andric
Author: dim Date: Wed Jul 19 18:22:32 2017 New Revision: 321222 URL: https://svnweb.freebsd.org/changeset/base/321222 Log: Pull in r229281 from upstream libc++ (by Larisse Voufo): Implement C++14's sized deallocation functions, since there are no longer implicitly defined by clang, as

svn commit: r321660 - in stable: 10/sys/boot/efi/boot1 11/sys/boot/efi/boot1

2017-07-28 Thread Dimitry Andric
Author: dim Date: Fri Jul 28 18:35:29 2017 New Revision: 321660 URL: https://svnweb.freebsd.org/changeset/base/321660 Log: MFC r321305: Fix printf format warning in zfs_module.c Clang 5.0.0 got better warnings about print format strings using %zd, and this leads to the following -Wer

svn commit: r323189 - stable/10/lib/libcompiler_rt

2017-09-05 Thread Dimitry Andric
Author: dim Date: Tue Sep 5 17:32:14 2017 New Revision: 323189 URL: https://svnweb.freebsd.org/changeset/base/323189 Log: MFC r323001: In compiler-rt, a few assembler implementations for i386 floating point conversion functions use SSE2 instructions, but these are not guarded by #ifdef

svn commit: r326746 - in stable: 10/lib/msun/man 11/lib/msun/man

2017-12-10 Thread Dimitry Andric
Author: dim Date: Sun Dec 10 13:58:37 2017 New Revision: 326746 URL: https://svnweb.freebsd.org/changeset/base/326746 Log: MFC r326669: Remove the sentence in math(3) about some long double math functions not being available. Submitted by: Steve Kargl Modified: stable/10/lib/msun/

svn commit: r326747 - in stable: 10/lib/msun/bsdsrc 11/lib/msun/bsdsrc

2017-12-10 Thread Dimitry Andric
Author: dim Date: Sun Dec 10 14:49:06 2017 New Revision: 326747 URL: https://svnweb.freebsd.org/changeset/base/326747 Log: MFC r326670: Remove an unused incude from lib/msun/bsdsrc/b_log.c. Submitted by: Steve Kargl Modified: stable/10/lib/msun/bsdsrc/b_log.c Directory Properties:

svn commit: r326830 - in stable: 10/lib/msun/man 11/lib/msun/man

2017-12-13 Thread Dimitry Andric
Author: dim Date: Wed Dec 13 18:38:02 2017 New Revision: 326830 URL: https://svnweb.freebsd.org/changeset/base/326830 Log: MFC r326748: Document the existence and precision of the remaining long double functions for which an imprecise stub implementation was added in r255294, namely pow

svn commit: r326976 - in stable: 10/contrib/llvm/tools/clang/lib/Sema 11/contrib/llvm/tools/clang/lib/Sema 9/contrib/llvm/tools/clang/lib/Sema

2017-12-19 Thread Dimitry Andric
Author: dim Date: Tue Dec 19 11:44:24 2017 New Revision: 326976 URL: https://svnweb.freebsd.org/changeset/base/326976 Log: MFC r326880: Pull in r320755 from upstream clang trunk (by me): Don't trigger -Wuser-defined-literals for system headers Summary: In D41064, I propose

svn commit: r327471 - in stable: 10/contrib/binutils/bfd 10/contrib/binutils/include 11/contrib/binutils/bfd 11/contrib/binutils/include 9/contrib/binutils/bfd 9/contrib/binutils/include

2018-01-01 Thread Dimitry Andric
Author: dim Date: Mon Jan 1 20:39:12 2018 New Revision: 327471 URL: https://svnweb.freebsd.org/changeset/base/327471 Log: MFC r327164: Fix clang 6.0.0 compiler warnings in binutils Latest clang git has a warning -Wnull-pointer-arithmetic which will trigger a -Werror failure. Additio

svn commit: r327470 - in stable: 10/sys/cddl/contrib/opensolaris/uts/common/sys 11/sys/cddl/contrib/opensolaris/uts/common/sys 9/sys/cddl/contrib/opensolaris/uts/common/sys

2018-01-01 Thread Dimitry Andric
Author: dim Date: Mon Jan 1 20:24:16 2018 New Revision: 327470 URL: https://svnweb.freebsd.org/changeset/base/327470 Log: MFC r327167: Remove obsolete register keyword from opensolaris's sysmacros.h. When compiling zfsd with recent clang, it leads to a warning about the register stora

svn commit: r328555 - in stable: 10/contrib/llvm/tools/clang/include/clang/Basic 10/contrib/llvm/tools/clang/lib/Sema 9/contrib/llvm/tools/clang/include/clang/Basic 9/contrib/llvm/tools/clang/lib/Sema

2018-01-29 Thread Dimitry Andric
Author: dim Date: Mon Jan 29 18:11:27 2018 New Revision: 328555 URL: https://svnweb.freebsd.org/changeset/base/328555 Log: Pull in r217197 from upstream clang trunk (by Richard Smith): PR20844: If we fail to list-initialize a reference, map to the referenced type before retrying the i

  1   2   >