svn commit: r321306 - head/sys/net

2017-07-20 Thread Dimitry Andric
Author: dim Date: Thu Jul 20 20:28:31 2017 New Revision: 321306 URL: https://svnweb.freebsd.org/changeset/base/321306 Log: Fix printf format warning in iflib.c Clang 5.0.0 got better warnings about printf format strings using %zd, and this leads to the following -Werror warning on e.g.

svn commit: r321305 - head/sys/boot/efi/boot1

2017-07-20 Thread Dimitry Andric
Author: dim Date: Thu Jul 20 20:27:19 2017 New Revision: 321305 URL: https://svnweb.freebsd.org/changeset/base/321305 Log: 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 -Werror warning on

Re: svn commit: r320234 - head/sys/boot/efi/include

2017-06-22 Thread Dimitry Andric
On 22 Jun 2017, at 16:30, Ed Maste wrote: > > Author: emaste > Date: Thu Jun 22 14:30:09 2017 > New Revision: 320234 > URL: https://svnweb.freebsd.org/changeset/base/320234 > > Log: > Make structure padding explicit in EFI_MEMORY_DESCRIPTOR > > The EFI memory descriptor

svn commit: r319918 - in head/lib/clang: libclang liblldb libllvm

2017-06-13 Thread Dimitry Andric
Author: dim Date: Tue Jun 13 21:01:06 2017 New Revision: 319918 URL: https://svnweb.freebsd.org/changeset/base/319918 Log: Revert r319796 for now, it can cause undefined references when linking in some circumstances. Reported by: Shawn Webb Modified:

svn commit: r319796 - in head/lib/clang: libclang liblldb libllvm

2017-06-10 Thread Dimitry Andric
Author: dim Date: Sat Jun 10 18:52:13 2017 New Revision: 319796 URL: https://svnweb.freebsd.org/changeset/base/319796 Log: Remove a few unneeded files from libllvm, libclang and liblldb. MFC after:3 days Modified: head/lib/clang/libclang/Makefile head/lib/clang/liblldb/Makefile

svn commit: r319473 - head/lib/clang

2017-06-01 Thread Dimitry Andric
Author: dim Date: Thu Jun 1 21:05:56 2017 New Revision: 319473 URL: https://svnweb.freebsd.org/changeset/base/319473 Log: For arm targets, place ABI at the end of the target triple For some reason, we have been inserting the ABI specification into the middle of the target triple, when

svn commit: r319458 - head

2017-06-01 Thread Dimitry Andric
Author: dim Date: Thu Jun 1 20:11:26 2017 New Revision: 319458 URL: https://svnweb.freebsd.org/changeset/base/319458 Log: Add a few missed files to ObsoleteFiles.inc. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r318959 - head/sys/sys

2017-05-26 Thread Dimitry Andric
Author: dim Date: Fri May 26 16:29:55 2017 New Revision: 318959 URL: https://svnweb.freebsd.org/changeset/base/318959 Log: Define a new __INO64 macro in , to indicate the system uses 64-bit inode numbers. Programs can use this to avoid including , with its associated namespace pollution.

svn commit: r318906 - head/contrib/llvm/lib/Target/PowerPC

2017-05-25 Thread Dimitry Andric
Author: dim Date: Thu May 25 23:14:51 2017 New Revision: 318906 URL: https://svnweb.freebsd.org/changeset/base/318906 Log: Pull in r303257 from upstream llvm trunk (by Krzysztof Parzyszek) [PPC] Properly update register save area offsets The variables MinGPR/MinG8R were not

svn commit: r318655 - in head/contrib/llvm: include/llvm/MC lib/MC lib/Target/ARM/MCTargetDesc

2017-05-22 Thread Dimitry Andric
Author: dim Date: Mon May 22 16:16:48 2017 New Revision: 318655 URL: https://svnweb.freebsd.org/changeset/base/318655 Log: Pull in r302416 from upstream llvm trunk (by Martin Storsjö): [ARM] Clear the constant pool cache on explicit .ltorg directives Multiple ldr

svn commit: r318654 - head/lib

2017-05-22 Thread Dimitry Andric
Author: dim Date: Mon May 22 16:13:30 2017 New Revision: 318654 URL: https://svnweb.freebsd.org/changeset/base/318654 Log: For now, disable building libc++experimental for arm, since there are a number of static assertion failures in the time_t related parts. Reported by: mmel, kib

svn commit: r318598 - head/lib/libc++experimental

2017-05-21 Thread Dimitry Andric
Author: dim Date: Sun May 21 21:33:15 2017 New Revision: 318598 URL: https://svnweb.freebsd.org/changeset/base/318598 Log: Add PICFLAG to build libc++experimental.a, so it can be used in all situations. Noticed by: kib Modified: head/lib/libc++experimental/Makefile Modified:

Re: svn commit: r318594 - in head: lib lib/libc++experimental tools/build/mk

2017-05-21 Thread Dimitry Andric
On 21 May 2017, at 20:00, Konstantin Belousov <kostik...@gmail.com> wrote: > > On Sun, May 21, 2017 at 05:07:12PM +0000, Dimitry Andric wrote: >> Author: dim >> Date: Sun May 21 17:07:12 2017 >> New Revision: 318594 >> URL: https://svnweb.freebsd.org/changeset/

svn commit: r318594 - in head: lib lib/libc++experimental tools/build/mk

2017-05-21 Thread Dimitry Andric
Author: dim Date: Sun May 21 17:07:12 2017 New Revision: 318594 URL: https://svnweb.freebsd.org/changeset/base/318594 Log: Add libc++experimental.a for std::experimental support This adds a separate library for supporting std::experimental features. It is purposefully static, and must be

svn commit: r318575 - head/etc/mtree

2017-05-20 Thread Dimitry Andric
Author: dim Date: Sat May 20 11:40:37 2017 New Revision: 318575 URL: https://svnweb.freebsd.org/changeset/base/318575 Log: After r317383 (removal of NATM), also remove usr/include/dev/utopia from BSD.include.dist. Modified: head/etc/mtree/BSD.include.dist Modified:

svn commit: r318259 - head/lib/msun/src

2017-05-13 Thread Dimitry Andric
Author: dim Date: Sat May 13 22:36:54 2017 New Revision: 318259 URL: https://svnweb.freebsd.org/changeset/base/318259 Log: Silence a -Wunused warning about the junk variable being used to raise an inexact floating point exception. The variable cannot be eliminated, unfortunately, otherwise

Re: svn commit: r318017 - head/share/man/man4

2017-05-10 Thread Dimitry Andric
On 10 May 2017, at 02:47, Bruce Evans wrote: > > On Tue, 9 May 2017, Ian Lepore wrote: > >> On Tue, 2017-05-09 at 08:36 +, Edward Tomasz Napierala wrote: >>> Author: trasz >>> Date: Tue May 9 08:36:09 2017 >>> New Revision: 318017 >>> URL:

svn commit: r317888 - head/contrib/libc++/include

2017-05-06 Thread Dimitry Andric
Author: dim Date: Sat May 6 21:43:55 2017 New Revision: 317888 URL: https://svnweb.freebsd.org/changeset/base/317888 Log: Pull in r302362 from upstream libc++ trunk (by me): Ensure showbase does not overflow do_put buffers Summary: In https://bugs.freebsd.org/207918, Daniel

svn commit: r317810 - head/contrib/llvm/lib/Target/PowerPC

2017-05-04 Thread Dimitry Andric
Author: dim Date: Thu May 4 21:40:16 2017 New Revision: 317810 URL: https://svnweb.freebsd.org/changeset/base/317810 Log: Pull in r302183 from upstream llvm trunk (by Krzysztof Parzyszek): [PPC] When restoring R30 (PIC base pointer), mark it as This happened on the PPC32/SVR4

svn commit: r317751 - head/contrib/llvm/lib/Target/ARM

2017-05-03 Thread Dimitry Andric
Author: dim Date: Wed May 3 16:12:43 2017 New Revision: 317751 URL: https://svnweb.freebsd.org/changeset/base/317751 Log: Pull in r301983 from upstream llvm trunk (by Tim Northover): ARM: avoid handing a deleted node back to TableGen during ISel. When we replaced the multiplicand

svn commit: r317458 - in head/contrib/llvm: include/llvm/CodeGen include/llvm/MC include/llvm/MC/MCParser lib/CodeGen/AsmPrinter lib/MC lib/MC/MCParser

2017-04-26 Thread Dimitry Andric
Author: dim Date: Wed Apr 26 19:33:56 2017 New Revision: 317458 URL: https://svnweb.freebsd.org/changeset/base/317458 Log: Pull in r294458 from upstream llvm trunk (by Sanne Wouda): [Assembler] Enable nicer diagnostics for inline assembly. Fixed test. Summary: Enables

svn commit: r317381 - head/usr.bin/diff

2017-04-24 Thread Dimitry Andric
Author: dim Date: Mon Apr 24 20:34:56 2017 New Revision: 317381 URL: https://svnweb.freebsd.org/changeset/base/317381 Log: Fix the following warning from gcc 4.2 in usr.bin/diff: usr.bin/diff/diffreg.c: In function 'change': usr.bin/diff/diffreg.c:1085: warning: 'i' may be used

Re: svn commit: r317215 - head/lib/clang

2017-04-20 Thread Dimitry Andric
On 20 Apr 2017, at 23:03, Hans Petter Selasky <h...@selasky.org> wrote: > > On 04/20/17 23:00, Dimitry Andric wrote: >> Author: dim >> Date: Thu Apr 20 21:00:09 2017 >> New Revision: 317215 >> URL: https://svnweb.freebsd.org/changeset/base/317215 >>

svn commit: r317215 - head/lib/clang

2017-04-20 Thread Dimitry Andric
Author: dim Date: Thu Apr 20 21:00:09 2017 New Revision: 317215 URL: https://svnweb.freebsd.org/changeset/base/317215 Log: Add function and data sections when building llvm, clang, lld and lldb, and allow the linker to garbage collect them. This shaves off up to a few MB from the final

svn commit: r317214 - head/lib/clang/include/llvm/Config

2017-04-20 Thread Dimitry Andric
Author: dim Date: Thu Apr 20 21:00:04 2017 New Revision: 317214 URL: https://svnweb.freebsd.org/changeset/base/317214 Log: Turn off llvm/clang's ENABLE_BACKTRACES setting, since it never worked properly anyway. (Upstream has reorganized this somewhat in the mean time, but for proper

svn commit: r317079 - head/contrib/llvm/lib/Target/X86

2017-04-18 Thread Dimitry Andric
Author: dim Date: Tue Apr 18 07:02:12 2017 New Revision: 317079 URL: https://svnweb.freebsd.org/changeset/base/317079 Log: Pull in r300429 from upstream llvm trunk (by Benjamin Kramer): [X86] Remove special handling for 16 bit for A asm constraints. Our 16 bit support is

svn commit: r316989 - head/contrib/llvm/lib/Target/X86

2017-04-15 Thread Dimitry Andric
Author: dim Date: Sat Apr 15 22:34:22 2017 New Revision: 316989 URL: https://svnweb.freebsd.org/changeset/base/316989 Log: Pull in r300404 from upstream llvm trunk (by me): Use correct registers for "A" inline asm constraint Summary: In PR32594, inline assembly using the 'A'

Re: svn commit: r316979 - head/usr.bin/less

2017-04-15 Thread Dimitry Andric
On 15 Apr 2017, at 22:06, Baptiste Daroussin wrote: > > Author: bapt > Date: Sat Apr 15 20:06:24 2017 > New Revision: 316979 > URL: https://svnweb.freebsd.org/changeset/base/316979 > > Log: > Add a zstdless equivalent to zless, bzless xzless > > Modified: >

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Dimitry Andric
On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) wrote: > >> On Apr 4, 2017, at 09:08, Conrad Meyer wrote: >> >> Author: cem >> Date: Tue Apr 4 16:08:51 2017 >> New Revision: 316492 >> URL: https://svnweb.freebsd.org/changeset/base/316492 >> >>

Re: svn commit: r315689 - head/lib/libcompiler_rt

2017-03-28 Thread Dimitry Andric
On 28 Mar 2017, at 21:02, Ngie Cooper (yaneurabeya) wrote: > >> On Mar 28, 2017, at 10:49, Ngie Cooper (yaneurabeya) >> wrote: > … >> Oh wait… I forgot that libgcc_s also references these sources *facepalm*. Aha! That explains why Li-Wen still

svn commit: r316005 - in head/contrib/compiler-rt/lib/builtins: . arm

2017-03-26 Thread Dimitry Andric
Author: dim Date: Sun Mar 26 20:36:35 2017 New Revision: 316005 URL: https://svnweb.freebsd.org/changeset/base/316005 Log: Revert r314907, and pull in r298713 from upstream compiler-rt trunk (by Weiming Zhao): builtins: Select correct code fragments when compiling for Thumb1/Thum2/ARM

svn commit: r315947 - head/contrib/libcxxrt

2017-03-25 Thread Dimitry Andric
Author: dim Date: Sat Mar 25 13:17:48 2017 New Revision: 315947 URL: https://svnweb.freebsd.org/changeset/base/315947 Log: Import libcxxrt master 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92. Interesting fixes which were not already merged: 0c7c611 Merge C++ demangler bug fixes from ELF Tool

svn commit: r315745 - head/contrib/libcxxrt

2017-03-22 Thread Dimitry Andric
Author: dim Date: Wed Mar 22 21:45:42 2017 New Revision: 315745 URL: https://svnweb.freebsd.org/changeset/base/315745 Log: Cherry-pick libcxxrt commit 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92: Author: David Chisnall Date: Wed Mar 22 12:27:08 2017 +

svn commit: r315689 - head/lib/libcompiler_rt

2017-03-21 Thread Dimitry Andric
Author: dim Date: Tue Mar 21 21:07:37 2017 New Revision: 315689 URL: https://svnweb.freebsd.org/changeset/base/315689 Log: Gcc has incompatible internal declarations for __divtc3 and __multc3 as defined in compiler-rt, but it has no option to silence its warning, so make gcc warnings for

svn commit: r315016 - in head: contrib/llvm/lib/Transforms/IPO contrib/llvm/lib/Transforms/Scalar contrib/llvm/tools/clang/lib/Basic contrib/llvm/tools/clang/lib/Serialization lib/clang/include/cla...

2017-03-10 Thread Dimitry Andric
Author: dim Date: Fri Mar 10 19:02:41 2017 New Revision: 315016 URL: https://svnweb.freebsd.org/changeset/base/315016 Log: Update clang, llvm, lld, lldb, compiler-rt and libc++ to 4.0.0 release. We were already very close to the last release candidate, so this is a pretty minor update.

svn commit: r314795 - head/contrib/llvm/lib/Analysis

2017-03-06 Thread Dimitry Andric
Author: dim Date: Mon Mar 6 21:14:20 2017 New Revision: 314795 URL: https://svnweb.freebsd.org/changeset/base/314795 Log: Reapply r287232 from upstream llvm trunk (by Daniil Fukalov): [SCEV] limit recursion depth of CompareSCEVComplexity Summary: CompareSCEVComplexity goes

svn commit: r314708 - head/contrib/llvm/lib/Analysis

2017-03-05 Thread Dimitry Andric
Author: dim Date: Sun Mar 5 19:56:20 2017 New Revision: 314708 URL: https://svnweb.freebsd.org/changeset/base/314708 Log: For now, revert r287232 from upstream llvm trunk (by Daniil Fukalov): [SCEV] limit recursion depth of CompareSCEVComplexity Summary: CompareSCEVComplexity

Re: svn commit: r314564 - in head: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builti

2017-03-03 Thread Dimitry Andric
On 3 Mar 2017, at 18:27, Oleg V. Nauman <o...@opentransfer.com> wrote: > > On Thursday 02 March 2017 20:49:44 Dimitry Andric wrote: >> Author: dim > > Hello Dimitry, > >> Date: Thu Mar 2 20:49:40 2017 >> New Revision: 314564 >> URL: https://svnweb

Re: svn commit: r314564 - in head: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builti

2017-03-02 Thread Dimitry Andric
On 2 Mar 2017, at 21:49, Dimitry Andric <d...@freebsd.org> wrote: > > Author: dim > Date: Thu Mar 2 20:49:40 2017 > New Revision: 314564 > URL: https://svnweb.freebsd.org/changeset/base/314564 > > Log: > Upgrade our copies of clang, llvm, lld, lldb, compiler-rt an

svn commit: r314104 - head/lib/libcxxrt

2017-02-22 Thread Dimitry Andric
Author: dim Date: Wed Feb 22 18:44:57 2017 New Revision: 314104 URL: https://svnweb.freebsd.org/changeset/base/314104 Log: Surround any unmangled C++ names in libcxxrt's version map with 'extern "C++"', otherwise ld refuses to make the symbols global in the final library. This causes the

svn commit: r314061 - head/lib/libcxxrt

2017-02-21 Thread Dimitry Andric
Author: dim Date: Tue Feb 21 21:48:45 2017 New Revision: 314061 URL: https://svnweb.freebsd.org/changeset/base/314061 Log: Add __int128-related symbols to libcxxrt's version map. Put these into the same CXXABI verions as recent libstdc++. Note that __int128 types are only available on

svn commit: r313823 - head/contrib/compiler-rt/lib/builtins

2017-02-16 Thread Dimitry Andric
Author: dim Date: Thu Feb 16 21:03:43 2017 New Revision: 313823 URL: https://svnweb.freebsd.org/changeset/base/313823 Log: Pull in r285478 from upstream compiler-rt trunk (by Saleem Abdulrasool): build: give aliases the same visibility ARM EABI also uses function aliases. Ensure

svn commit: r313709 - head/usr.bin/dtc

2017-02-13 Thread Dimitry Andric
Author: dim Date: Mon Feb 13 20:56:53 2017 New Revision: 313709 URL: https://svnweb.freebsd.org/changeset/base/313709 Log: Fix build of BSD dtc when NDEBUG is defined (MK_ASSERT_DEBUG=no): * Initialize correct parent in binary_operator's constructor. * Include explicitly, otherwise errno

Re: svn commit: r313560 - head/sys/net

2017-02-11 Thread Dimitry Andric
On 11 Feb 2017, at 10:57, Antoine Brodin wrote: > > On Fri, Feb 10, 2017 at 6:37 PM, Gleb Smirnoff wrote: >> Author: glebius >> Date: Fri Feb 10 17:37:04 2017 >> New Revision: 313560 >> URL: https://svnweb.freebsd.org/changeset/base/313560 >> >> Log:

svn commit: r313052 - in head/contrib/compiler-rt/lib: asan lsan sanitizer_common

2017-02-01 Thread Dimitry Andric
Author: dim Date: Wed Feb 1 20:41:09 2017 New Revision: 313052 URL: https://svnweb.freebsd.org/changeset/base/313052 Log: Pull in r293536 from upstream compiler-rt trunk: Recommit: Stop intercepting some malloc-related functions on FreeBSD and macOS Summary: In

svn commit: r312993 - head/contrib/llvm/lib/Transforms/Scalar

2017-01-30 Thread Dimitry Andric
Author: dim Date: Mon Jan 30 18:35:24 2017 New Revision: 312993 URL: https://svnweb.freebsd.org/changeset/base/312993 Log: Pull in r279454 from upstream llvm trunk (by James Molloy): [SROA] Remove incorrect assertion Confirmed with aprantl, this assertion is incorrect - code can

svn commit: r312832 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis lib/Transforms/Scalar

2017-01-26 Thread Dimitry Andric
Author: dim Date: Thu Jan 26 20:39:43 2017 New Revision: 312832 URL: https://svnweb.freebsd.org/changeset/base/312832 Log: Pull in r278160 from upstream llvm trunk (by Wei Mi): Recommit "Use ValueOffsetPair to enhance value reuse during SCEV expansion". The fix for PR28705

svn commit: r312831 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis

2017-01-26 Thread Dimitry Andric
Author: dim Date: Thu Jan 26 20:18:28 2017 New Revision: 312831 URL: https://svnweb.freebsd.org/changeset/base/312831 Log: Revert r312765 for now, since it causes assertions when building lang/spidermonkey24. Reported by: antoine PR: 215649 Modified:

svn commit: r312765 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis

2017-01-25 Thread Dimitry Andric
Author: dim Date: Wed Jan 25 17:59:22 2017 New Revision: 312765 URL: https://svnweb.freebsd.org/changeset/base/312765 Log: Pull in r276136 from upstream llvm trunk (by Wei Mi): Use ValueOffsetPair to enhance value reuse during SCEV expansion. In D12090, the ExprValueMap was added

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Dimitry Andric
On 11 Jan 2017, at 23:32, Ngie Cooper <yaneurab...@gmail.com> wrote: > > On Wed, Jan 11, 2017 at 2:10 PM, Dimitry Andric <d...@freebsd.org> wrote: > > ... > >> The line: >> >>extern int errno; >> >> expanded to: >>

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Dimitry Andric
On 11 Jan 2017, at 22:42, Ian Lepore <i...@freebsd.org> wrote: > > On Wed, 2017-01-11 at 13:35 -0800, Ngie Cooper wrote: >> On Wed, Jan 11, 2017 at 10:47 AM, Dimitry Andric <d...@freebsd.org> >> wrote: >>> >>> Author: dim >>> Date: Wed Jan

svn commit: r311933 - head/sys/boot/efi/boot1

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 20:00:24 2017 New Revision: 311933 URL: https://svnweb.freebsd.org/changeset/base/311933 Log: 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 boot_module.h: In file

svn commit: r311932 - head/sys/boot/efi/include

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 19:59:27 2017 New Revision: 311932 URL: https://svnweb.freebsd.org/changeset/base/311932 Log: 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: r311929 - head/sys/boot/common

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 18:47:00 2017 New Revision: 311929 URL: https://svnweb.freebsd.org/changeset/base/311929 Log: 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 clang 4.0.0:

svn commit: r311811 - head/usr.sbin/mfiutil

2017-01-09 Thread Dimitry Andric
Author: dim Date: Mon Jan 9 19:39:35 2017 New Revision: 311811 URL: https://svnweb.freebsd.org/changeset/base/311811 Log: Avoid taking the address of a packed struct member in mfiutil Fix a clang 4.0.0 warning about taking the address of a packed member of struct mfi_evt in mfiutil:

svn commit: r311807 - head/tools/build/mk

2017-01-09 Thread Dimitry Andric
Author: dim Date: Mon Jan 9 19:22:29 2017 New Revision: 311807 URL: https://svnweb.freebsd.org/changeset/base/311807 Log: Add recently added libc++ headers to OptionalObsoleteFiles.inc. MFC after:3 days Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified:

svn commit: r311806 - head

2017-01-09 Thread Dimitry Andric
Author: dim Date: Mon Jan 9 19:12:41 2017 New Revision: 311806 URL: https://svnweb.freebsd.org/changeset/base/311806 Log: After r311565, also remove llvm-ranlib from ObsoleteFiles.inc. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r311688 - head/sys/geom/vinum

2017-01-08 Thread Dimitry Andric
Author: dim Date: Sun Jan 8 17:56:54 2017 New Revision: 311688 URL: https://svnweb.freebsd.org/changeset/base/311688 Log: 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: error: logical

svn commit: r311649 - head/contrib/ngatm/snmp_atm

2017-01-07 Thread Dimitry Andric
Author: dim Date: Sat Jan 7 15:57:12 2017 New Revision: 311649 URL: https://svnweb.freebsd.org/changeset/base/311649 Log: 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 the left hand

svn commit: r311570 - head/contrib/tcpdump

2017-01-06 Thread Dimitry Andric
Author: dim Date: Sat Jan 7 00:17:01 2017 New Revision: 311570 URL: https://svnweb.freebsd.org/changeset/base/311570 Log: In tcpdump's print-tcp.c, avoid increasing alignment when taking the addresses of members of struct ip, which is packed. Since the pointers are only used for

svn commit: r311565 - in head: tools/build/mk usr.bin/clang/llvm-ar

2017-01-06 Thread Dimitry Andric
Author: dim Date: Fri Jan 6 23:05:29 2017 New Revision: 311565 URL: https://svnweb.freebsd.org/changeset/base/311565 Log: Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When invoked as llvm-ranlib, it can create an archive symbol table for archives of objects compiled for

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Dimitry Andric
On 06 Jan 2017, at 22:01, Shawn Webb <shawn.w...@hardenedbsd.org> wrote: > > On Thu, Jan 05, 2017 at 08:44:45PM +0000, Dimitry Andric wrote: >> Author: dim >> Date: Thu Jan 5 20:44:45 2017 >> New Revision: 311459 >> URL: https://svnweb.freebsd.org/changeset/ba

svn commit: r311556 - head/contrib/tcp_wrappers

2017-01-06 Thread Dimitry Andric
Author: dim Date: Fri Jan 6 21:40:30 2017 New Revision: 311556 URL: https://svnweb.freebsd.org/changeset/base/311556 Log: After r311459, some ports can break, because a few of the newly added prototypes in use FILE. Pull in a minimal forward declaration of FILE from to minimize impact.

svn commit: r311530 - head/sbin/ping

2017-01-06 Thread Dimitry Andric
Author: dim Date: Fri Jan 6 18:41:28 2017 New Revision: 311530 URL: https://svnweb.freebsd.org/changeset/base/311530 Log: Fix clang 4.0.0 warnings about taking the address of a packed member of struct ip in ping(8): sbin/ping/ping.c:1684:53: error: taking address of packed member

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-05 Thread Dimitry Andric
On 05 Jan 2017, at 22:05, Konstantin Belousov <kostik...@gmail.com> wrote: > > On Thu, Jan 05, 2017 at 08:44:45PM +0000, Dimitry Andric wrote: >> +extern int hosts_access(struct request_info *); >> /* access control */ >> +extern int

svn commit: r311461 - head/contrib/tcp_wrappers

2017-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 21:17:10 2017 New Revision: 311461 URL: https://svnweb.freebsd.org/changeset/base/311461 Log: Also remove unnecessary extern keywords from tcpd.h. Noticed by: kib X-MFC-With: r311459 Modified: head/contrib/tcp_wrappers/tcpd.h Modified:

svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 20:44:45 2017 New Revision: 311459 URL: https://svnweb.freebsd.org/changeset/base/311459 Log: Put proper prototypes in tcpd.h Clang 4.0.0 complains about tcpd.h's not-really-prototypes, e.g.: /usr/include/tcpd.h:75:24: error: this function declaration

Re: svn commit: r310889 - head/tools/build/mk

2017-01-04 Thread Dimitry Andric
On 31 Dec 2016, at 07:07, Jung-uk Kim wrote: > > Author: jkim > Date: Sat Dec 31 06:07:48 2016 > New Revision: 310889 > URL: https://svnweb.freebsd.org/changeset/base/310889 > > Log: > Do not remove llvm-objdump. It is installed by default since r310840. > > Modified: >

svn commit: r311131 - head

2017-01-02 Thread Dimitry Andric
Author: dim Date: Mon Jan 2 19:33:22 2017 New Revision: 311131 URL: https://svnweb.freebsd.org/changeset/base/311131 Log: Make native-xtools build correctly after clang/llvm 3.9.0 import During the clang/llvm 3.9.0 import, the build structure for it was completely revamped. This broke

svn commit: r310840 - in head: lib/clang/libllvm usr.bin/clang

2016-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 18:00:31 2016 New Revision: 310840 URL: https://svnweb.freebsd.org/changeset/base/310840 Log: Reapply 310775, now it also builds correctly if lldb is disabled: Move llvm-objdump from CLANG_EXTRAS to installed by default We currently install three tools

svn commit: r310792 - in head: lib/clang/libllvm usr.bin/clang

2016-12-29 Thread Dimitry Andric
Author: dim Date: Thu Dec 29 21:57:16 2016 New Revision: 310792 URL: https://svnweb.freebsd.org/changeset/base/310792 Log: Revert r310775 for now, until we can figure out why it does not seem to work properly when cross-building. Sorry for the breakage. Modified:

svn commit: r310775 - in head: lib/clang/libllvm usr.bin/clang

2016-12-29 Thread Dimitry Andric
Author: dim Date: Thu Dec 29 13:27:04 2016 New Revision: 310775 URL: https://svnweb.freebsd.org/changeset/base/310775 Log: Move llvm-objdump from CLANG_EXTRAS to installed by default We currently install three tools from binutils 2.17.50: as, ld, and objdump. Work is underway to migrate

Re: svn commit: r310171 - head/sys/sys

2016-12-19 Thread Dimitry Andric
t;sepher...@gmail.com> >>> Date: 2016-12-18, Sunday at 23:02 >>> To: Dimitry Andric <d...@freebsd.org> >>> Cc: <src-committ...@freebsd.org>, <svn-src-...@freebsd.org>, >>> <svn-src-head@freebsd.org> >>> Subject: Re: svn

Re: svn commit: r310232 - head/sys/dev/mlx4/mlx4_ib

2016-12-18 Thread Dimitry Andric
On 18 Dec 2016, at 17:37, Ed Schouten <e...@nuxi.nl> wrote: > > 2016-12-18 16:21 GMT+01:00 Dimitry Andric <d...@freebsd.org>: >> Modified: head/sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c >> == &g

svn commit: r310232 - head/sys/dev/mlx4/mlx4_ib

2016-12-18 Thread Dimitry Andric
Author: dim Date: Sun Dec 18 15:21:38 2016 New Revision: 310232 URL: https://svnweb.freebsd.org/changeset/base/310232 Log: After r310171, the kernel version of sscanf() has format string checking enabled. This results in a -Werror warning in mlx4ib:

svn commit: r310194 - in head: . contrib/compiler-rt/lib/builtins contrib/libc++/include contrib/llvm/include/llvm/Analysis contrib/llvm/include/llvm/ExecutionEngine contrib/llvm/include/llvm/IR co...

2016-12-17 Thread Dimitry Andric
Author: dim Date: Sat Dec 17 22:34:19 2016 New Revision: 310194 URL: https://svnweb.freebsd.org/changeset/base/310194 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 3.9.1 release. Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11

Re: svn commit: r310138 - head/lib/libc/stdio

2016-12-17 Thread Dimitry Andric
On 17 Dec 2016, at 12:46, David Chisnall wrote: > > On 16 Dec 2016, at 19:31, Baptiste Daroussin wrote: >> >> Other than that, it makes more difficult to use vanilla gcc with out >> userland. >> and it is adding more complexity to be able to build

Re: svn commit: r310051 - in head: share/man/man9 sys/kern sys/sys

2016-12-17 Thread Dimitry Andric
On 17 Dec 2016, at 10:43, Ed Schouten <e...@nuxi.nl> wrote: > > 2016-12-16 23:55 GMT+01:00 Dimitry Andric <d...@freebsd.org>: >> Since this now causes VMware kernel modules to insta-panic the kernel, >> it might be nice to put some warning in UPDATING, at least. Lu

Re: svn commit: r310051 - in head: share/man/man9 sys/kern sys/sys

2016-12-16 Thread Dimitry Andric
On 14 Dec 2016, at 13:47, Ed Schouten wrote: > > Author: ed > Date: Wed Dec 14 12:47:34 2016 > New Revision: 310051 > URL: https://svnweb.freebsd.org/changeset/base/310051 > > Log: > Add support for attaching aggregation labels to sysctl objects. ... > The change presented

Re: svn commit: r310138 - head/lib/libc/stdio

2016-12-16 Thread Dimitry Andric
On 16 Dec 2016, at 20:31, Baptiste Daroussin wrote: > > On Fri, Dec 16, 2016 at 01:44:51AM +, Conrad E. Meyer wrote: >> Author: cem >> Date: Fri Dec 16 01:44:50 2016 >> New Revision: 310138 >> URL: https://svnweb.freebsd.org/changeset/base/310138 >> >> Log: >>

svn commit: r310171 - head/sys/sys

2016-12-16 Thread Dimitry Andric
Author: dim Date: Fri Dec 16 19:49:22 2016 New Revision: 310171 URL: https://svnweb.freebsd.org/changeset/base/310171 Log: Add __scanflike attributes to the kernel's sscanf() and vsscanf() declarations. This should help to catch future mismatches between format strings and arguments.

Re: svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-15 Thread Dimitry Andric
On 15 Dec 2016, at 08:01, Colin Percival <cperc...@tarsnap.com> wrote: > > On 12/14/16 11:28, Dimitry Andric wrote: >> Log: >> In xbd_connect(), use correct scanf conversion specifiers for the >> feature_barrier and feature_flush variables. Otherwise, adjac

svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-14 Thread Dimitry Andric
Author: dim Date: Wed Dec 14 19:28:19 2016 New Revision: 310086 URL: https://svnweb.freebsd.org/changeset/base/310086 Log: In xbd_connect(), use correct scanf conversion specifiers for the feature_barrier and feature_flush variables. Otherwise, adjacent variables on the stack, such as

Re: svn commit: r310013 - head/sys/dev/xen/blkfront

2016-12-13 Thread Dimitry Andric
On 13 Dec 2016, at 07:54, Colin Percival wrote: > > Author: cperciva > Date: Tue Dec 13 06:54:13 2016 > New Revision: 310013 > URL: https://svnweb.freebsd.org/changeset/base/310013 > > Log: > Check that blkfront devices have a non-zero number of sectors and a > non-zero

svn commit: r309835 - head/contrib/llvm/lib/Bitcode/Writer

2016-12-10 Thread Dimitry Andric
Author: dim Date: Sat Dec 10 22:03:44 2016 New Revision: 309835 URL: https://svnweb.freebsd.org/changeset/base/309835 Log: Tentatively apply https://reviews.llvm.org/D18730 to work around gcc PR 70528 (bogus error: constructor required before non-static data member). This should fix

svn commit: r309722 - head/contrib/llvm/lib/Analysis

2016-12-08 Thread Dimitry Andric
Author: dim Date: Thu Dec 8 21:02:34 2016 New Revision: 309722 URL: https://svnweb.freebsd.org/changeset/base/309722 Log: Pull in r281586 from upstream llvm trunk (by Wei Mi): Add some shortcuts in LazyValueInfo to reduce compile time of Correlated Value Propagation. The

svn commit: r309656 - head/lib/clang/libllvmminimal

2016-12-06 Thread Dimitry Andric
Author: dim Date: Tue Dec 6 20:44:40 2016 New Revision: 309656 URL: https://svnweb.freebsd.org/changeset/base/309656 Log: During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821

svn commit: r309332 - head

2016-11-30 Thread Dimitry Andric
Author: dim Date: Wed Nov 30 19:06:47 2016 New Revision: 309332 URL: https://svnweb.freebsd.org/changeset/base/309332 Log: 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 ObsoleteFiles.inc are

svn commit: r309262 - in head: release/packages usr.bin/clang usr.bin/clang/lld usr.bin/clang/lldb

2016-11-28 Thread Dimitry Andric
Author: dim Date: Mon Nov 28 20:13:56 2016 New Revision: 309262 URL: https://svnweb.freebsd.org/changeset/base/309262 Log: Fix packaging for clang, lldb and lld 3.9.0 During the upgrade of clang/llvm etc to 3.9.0 in r309124, the PACKAGE directive in the usr.bin/clang/*.mk files got

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Dimitry Andric
On 28 Nov 2016, at 03:20, Kyle Evans <kevan...@ksu.edu> wrote: > > On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric <d...@freebsd.org> wrote: >> Author: dim >> Date: Thu Nov 24 22:54:55 2016 >> New Revision: 309124 >> URL: https://svnweb.freebsd.org/cha

svn commit: r309212 - head/tools/build/mk

2016-11-27 Thread Dimitry Andric
Author: dim Date: Sun Nov 27 14:19:19 2016 New Revision: 309212 URL: https://svnweb.freebsd.org/changeset/base/309212 Log: Add a few missed clang 3.9.0 files to OptionalObsoleteFiles. X-MFC-With: 309149 Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified:

svn commit: r309169 - in head/contrib/llvm/tools: llvm-dwarfdump llvm-lto

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 22:33:15 2016 New Revision: 309169 URL: https://svnweb.freebsd.org/changeset/base/309169 Log: Get rid of separate Subversion mergeinfo properties for llvm-dwarfdump and llvm-lto. The mergeinfo confuses Subversion enormously, and these directories will just use

svn commit: r309150 - head/lib/clang

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 18:12:57 2016 New Revision: 309150 URL: https://svnweb.freebsd.org/changeset/base/309150 Log: Bump FREEBSD_CC_VERSION again for r309147 and 309149. Modified: head/lib/clang/freebsd_cc_version.h Modified: head/lib/clang/freebsd_cc_version.h

svn commit: r309149 - in head/contrib/llvm: lib/Target/PowerPC tools/clang/lib/CodeGen tools/clang/lib/Driver

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 18:12:13 2016 New Revision: 309149 URL: https://svnweb.freebsd.org/changeset/base/309149 Log: Pull in r283060 from upstream llvm trunk (by Hal Finkel): [PowerPC] Refactor soft-float support, and enable PPC64 soft float This change enables soft-float

svn commit: r309147 - head/contrib/llvm/lib/Target/PowerPC

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 18:01:32 2016 New Revision: 309147 URL: https://svnweb.freebsd.org/changeset/base/309147 Log: Pull in r282174 from upstream llvm trunk (by Krzysztof Parzyszek): [PPC] Set SP after loading data from stack frame, if no red zone is present Follow-up

Re: svn commit: r308664 - in head: contrib/hyperv/tools etc/devd etc/mtree include share/man/man4 sys/conf sys/dev/hyperv/utilities sys/modules/hyperv/utilities usr.sbin/hyperv usr.sbin/hyperv/tools u

2016-11-17 Thread Dimitry Andric
On 17 Nov 2016, at 01:31, Ngie Cooper wrote: > > On Wed, Nov 16, 2016 at 2:14 PM, Mark Johnston wrote: > ... >> This appears to install hv_kvp_daemon and hv_vss_daemon to / instead of >> /usr/sbin, and breaks the -DNO_ROOT build. I think a Makefile.inc

svn commit: r308559 - head/contrib/llvm/lib/Target/AArch64

2016-11-11 Thread Dimitry Andric
Author: dim Date: Fri Nov 11 21:01:45 2016 New Revision: 308559 URL: https://svnweb.freebsd.org/changeset/base/308559 Log: Pull in r263169 from upstream llvm trunk (by Tim Northover): AArch64: only try to use scaled fcvt ops on legal vector types. Before we ended up calling

svn commit: r308487 - head/contrib/llvm/lib/Target/AArch64

2016-11-10 Thread Dimitry Andric
Author: dim Date: Thu Nov 10 19:40:14 2016 New Revision: 308487 URL: https://svnweb.freebsd.org/changeset/base/308487 Log: Pull in r263301 from upstream llvm trunk (by Ahmed Bougacha): [AArch64] Don't blindly lower f16/f128 FCCMPs. Instead, extend f16 (like we do when lowering a

svn commit: r308375 - head/contrib/llvm/lib/Target/AArch64

2016-11-06 Thread Dimitry Andric
Author: dim Date: Sun Nov 6 16:27:09 2016 New Revision: 308375 URL: https://svnweb.freebsd.org/changeset/base/308375 Log: Pull in r278002 from upstream llvm trunk (by Silviu Baranga): [AArch64] PR28877: Don't assume we're running after legalization when creating vcvtfp2fxs

Re: svn commit: r308181 - in head: . share/mk

2016-11-02 Thread Dimitry Andric
On 02 Nov 2016, at 08:25, Jonathan Anderson <jonat...@freebsd.org> wrote: > > On 1 Nov 2016, at 21:10, Dimitry Andric wrote: > >> Please note, I reverted r307823 (which changed the suffixes from .bco >> and .llo to .bc and .ll) in r308003, since it caused a

<    1   2   3   4   5   6   7   8   9   10   >