svn commit: r364084 - in stable: 10/usr.sbin/yp_mkdb 11/usr.sbin/yp_mkdb 12/usr.sbin/yp_mkdb 9/usr.sbin/yp_mkdb

2020-08-10 Thread Dimitry Andric
Author: dim Date: Mon Aug 10 17:35:58 2020 New Revision: 364084 URL: https://svnweb.freebsd.org/changeset/base/364084 Log: MFC r363988: Fix clang 11 -Wformat warnings in yp_mkdb: usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void

svn commit: r362800 - in stable: 10/lib/libkvm 11/lib/libkvm 12/lib/libkvm 7/lib/libkvm 8/lib/libkvm 9/lib/libkvm

2020-06-30 Thread Dimitry Andric
Author: dim Date: Tue Jun 30 15:53:52 2020 New Revision: 362800 URL: https://svnweb.freebsd.org/changeset/base/362800 Log: MFC r362623: Fix copy/paste mistake in kvm_getswapinfo(3) It seems this manpage was copied from kvm_getloadavg(3), but the DIAGNOSTICS section was not updated

svn commit: r360542 - in stable: 10 11 12

2020-05-01 Thread Dimitry Andric
Author: dim Date: Fri May 1 18:27:14 2020 New Revision: 360542 URL: https://svnweb.freebsd.org/changeset/base/360542 Log: MFC r360322: Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes

svn commit: r360340 - stable/10/usr.sbin/timed

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 15:52:41 2020 New Revision: 360340 URL: https://svnweb.freebsd.org/changeset/base/360340 Log: Remove stray "DO NOT DELETE" line, which bmake apparently put in without my knowledge or consent. I did not intend to commit this. Modified:

svn commit: r360338 - in stable: 10/usr.sbin/timed 10/usr.sbin/timed/timed 11/usr.sbin/timed/timed 12/usr.sbin/timed/timed

2020-04-26 Thread Dimitry Andric
Author: dim Date: Sun Apr 26 15:50:32 2020 New Revision: 360338 URL: https://svnweb.freebsd.org/changeset/base/360338 Log: Add casts to work around harmless -Werror warnings from clang 10.0.0, such as: usr.sbin/timed/timed/networkdelta.c:160:13: error: implicit conversion from 'long' to

svn commit: r360326 - in stable: 10/usr.sbin/pw 11/usr.sbin/pw 12/usr.sbin/pw

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 22:23:34 2020 New Revision: 360326 URL: https://svnweb.freebsd.org/changeset/base/360326 Log: MFC r348282 (by lwhsu): Remove an uneeded indentation introduced in r286196 to silence gcc warnging Sponsored by: The FreeBSD Foundation Modified:

svn commit: r360304 - in stable: 10/sys/dev/ixl 11/sys/dev/ixl 12/sys/dev/ixl

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:14:06 2020 New Revision: 360304 URL: https://svnweb.freebsd.org/changeset/base/360304 Log: MFC r348445 (by lwhsu): Add the missing braces to fix the code not guarded by the if clause and has misleading indentation. This is found by gcc

svn commit: r360303 - in stable: 10/sys/dev/drm2/radeon 11/sys/dev/drm2/radeon 12/sys/dev/drm2/radeon

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 13:10:17 2020 New Revision: 360303 URL: https://svnweb.freebsd.org/changeset/base/360303 Log: Fix misleading indentation in sys/dev/drm2/radeon/evergreen.c This fixes the following warning from recent versions of clang and gcc:

svn commit: r360301 - in stable: 10/contrib/bsnmp/lib 11/contrib/bsnmp/lib 12/contrib/bsnmp/lib

2020-04-25 Thread Dimitry Andric
Author: dim Date: Sat Apr 25 12:57:20 2020 New Revision: 360301 URL: https://svnweb.freebsd.org/changeset/base/360301 Log: MFC r354834 (by jhibbits): bsnmp: Fix operator precedence in error check in table_check_response Summary: The ?: operator has a lower precedence than == and &&,

svn commit: r357523 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_pf 11/usr.sbin/bsnmpd/modules/snmp_pf 12/usr.sbin/bsnmpd/modules/snmp_pf

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:46:29 2020 New Revision: 357523 URL: https://svnweb.freebsd.org/changeset/base/357523 Log: MFC r357340: Merge r357339 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd:

svn commit: r357520 - in stable: 10/usr.sbin/bsnmpd/modules/snmp_bridge 11/usr.sbin/bsnmpd/modules/snmp_bridge 12/usr.sbin/bsnmpd/modules/snmp_bridge

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:35:40 2020 New Revision: 357520 URL: https://svnweb.freebsd.org/changeset/base/357520 Log: MFC r357272: Merge r357271 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd:

svn commit: r357519 - in stable: 10/usr.bin/procstat 11/usr.bin/procstat 12/usr.bin/procstat

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:31:01 2020 New Revision: 357519 URL: https://svnweb.freebsd.org/changeset/base/357519 Log: MFC r357268: Merge r357260 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in procstat:

svn commit: r357517 - in stable: 10/libexec/rbootd 11/libexec/rbootd 12/libexec/rbootd

2020-02-04 Thread Dimitry Andric
Author: dim Date: Tue Feb 4 19:19:48 2020 New Revision: 357517 URL: https://svnweb.freebsd.org/changeset/base/357517 Log: MFC r357223: Merge r357222 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in rbootd: libexec/rbootd/rmpproto.c:335:49:

svn commit: r357351 - in stable: 10/contrib/binutils/bfd 11/contrib/binutils/bfd 12/contrib/binutils/bfd 9/contrib/binutils/bfd

2020-01-31 Thread Dimitry Andric
Author: dim Date: Fri Jan 31 20:04:32 2020 New Revision: 357351 URL: https://svnweb.freebsd.org/changeset/base/357351 Log: MFC r357226: Merge r357224 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in binutils:

svn commit: r355395 - in stable: 10/lib/msun/src 11/lib/msun/src 12/lib/msun/src

2019-12-04 Thread Dimitry Andric
Author: dim Date: Wed Dec 4 17:45:34 2019 New Revision: 355395 URL: https://svnweb.freebsd.org/changeset/base/355395 Log: r355120 | dim | 2019-11-26 23:01:09 +0100 (Tue, 26 Nov 2019) | 32 lines The fdlibm hypot() implementations shouldn't potentially left-shift negative numbers

svn commit: r354596 - in stable: 10/lib/libc/gen 10/lib/msun/src 11/lib/libc/gen 11/lib/msun/src 12/lib/libc/gen 12/lib/msun/src

2019-11-10 Thread Dimitry Andric
Author: dim Date: Sun Nov 10 17:33:10 2019 New Revision: 354596 URL: https://svnweb.freebsd.org/changeset/base/354596 Log: MFC r354255: Add __isnan()/__isnanf() aliases for compatibility with glibc and CUDA Even though clang comes with a number of internal CUDA wrapper headers,

svn commit: r352835 - in stable: 10/lib/msun/src 11/lib/msun/src 12/lib/msun/src 8/lib/msun/src 9/lib/msun/src

2019-09-28 Thread Dimitry Andric
Author: dim Date: Sat Sep 28 08:57:29 2019 New Revision: 352835 URL: https://svnweb.freebsd.org/changeset/base/352835 Log: MFC r352710: Do not left-shift a negative number (inducing undefined behavior in C/C++) in exp(3), expf(3), expm1(3) and expm1f(3) during intermediate computations

svn commit: r338756 - in stable: 10/sys/amd64/amd64 11/sys/amd64/amd64 8/sys/amd64/amd64 9/sys/amd64/amd64

2018-09-18 Thread Dimitry Andric
Author: dim Date: Tue Sep 18 20:46:55 2018 New Revision: 338756 URL: https://svnweb.freebsd.org/changeset/base/338756 Log: MFC r309748 (by glebius): Treat R_X86_64_PLT32 relocs as R_X86_64_PC32. If we load a binary that is designed to be a library, it produces relocatable code via

svn commit: r337959 - in stable: 10/sys/dev/hyperv/pcib 11/sys/dev/hyperv/pcib

2018-08-17 Thread Dimitry Andric
Author: dim Date: Fri Aug 17 06:31:30 2018 New Revision: 337959 URL: https://svnweb.freebsd.org/changeset/base/337959 Log: MFC r337322: Fix build of hyperv with base gcc on i386 Summary: Base gcc fails to compile `sys/dev/hyperv/pcib/vmbus_pcib.c` for i386, with the following

svn commit: r336429 - stable/10/contrib/llvm/lib/CodeGen/SelectionDAG

2018-07-17 Thread Dimitry Andric
Author: dim Date: Tue Jul 17 21:10:31 2018 New Revision: 336429 URL: https://svnweb.freebsd.org/changeset/base/336429 Log: Pull in r211155 from upstream llvm trunk (by Tim Northover): DAG: move sret demotion into most basic LowerCallTo implementation. It looks like there are two

svn commit: r335340 - stable/10/sys/dev/bxe

2018-06-18 Thread Dimitry Andric
Author: dim Date: Mon Jun 18 20:42:53 2018 New Revision: 335340 URL: https://svnweb.freebsd.org/changeset/base/335340 Log: Follow-up to r335289, which merged r334948 from head, to really fix the bxe build on i386. In the stable/10 branch, the rman functions still use u_long instead of

svn commit: r335289 - in stable: 10/sys/dev/bxe 11/sys/dev/bxe

2018-06-17 Thread Dimitry Andric
Author: dim Date: Sun Jun 17 17:28:27 2018 New Revision: 335289 URL: https://svnweb.freebsd.org/changeset/base/335289 Log: MFC r334948: Fix build of bxe with base gcc on i386 Casting from rman_res_t to a pointer results in "cast to pointer from integer of different size" warnings

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

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.

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

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

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

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:

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

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

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,

Re: svn commit: r319631 - stable/10/lib/clang

2017-06-06 Thread Dimitry Andric
On 6 Jun 2017, at 20:40, Dimitry Andric <d...@freebsd.org> wrote: > > Author: dim > Date: Tue Jun 6 18:40:14 2017 > New Revision: 319631 > URL: https://svnweb.freebsd.org/changeset/base/319631 > > Log: > Work around a gcc 4.2 bug on powerpc architectures, wher

svn commit: r319631 - stable/10/lib/clang

2017-06-06 Thread Dimitry Andric
Author: dim Date: Tue Jun 6 18:40:14 2017 New Revision: 319631 URL: https://svnweb.freebsd.org/changeset/base/319631 Log: Work around a gcc 4.2 bug on powerpc architectures, where using -fdata-sections can cause bogus "section type conflict" errors. See

svn commit: r318365 - in stable: 10/lib/msun/src 11/lib/msun/src

2017-05-16 Thread Dimitry Andric
Author: dim Date: Tue May 16 18:54:25 2017 New Revision: 318365 URL: https://svnweb.freebsd.org/changeset/base/318365 Log: MFC r318259: Silence a -Wunused warning about the junk variable being used to raise an inexact floating point exception. The variable cannot be eliminated,

Re: svn commit: r317529 - in stable: 10/sys/sys 11/sys/sys

2017-05-10 Thread Dimitry Andric
On 10 May 2017, at 04:14, Eric Badger wrote: > > On 05/09/2017 03:32 PM, Slawa Olhovchenkov wrote: >> On Thu, Apr 27, 2017 at 10:28:50PM +, Eric Badger wrote: >> >>> Author: badger >>> Date: Thu Apr 27 22:28:49 2017 >>> New Revision: 317529 >>> URL:

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

2017-05-09 Thread Dimitry Andric
Author: dim Date: Tue May 9 16:58:08 2017 New Revision: 318031 URL: https://svnweb.freebsd.org/changeset/base/318031 Log: MFC r317888 and two upstream prerequisites: Pull in r227097 from upstream libc++ trunk (by Marshall Clow): Fix PR21428. Buffer was one byte too small in octal

Re: svn commit: r314937 - in stable/10/sys: fs/ext2fs modules/ext2fs

2017-04-27 Thread Dimitry Andric
On 28 Apr 2017, at 00:00, Ngie Cooper wrote: > > On Thu, Apr 27, 2017 at 1:52 PM, Ed Maste wrote: >> On 8 March 2017 at 21:47, Pedro F. Giffuni wrote: >>> Author: pfg >>> Date: Thu Mar 9 02:47:01 2017 >>> New Revision: 314937 >>>

svn commit: r316772 - in stable: 10/sbin/newfs_nandfs 11/sbin/newfs_nandfs

2017-04-13 Thread Dimitry Andric
Author: dim Date: Thu Apr 13 17:11:50 2017 New Revision: 316772 URL: https://svnweb.freebsd.org/changeset/base/316772 Log: MFC r314671 (by cem): newfs_nandfs: Fix unaligned pointer warning PR: 217532 Submitted by: Trond Endrestol Modified:

svn commit: r316354 - in stable: 10/contrib/libcxxrt 11/contrib/libcxxrt

2017-04-01 Thread Dimitry Andric
Author: dim Date: Sat Apr 1 11:24:34 2017 New Revision: 316354 URL: https://svnweb.freebsd.org/changeset/base/316354 Log: MFC r315947: Import libcxxrt master 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92. Interesting fixes which were not already merged: 0c7c611 Merge C++ demangler bug

svn commit: r315943 - in stable: 10/contrib/libcxxrt 11/contrib/libcxxrt 9/contrib/libcxxrt

2017-03-25 Thread Dimitry Andric
Author: dim Date: Sat Mar 25 12:29:15 2017 New Revision: 315943 URL: https://svnweb.freebsd.org/changeset/base/315943 Log: MFC r315745: Cherry-pick libcxxrt commit 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92: Author: David Chisnall Date: Wed Mar 22 12:27:08

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

2017-03-24 Thread Dimitry Andric
Author: dim Date: Fri Mar 24 18:28:13 2017 New Revision: 315915 URL: https://svnweb.freebsd.org/changeset/base/315915 Log: Pull in r283944 from upstream libc++ trunk (by Eric Fiselier): Fix std::pair on FreeBSD Summary: FreeBSD ships an old ABI for std::pair which requires

svn commit: r315328 - in stable: 10/sys/ofed/drivers/infiniband/hw/mlx4 11/sys/ofed/drivers/infiniband/hw/mlx4

2017-03-15 Thread Dimitry Andric
Author: dim Date: Wed Mar 15 19:50:58 2017 New Revision: 315328 URL: https://svnweb.freebsd.org/changeset/base/315328 Log: MFC r310232: After r310171, the kernel version of sscanf() has format string checking enabled. This results in a -Werror warning in mlx4ib:

svn commit: r314898 - in stable: 10/lib/libcxxrt 11/lib/libcxxrt

2017-03-07 Thread Dimitry Andric
Author: dim Date: Wed Mar 8 07:58:29 2017 New Revision: 314898 URL: https://svnweb.freebsd.org/changeset/base/314898 Log: MFC r314061: Add __int128-related symbols to libcxxrt's version map. Put these into the same CXXABI verions as recent libstdc++. Note that __int128 types are

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

2017-02-18 Thread Dimitry Andric
Author: dim Date: Sat Feb 18 14:44:14 2017 New Revision: 313916 URL: https://svnweb.freebsd.org/changeset/base/313916 Log: Pull in r242377 from upstream libc++ trunk (by Marshall Clow): Make sure that __libcpp_compressed_pair_imp default-constructs its' members, rather than

svn commit: r312773 - stable/10/sys/boot/efi/boot1

2017-01-25 Thread Dimitry Andric
Author: dim Date: Wed Jan 25 20:12:07 2017 New Revision: 312773 URL: https://svnweb.freebsd.org/changeset/base/312773 Log: MFC r311933: Use proper prototypes in struct boot_module_t With clang 4.0.0, we are getting the following warnings about struct boot_module_t in efi's

svn commit: r312772 - in stable: 10/sys/boot/efi/include 11/sys/boot/efi/include

2017-01-25 Thread Dimitry Andric
Author: dim Date: Wed Jan 25 19:55:35 2017 New Revision: 312772 URL: https://svnweb.freebsd.org/changeset/base/312772 Log: MFC r311932: Make EFI_RESERVED_SERVICE a proper prototype With clang 4.0.0, the EFI API header causes the following warning: In file included from

svn commit: r312771 - in stable: 10/sys/boot/common 11/sys/boot/common

2017-01-25 Thread Dimitry Andric
Author: dim Date: Wed Jan 25 19:16:24 2017 New Revision: 312771 URL: https://svnweb.freebsd.org/changeset/base/312771 Log: MFC r311929: Don't include in reloc_elf.c, as it includes just after it, which has a conflicting definition of errno. This leads to the following warning with

svn commit: r311939 - in stable: 10/sys/geom/vinum 11/sys/geom/vinum 9/sys/geom/vinum

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 21:01:49 2017 New Revision: 311939 URL: https://svnweb.freebsd.org/changeset/base/311939 Log: MFC r311688: Fix logic error in gvinum's gv_set_sd_state() With clang 4.0.0, I'm getting the following warnings: sys/geom/vinum/geom_vinum_state.c:186:7:

svn commit: r311937 - in stable: 10/contrib/ngatm/snmp_atm 11/contrib/ngatm/snmp_atm 9/contrib/ngatm/snmp_atm

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 20:45:27 2017 New Revision: 311937 URL: https://svnweb.freebsd.org/changeset/base/311937 Log: MFC r311649: Fix the following clang 4.0.0 warning in ngatm's snmp_atm.c: contrib/ngatm/snmp_atm/snmp_atm.c:173:6: error: logical not is only applied to

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: 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

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

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

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: 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'

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

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: 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

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:

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'

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

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

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

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

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

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

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

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

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:

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

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

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

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

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.

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

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: 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:

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)

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:

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

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:

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:

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

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: 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 thera...@freebsd.org wrote: On 29 Jul 2015, at 14:36, Dimitry Andric d...@freebsd.org 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

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

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:

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:

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:

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.

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

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

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-09 Thread Dimitry Andric
On 09 Apr 2015, at 01:21, Slawa Olhovchenkov s...@zxy.spb.ru 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 Log: MFC r272444 (by jkim

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

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

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

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: 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: 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

  1   2   >