svn commit: r277901 - head/sys/libkern

2015-01-29 Thread Dimitry Andric
Author: dim Date: Thu Jan 29 21:16:45 2015 New Revision: 277901 URL: https://svnweb.freebsd.org/changeset/base/277901 Log: Fix a -Wcast-qual warning in libkern's strtol(), by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/libkern/strtol.c Modified:

svn commit: r277899 - head/sys/fs/cd9660

2015-01-29 Thread Dimitry Andric
Author: dim Date: Thu Jan 29 20:40:25 2015 New Revision: 277899 URL: https://svnweb.freebsd.org/changeset/base/277899 Log: Fix a bunch of -Wcast-qual warnings in cd9660_util.c, by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/fs/cd9660/cd9660_util.c

svn commit: r277903 - head/sys/libkern

2015-01-29 Thread Dimitry Andric
Author: dim Date: Thu Jan 29 21:54:01 2015 New Revision: 277903 URL: https://svnweb.freebsd.org/changeset/base/277903 Log: Similar to r277901, fix more -Wcast-qual warnings in libkern's strtoq(), strtoul() and strtouq(), by using __DECONST. No functional change. MFC after:3 days

svn commit: r277898 - head/sys/fs/msdosfs

2015-01-29 Thread Dimitry Andric
Author: dim Date: Thu Jan 29 20:30:13 2015 New Revision: 277898 URL: https://svnweb.freebsd.org/changeset/base/277898 Log: Fix a bunch of -Wcast-qual warnings in msdosfs_conv.c, by using __DECONST. No functional change. MFC after:3 days Modified:

svn commit: r277857 - head/usr.sbin/ppp

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 21:33:49 2015 New Revision: 277857 URL: https://svnweb.freebsd.org/changeset/base/277857 Log: Fix multiple instances of the following clang 3.6.0 warning in ppp: usr.sbin/ppp/command.c:2054:74: error: address of array 'arg-bundle-radius.cfg.file' will always

svn commit: r277856 - head/usr.sbin/pciconf

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 21:21:35 2015 New Revision: 277856 URL: https://svnweb.freebsd.org/changeset/base/277856 Log: Fix the following clang 3.6.0 warnings in pciconf: usr.sbin/pciconf/pciconf.c:237:12: error: address of array 'p-pd_name' will always evaluate to 'true'

svn commit: r277860 - head/usr.sbin/sa

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 22:22:49 2015 New Revision: 277860 URL: https://svnweb.freebsd.org/changeset/base/277860 Log: Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c: usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier

svn commit: r277841 - head/contrib/amd/hlfsd

2015-01-28 Thread Dimitry Andric
Author: dim Date: Wed Jan 28 18:19:25 2015 New Revision: 277841 URL: https://svnweb.freebsd.org/changeset/base/277841 Log: Fix the following clang 3.6.0 warning in contrib/amd/hlfsd/homedir.c: contrib/amd/hlfsd/homedir.c:497:8: error: address of array 'buf' will always evaluate to 'true'

Re: svn commit: r277841 - head/contrib/amd/hlfsd

2015-01-28 Thread Dimitry Andric
On 28 Jan 2015, at 20:04, Roman Divacky rdiva...@freebsd.org wrote: On Wed, Jan 28, 2015 at 06:19:26PM +, Dimitry Andric wrote: Author: dim Date: Wed Jan 28 18:19:25 2015 New Revision: 277841 URL: https://svnweb.freebsd.org/changeset/base/277841 Log: Fix the following clang 3.6.0

svn commit: r277801 - head/lib/libthread_db/arch/i386

2015-01-27 Thread Dimitry Andric
Author: dim Date: Tue Jan 27 18:56:46 2015 New Revision: 277801 URL: https://svnweb.freebsd.org/changeset/base/277801 Log: Constify a struct savexmm pointer in pt_ucontext_to_fpreg(), to silence a -Wcast-qual warning from clang 3.6.0. Modified:

svn commit: r277775 - in head/contrib/llvm/tools/clang: include/clang/Driver lib/Driver

2015-01-26 Thread Dimitry Andric
Author: dim Date: Mon Jan 26 21:19:24 2015 New Revision: 25 URL: https://svnweb.freebsd.org/changeset/base/25 Log: Pull in r227062 from upstream clang trunk (by Renato Golin): Allows Clang to use LLVM's fixes-x18 option This patch allows clang to have llvm reserve the x18

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

2015-01-26 Thread Dimitry Andric
Author: dim Date: Mon Jan 26 21:17:14 2015 New Revision: 24 URL: https://svnweb.freebsd.org/changeset/base/24 Log: Pull in r226664 from upstream llvm trunk (by Tim Northover): AArch64: add backend option to reserve x18 (platform register) AAPCS64 says that it's up to the

svn commit: r277776 - head/contrib/llvm/patches

2015-01-26 Thread Dimitry Andric
Author: dim Date: Mon Jan 26 21:24:04 2015 New Revision: 26 URL: https://svnweb.freebsd.org/changeset/base/26 Log: Add llvm and clang patches corresponding to r24 and r25. Added: head/contrib/llvm/patches/patch-29-llvm-r226664-aarch64-x18.diff

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-21 Thread Dimitry Andric
On 21 Jan 2015, at 09:10, Navdeep Parhar n...@freebsd.org wrote: On Wed, Jan 21, 2015 at 09:00:03AM +0100, Dimitry Andric wrote: On 21 Jan 2015, at 06:53, Navdeep Parhar n...@freebsd.org wrote: On Tue, Jan 20, 2015 at 10:36:16PM -0500, Pedro Giffuni wrote: ... Alternatively, just use

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-21 Thread Dimitry Andric
On 21 Jan 2015, at 06:53, Navdeep Parhar n...@freebsd.org wrote: On Tue, Jan 20, 2015 at 10:36:16PM -0500, Pedro Giffuni wrote: On 01/20/15 22:06, Adrian Chadd wrote: On 20 January 2015 at 18:19, Alexey Dokuchaev da...@freebsd.org wrote: On Tue, Jan 20, 2015 at 07:50:23PM -0500, Pedro

svn commit: r277320 - in head: . contrib/llvm/include/llvm/Analysis contrib/llvm/include/llvm/CodeGen contrib/llvm/include/llvm/Target contrib/llvm/lib/Analysis contrib/llvm/lib/MC contrib/llvm/lib...

2015-01-18 Thread Dimitry Andric
Author: dim Date: Sun Jan 18 14:14:47 2015 New Revision: 277320 URL: https://svnweb.freebsd.org/changeset/base/277320 Log: Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix only release, no new features have been added. Please note that this version requires C++11

svn commit: r277217 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src lib/libc++

2015-01-15 Thread Dimitry Andric
Author: dim Date: Thu Jan 15 21:17:36 2015 New Revision: 277217 URL: https://svnweb.freebsd.org/changeset/base/277217 Log: Import libc++ trunk r224926. This fixes a number of bugs, completes C++14 support[1], adds more C++1z features[2], and fixes the following LWG issues[3]: 1450:

svn commit: r277201 - head/contrib/compiler-rt/lib/sanitizer_common

2015-01-14 Thread Dimitry Andric
Author: dim Date: Wed Jan 14 22:37:11 2015 New Revision: 277201 URL: https://svnweb.freebsd.org/changeset/base/277201 Log: Remove the netinet/ip_compat.h include from one of the newly added sanitizer sources. It is apparently unnecessary, and causes trouble for people using

svn commit: r277146 - in head: etc/mtree lib lib/libclang_rt tools/build/mk

2015-01-13 Thread Dimitry Andric
Author: dim Date: Tue Jan 13 19:54:47 2015 New Revision: 277146 URL: https://svnweb.freebsd.org/changeset/base/277146 Log: Connect libclang_rt to the build, for specific architectures. This contains the libraries for Address Sanitizer (asan), Undefined Behavior Sanitizer (ubsan) and

svn commit: r277147 - head/lib/libmagic

2015-01-13 Thread Dimitry Andric
Author: dim Date: Tue Jan 13 20:37:57 2015 New Revision: 277147 URL: https://svnweb.freebsd.org/changeset/base/277147 Log: Since the merge of file 5.21 in r276415 and r276416, stable/9 and stable/10 cannot be built from FreeBSD 8.x. This is because the build-tools stage requires libmagic,

svn commit: r276915 - in head/usr.bin/clang: bugpoint llc lli llvm-ar llvm-as llvm-bcanalyzer llvm-diff llvm-dis llvm-extract llvm-link llvm-nm opt tblgen

2015-01-10 Thread Dimitry Andric
Author: dim Date: Sat Jan 10 21:44:31 2015 New Revision: 276915 URL: https://svnweb.freebsd.org/changeset/base/276915 Log: Regenerate the manpages for the additional llvm/clang tools. This contains only very minor updates. Modified: head/usr.bin/clang/bugpoint/bugpoint.1

svn commit: r276945 - in head: tools/build/mk usr.bin/clang usr.bin/clang/llvm-symbolizer

2015-01-10 Thread Dimitry Andric
Author: dim Date: Sat Jan 10 22:22:42 2015 New Revision: 276945 URL: https://svnweb.freebsd.org/changeset/base/276945 Log: Add the llvm-symbolizer tool, which enables the sanitizers to report more complete debugging information. This tools is only enabled when WITH_CLANG_EXTRAS is on.

svn commit: r276944 - in head/usr.bin/clang: llvm-objdump llvm-rtdyld

2015-01-10 Thread Dimitry Andric
Author: dim Date: Sat Jan 10 22:11:49 2015 New Revision: 276944 URL: https://svnweb.freebsd.org/changeset/base/276944 Log: Remove a few redundant DPADD/LDADD pairs in llvm utilities. Modified: head/usr.bin/clang/llvm-objdump/Makefile head/usr.bin/clang/llvm-rtdyld/Makefile Modified:

svn commit: r276857 - in head/lib/libclang_rt: . asan asan_cxx profile san ubsan ubsan_cxx

2015-01-08 Thread Dimitry Andric
Author: dim Date: Thu Jan 8 22:40:56 2015 New Revision: 276857 URL: https://svnweb.freebsd.org/changeset/base/276857 Log: Now compiler-rt has been updated in r276851, bring in the various sanitizer libraries that already work on FreeBSD: * asan:Address Sanitizer * ubsan:

Re: svn commit: r276819 - head/lib/clang/libllvmaarch64disassembler

2015-01-08 Thread Dimitry Andric
On 08 Jan 2015, at 15:26, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Thu Jan 8 14:26:49 2015 New Revision: 276819 URL: https://svnweb.freebsd.org/changeset/base/276819 Log: Fix WITH_LLDB build A build with WITH_LLDB and not WITH_CLANG_EXTRAS failed after r276783.

svn commit: r276851 - in head: contrib/compiler-rt contrib/compiler-rt/BlocksRuntime contrib/compiler-rt/include contrib/compiler-rt/lib contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/li...

2015-01-08 Thread Dimitry Andric
Author: dim Date: Thu Jan 8 19:47:10 2015 New Revision: 276851 URL: https://svnweb.freebsd.org/changeset/base/276851 Log: Update compiler-rt to trunk r224034. This brings a number of new builtins, and also the various sanitizers. Support for these will be added in a later commit. Added:

svn commit: r276853 - in head: lib/libc/arm/aeabi lib/libstand sys/boot/libstand32

2015-01-08 Thread Dimitry Andric
Author: dim Date: Thu Jan 8 20:11:38 2015 New Revision: 276853 URL: https://svnweb.freebsd.org/changeset/base/276853 Log: Apparently more Makefiles use stuff from compiler-rt, so fix them up too. (This did not show during a make universe, strangely.) Modified:

svn commit: r276852 - head/lib/libblocksruntime

2015-01-08 Thread Dimitry Andric
Author: dim Date: Thu Jan 8 20:08:00 2015 New Revision: 276852 URL: https://svnweb.freebsd.org/changeset/base/276852 Log: Follow up to r276851 by also committing a necessary update to lib/libblocksruntime. Pointy hat to:dim Modified: head/lib/libblocksruntime/Makefile

svn commit: r276783 - in head: lib/clang lib/clang/include lib/clang/include/llvm/Config lib/clang/libllvmaarch64asmparser lib/clang/libllvmaarch64codegen lib/clang/libllvmaarch64desc lib/clang/lib...

2015-01-07 Thread Dimitry Andric
Author: dim Date: Wed Jan 7 19:06:27 2015 New Revision: 276783 URL: https://svnweb.freebsd.org/changeset/base/276783 Log: Add the AArch64 llvm backend to the build to allow for early testing and to ease any rework of how clang is built to take arm64 in to account. Submitted by: andrew

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

2015-01-07 Thread Dimitry Andric
Author: dim Date: Wed Jan 7 19:37:26 2015 New Revision: 276786 URL: https://svnweb.freebsd.org/changeset/base/276786 Log: Pull in r92 from upstream llvm trunk (by Weiming Zhao): [Aarch64] Customer lowering of CTPOP to SIMD should check for NEON availability This ensures

svn commit: r276787 - head/contrib/llvm/patches

2015-01-07 Thread Dimitry Andric
Author: dim Date: Wed Jan 7 19:38:52 2015 New Revision: 276787 URL: https://svnweb.freebsd.org/changeset/base/276787 Log: Add llvm patch corresponding to r276786. Added: head/contrib/llvm/patches/patch-31-llvm-r92-aarch64-no-neon.diff Added:

Re: svn commit: r276499 - head/sys/conf

2015-01-02 Thread Dimitry Andric
Hm, conditionalizing this on the compiler version is rather ugly. Isn't this only relevant when we do an MFC? But maybe it is indeed better to have the same Makefile for different toolchain envronments. -Dimitry On 02 Jan 2015, at 18:33, Warner Losh wl...@netflix.com wrote: This breaks

svn commit: r276538 - head/contrib/llvm/patches

2015-01-02 Thread Dimitry Andric
Author: dim Date: Fri Jan 2 14:58:41 2015 New Revision: 276538 URL: https://svnweb.freebsd.org/changeset/base/276538 Log: Add clang and llvm patches corresponding to r276516 and r276537. Added: head/contrib/llvm/patches/patch-29-clang-r213790-type_traits-crash.diff

svn commit: r276537 - head/contrib/llvm/lib/Target/ARM/AsmParser

2015-01-02 Thread Dimitry Andric
Author: dim Date: Fri Jan 2 14:55:02 2015 New Revision: 276537 URL: https://svnweb.freebsd.org/changeset/base/276537 Log: Pull in r222587 from upstream llvm trunk (by Jörg Sonnenberger): Fix transformation of add with pc argument to adr for non-immediate arguments. This fixes

Re: svn commit: r276499 - head/sys/conf

2015-01-02 Thread Dimitry Andric
building on older systems and I’d like to avoid breaking things needlessly. I’m happy to do the work to make this happen, if you’re OK with my backing out these couple of changes. Warner On Jan 2, 2015, at 1:23 PM, Dimitry Andric d...@freebsd.org wrote: Hm, conditionalizing

Re: svn commit: r276052 - head

2015-01-01 Thread Dimitry Andric
On 22 Dec 2014, at 05:52, Garrett Cooper n...@freebsd.org wrote: Author: ngie Date: Mon Dec 22 04:52:24 2014 New Revision: 276052 URL: https://svnweb.freebsd.org/changeset/base/276052 Log: Build selective portions of gnu/usr.bin/texinfo as part of build-tools to ensure that building

svn commit: r276505 - head/sys/modules/bios/smapi

2015-01-01 Thread Dimitry Andric
Author: dim Date: Thu Jan 1 16:56:15 2015 New Revision: 276505 URL: https://svnweb.freebsd.org/changeset/base/276505 Log: Remove the clang -no-integrated-as workaround for smapi_bios.S, as clang 3.5.0 now supports the assembly just fine. Modified: head/sys/modules/bios/smapi/Makefile

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

2015-01-01 Thread Dimitry Andric
Author: dim Date: Thu Jan 1 22:49:17 2015 New Revision: 276517 URL: https://svnweb.freebsd.org/changeset/base/276517 Log: Pull in r200010 from upstream libc++ trunk (by Marshall Clow): Rename some internal templates to avoid conflict with complier intrinsics. __is_constructible --

Re: svn commit: r276052 - head

2015-01-01 Thread Dimitry Andric
On 01 Jan 2015, at 18:32, Ian Lepore i...@freebsd.org wrote: On Thu, 2015-01-01 at 18:14 +0100, Dimitry Andric wrote: On 01 Jan 2015, at 17:41, Ian Lepore i...@freebsd.org wrote: On Thu, 2015-01-01 at 16:50 +0100, Dimitry Andric wrote: On 22 Dec 2014, at 05:52, Garrett Cooper n

Re: svn commit: r276052 - head

2015-01-01 Thread Dimitry Andric
On 01 Jan 2015, at 17:41, Ian Lepore i...@freebsd.org wrote: On Thu, 2015-01-01 at 16:50 +0100, Dimitry Andric wrote: On 22 Dec 2014, at 05:52, Garrett Cooper n...@freebsd.org wrote: Author: ngie Date: Mon Dec 22 04:52:24 2014 New Revision: 276052 URL: https://svnweb.freebsd.org

Re: svn commit: r276052 - head

2015-01-01 Thread Dimitry Andric
On 01 Jan 2015, at 19:42, Garrett Cooper yaneurab...@gmail.com wrote: On Jan 1, 2015, at 10:38, Garrett Cooper yaneurab...@gmail.com wrote: On Jan 1, 2015, at 9:50, Dimitry Andric d...@freebsd.org wrote: ... No, just MK_INFO=yes, as I said. That is what Garrett tried to fix in this commit

svn commit: r276516 - head/contrib/llvm/tools/clang/lib/Sema

2015-01-01 Thread Dimitry Andric
Author: dim Date: Thu Jan 1 22:44:02 2015 New Revision: 276516 URL: https://svnweb.freebsd.org/changeset/base/276516 Log: Pull in r213790 from upstream clang trunk (by Richard Smith): PR20228: don't retain a pointer to a vector element after the container has been resized. This

Re: svn commit: r276488 - in head: share/mk sys/arm/broadcom/bcm2835 sys/conf

2014-12-31 Thread Dimitry Andric
On 01 Jan 2015, at 03:00, Warner Losh i...@freebsd.org wrote: Author: imp Date: Thu Jan 1 02:00:04 2015 New Revision: 276488 URL: https://svnweb.freebsd.org/changeset/base/276488 Log: Fix module builds on arm (and maybe others) by turning off a whole raft of new warnings that appear

svn commit: r276417 - head/contrib/libcxxrt

2014-12-30 Thread Dimitry Andric
Author: dim Date: Tue Dec 30 20:01:06 2014 New Revision: 276417 URL: https://svnweb.freebsd.org/changeset/base/276417 Log: Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604. Interesting fixes: 76584a0 Reorganize code to use only 32bit atomic ops for 32bit platforms

svn commit: r276356 - head/sys/boot/powerpc/boot1.chrp

2014-12-29 Thread Dimitry Andric
Author: dim Date: Mon Dec 29 09:24:21 2014 New Revision: 276356 URL: https://svnweb.freebsd.org/changeset/base/276356 Log: Use -Wl, to pass options to the linker for PowerPC's boot1.chrp. MFC after:3 days Modified: head/sys/boot/powerpc/boot1.chrp/Makefile Modified:

svn commit: r276342 - head/libexec/rtld-elf/powerpc

2014-12-28 Thread Dimitry Andric
Author: dim Date: Sun Dec 28 19:55:44 2014 New Revision: 276342 URL: https://svnweb.freebsd.org/changeset/base/276342 Log: Fix the following -Werror warning from clang 3.5.0, while building rtld-elf for powerpc 32 bit: libexec/rtld-elf/powerpc/reloc.c:486:6: error: taking the absolute

svn commit: r276346 - head/contrib/binutils/gas/config

2014-12-28 Thread Dimitry Andric
Author: dim Date: Sun Dec 28 21:06:03 2014 New Revision: 276346 URL: https://svnweb.freebsd.org/changeset/base/276346 Log: In contrib/binutils/gas/config/tc-ppc.c, fix a few -Wformat-security warnings. MFC after:3 days Modified: head/contrib/binutils/gas/config/tc-ppc.c Modified:

svn commit: r276352 - head/contrib/binutils/bfd

2014-12-28 Thread Dimitry Andric
Author: dim Date: Mon Dec 29 00:10:43 2014 New Revision: 276352 URL: https://svnweb.freebsd.org/changeset/base/276352 Log: In contrib/binutils/bfd/elf32-ppc.c, avoid warnings about case values not being in the enumerated type 'enum elf_ppc_reloc_type', by casting the switch argument to int.

svn commit: r275758 - head/contrib/llvm/patches

2014-12-14 Thread Dimitry Andric
Author: dim Date: Sun Dec 14 13:32:14 2014 New Revision: 275758 URL: https://svnweb.freebsd.org/changeset/base/275758 Log: Update patch-r274286-llvm-r201784-asm-dollar.diff, so test/MC/AsmParser/macros.s is properly deleted when patching. Modified:

svn commit: r275759 - head/contrib/llvm/tools/clang/lib/CodeGen

2014-12-14 Thread Dimitry Andric
Author: dim Date: Sun Dec 14 13:38:10 2014 New Revision: 275759 URL: https://svnweb.freebsd.org/changeset/base/275759 Log: Pull in r221170 from upstream clang trunk (by Roman Divacky): Implement vaarg lowering for ppc32. Lowering of scalars and aggregates is supported. Complex

svn commit: r275760 - head/contrib/llvm/patches

2014-12-14 Thread Dimitry Andric
Author: dim Date: Sun Dec 14 13:40:42 2014 New Revision: 275760 URL: https://svnweb.freebsd.org/changeset/base/275760 Log: Add clang patch corresponding to r275759. Added: head/contrib/llvm/patches/patch-r275759-clang-r221170-ppc-vaarg.diff Added:

svn commit: r275772 - head/contrib/llvm/patches

2014-12-14 Thread Dimitry Andric
Author: dim Date: Sun Dec 14 18:16:49 2014 New Revision: 275772 URL: https://svnweb.freebsd.org/changeset/base/275772 Log: Update clang patch for r275759 to use correct test cases. Modified: head/contrib/llvm/patches/patch-r275759-clang-r221170-ppc-vaarg.diff Modified:

Re: svn commit: r275633 - in head: contrib/llvm/lib/Transforms/Vectorize sys/sys

2014-12-13 Thread Dimitry Andric
On 13 Dec 2014, at 05:18, Andrey Chernov a...@freebsd.org wrote: On 09.12.2014 10:34, Dimitry Andric wrote: PR21302. Vectorize only bottom-tested loops. ... MFC after: 3 days Hi. More than 3 days already passed, do you plan to MFC it? I have irrational fear to compile anything under

svn commit: r275747 - head/contrib/llvm/patches

2014-12-13 Thread Dimitry Andric
Author: dim Date: Sat Dec 13 18:54:46 2014 New Revision: 275747 URL: https://svnweb.freebsd.org/changeset/base/275747 Log: Update llvm patches for r274286 and r275633 so all the tests will pass. Modified: head/contrib/llvm/patches/patch-r274286-llvm-r201784-asm-dollar.diff

svn commit: r275651 - head/contrib/llvm/patches

2014-12-09 Thread Dimitry Andric
Author: dim Date: Tue Dec 9 20:04:26 2014 New Revision: 275651 URL: https://svnweb.freebsd.org/changeset/base/275651 Log: Add llvm patch corresponding to r275633. Added: head/contrib/llvm/patches/patch-r275633-llvm-r223171-fix-vectorizer.diff Added:

svn commit: r275633 - in head: contrib/llvm/lib/Transforms/Vectorize sys/sys

2014-12-08 Thread Dimitry Andric
Author: dim Date: Tue Dec 9 07:34:28 2014 New Revision: 275633 URL: https://svnweb.freebsd.org/changeset/base/275633 Log: Pull in r223171 from upstream llvm trunk (by Michael Zolotukhin): PR21302. Vectorize only bottom-tested loops. rdar://problem/18886083 This fixes a bug

Re: svn commit: r275564 - head/sys/arm/arm

2014-12-06 Thread Dimitry Andric
On 06 Dec 2014, at 12:59, Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Sat Dec 6 11:59:35 2014 New Revision: 275564 URL: https://svnweb.freebsd.org/changeset/base/275564 Log: Use the unified syntax when generating assembly for clang. The clang 3.5 integrated assembler

Re: svn commit: r275468 - head/sys/dev/usb/controller

2014-12-04 Thread Dimitry Andric
On 04 Dec 2014, at 01:54, John-Mark Gurney j...@funkthat.com wrote: Hans Petter Selasky wrote this message on Wed, Dec 03, 2014 at 21:55 +: Author: hselasky Date: Wed Dec 3 21:55:44 2014 New Revision: 275468 URL: https://svnweb.freebsd.org/changeset/base/275468 Log: Optimise the

svn commit: r275477 - head/contrib/gcc/cp

2014-12-04 Thread Dimitry Andric
Author: dim Date: Thu Dec 4 17:26:04 2014 New Revision: 275477 URL: https://svnweb.freebsd.org/changeset/base/275477 Log: Pull in r174303 from upstream gcc trunk (by Jason Merrill): PR c++/48211 * name-lookup.h (cp_class_binding): Make base a pointer. * name-lookup.c

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

2014-12-01 Thread Dimitry Andric
Author: dim Date: Mon Dec 1 15:02:49 2014 New Revision: 275366 URL: https://svnweb.freebsd.org/changeset/base/275366 Log: Pull in r209785 from upstream libc++ trunk (by Marshall Clow): Fix a problem exposed by r208825, which caused bind (and other bits of libc++) to stop working.

svn commit: r275386 - in head/contrib/binutils/bfd: . po

2014-12-01 Thread Dimitry Andric
Author: dim Date: Tue Dec 2 01:30:53 2014 New Revision: 275386 URL: https://svnweb.freebsd.org/changeset/base/275386 Log: Let GNU ld be less obscure about missing symbols and DSOs. If the BFD object looks like a typical shared library, suggest adding '-lfoo', where foo has the 'lib'

svn commit: r274978 - head/lib/libc/tests/ssp

2014-11-24 Thread Dimitry Andric
Author: dim Date: Mon Nov 24 20:07:09 2014 New Revision: 274978 URL: https://svnweb.freebsd.org/changeset/base/274978 Log: For now, disable using -fsanitize=bounds for the libc ssp tests, when using clang 3.5.0, until the runtime support (via compiler-rt) is added. Otherwise, this would

svn commit: r274922 - head/sys/dev/ath/ath_hal/ar5212

2014-11-23 Thread Dimitry Andric
Author: dim Date: Sun Nov 23 18:31:55 2014 New Revision: 274922 URL: https://svnweb.freebsd.org/changeset/base/274922 Log: Fix the following -Werror warning from clang 3.5.0, while building the ath kernel module: sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: error: taking the

Re: svn commit: r274926 - head/sys/dev/mpt

2014-11-23 Thread Dimitry Andric
On 23 Nov 2014, at 22:37, Ian Lepore i...@freebsd.org wrote: Author: ian Date: Sun Nov 23 21:37:33 2014 New Revision: 274926 URL: https://svnweb.freebsd.org/changeset/base/274926 Log: Squelch a (bogus) used before init warning when building with gcc. There have been quite a number of

svn commit: r274846 - head/contrib/libarchive/cpio

2014-11-22 Thread Dimitry Andric
Author: dim Date: Sat Nov 22 12:10:09 2014 New Revision: 274846 URL: https://svnweb.freebsd.org/changeset/base/274846 Log: Fix the following -Werror warning from clang 3.5.0, while building usr.bin/cpio on amd64 (or any arch with 64-bit time_t): contrib/libarchive/cpio/cpio.c:1143:6:

svn commit: r274847 - head/usr.bin/locate/locate

2014-11-22 Thread Dimitry Andric
Author: dim Date: Sat Nov 22 12:13:05 2014 New Revision: 274847 URL: https://svnweb.freebsd.org/changeset/base/274847 Log: Fix the following -Werror warnings from clang 3.5.0, while building usr.bin/locate: usr.bin/locate/locate/util.c:249:29: error: taking the absolute value of

svn commit: r274856 - head/contrib/binutils/gas/config

2014-11-22 Thread Dimitry Andric
Author: dim Date: Sat Nov 22 16:30:31 2014 New Revision: 274856 URL: https://svnweb.freebsd.org/changeset/base/274856 Log: Avoid undefined behaviour in gas's rotate_left() macro for n == 0. Otherwise, clang can effectively remove the first iteration of the for loops where this macro is

svn commit: r274898 - head/usr.sbin/rtadvd

2014-11-22 Thread Dimitry Andric
Author: dim Date: Sat Nov 22 23:04:33 2014 New Revision: 274898 URL: https://svnweb.freebsd.org/changeset/base/274898 Log: Fix the following -Werror warnings from clang 3.5.0, while building usr.sbin/rtadvd: usr.sbin/rtadvd/rtadvd.c:1291:7: error: taking the absolute value of unsigned

svn commit: r274900 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2014-11-22 Thread Dimitry Andric
Author: dim Date: Sat Nov 22 23:50:18 2014 New Revision: 274900 URL: https://svnweb.freebsd.org/changeset/base/274900 Log: Fix the following -Werror warnings from clang 3.5.0, while building bsnmpd's snmp_hostres module: usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: error:

svn commit: r274697 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2014-11-18 Thread Dimitry Andric
Author: dim Date: Wed Nov 19 07:44:21 2014 New Revision: 274697 URL: https://svnweb.freebsd.org/changeset/base/274697 Log: Fix the following -Werror warning from clang 3.5.0, while building cddl/lib/libctf: In file included from cddl/contrib/opensolaris/common/ctf/ctf_create.c:31: In

svn commit: r274698 - head/sys/contrib/ngatm/netnatm/saal

2014-11-18 Thread Dimitry Andric
Author: dim Date: Wed Nov 19 07:47:37 2014 New Revision: 274698 URL: https://svnweb.freebsd.org/changeset/base/274698 Log: Fix the following -Werror warning from clang 3.5.0, while building lib/libngatm: sys/contrib/ngatm/netnatm/saal/saal_sscop.c:4030:32: error: 'break' is bound to

svn commit: r274483 - in head/contrib/llvm: lib/CodeGen/SelectionDAG patches

2014-11-13 Thread Dimitry Andric
Author: dim Date: Thu Nov 13 21:16:01 2014 New Revision: 274483 URL: https://svnweb.freebsd.org/changeset/base/274483 Log: The fix imported into llvm in r274442 contains some C++11 constructs, which gcc in base cannot handle. Replace these with C++98 equivalents. While here, add the

svn commit: r274442 - in head/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG

2014-11-12 Thread Dimitry Andric
Author: dim Date: Wed Nov 12 20:01:10 2014 New Revision: 274442 URL: https://svnweb.freebsd.org/changeset/base/274442 Log: Pull in r221709 from upstream llvm trunk (by Frédéric Riss): Totally forget deallocated SDNodes in SDDbgInfo. What would happen before that commit is that

svn commit: r274391 - head/gnu/usr.bin/gdb/kgdb

2014-11-11 Thread Dimitry Andric
Author: dim Date: Tue Nov 11 18:54:57 2014 New Revision: 274391 URL: https://svnweb.freebsd.org/changeset/base/274391 Log: Change kbdb's kthr::cpu field into an int, to avoid gcc warnings about comparing it with NOCPU, which became -1 recently. While here, avoid using it for address

Re: svn commit: r274250 - head/sys/dev/random

2014-11-10 Thread Dimitry Andric
On 07 Nov 2014, at 21:10, Konstantin Belousov k...@freebsd.org wrote: Author: kib Date: Fri Nov 7 20:10:09 2014 New Revision: 274250 URL: https://svnweb.freebsd.org/changeset/base/274250 Log: Simplify assembler in ivy.c. Move the copying of the random bits into buffer from asm to C,

Re: svn commit: r274340 - in head/sys: crypto/rijndael dev/random geom/bde

2014-11-10 Thread Dimitry Andric
On 10 Nov 2014, at 16:10, Bjoern A. Zeeb b...@freebsd.org wrote: On 10 Nov 2014, at 09:44 , Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Mon Nov 10 09:44:38 2014 New Revision: 274340 URL: https://svnweb.freebsd.org/changeset/base/274340 Log: Constify the AES code and

Re: svn commit: r273266 - in head: lib/libkvm sys/compat/freebsd32 sys/kern sys/sys

2014-11-10 Thread Dimitry Andric
I noted something similar for kgdb, when compiled with gcc: cc1: warnings being treated as errors /usr/src/gnu/usr.bin/gdb/kgdb/trgt_i386.c: In function 'kgdb_trgt_fetch_tss': /usr/src/gnu/usr.bin/gdb/kgdb/trgt_i386.c:142: warning: comparison is always false due to limited range of data type In

Re: svn commit: r273266 - in head: lib/libkvm sys/compat/freebsd32 sys/kern sys/sys

2014-11-10 Thread Dimitry Andric
Dimitry Andric wrote: I noted something similar for kgdb, when compiled with gcc: cc1: warnings being treated as errors /usr/src/gnu/usr.bin/gdb/kgdb/trgt_i386.c: In function 'kgdb_trgt_fetch_tss': /usr/src/gnu/usr.bin/gdb/kgdb/trgt_i386.c:142: warning: comparison is always false due to limited

svn commit: r274286 - head/contrib/llvm/lib/MC/MCParser

2014-11-08 Thread Dimitry Andric
Author: dim Date: Sat Nov 8 13:19:48 2014 New Revision: 274286 URL: https://svnweb.freebsd.org/changeset/base/274286 Log: Pull in r201784 from upstream llvm trunk (by Benjamin Kramer): AsmParser: Disable Darwin-style macro argument expansion on non-darwin targets. There is code

svn commit: r274294 - head/contrib/llvm/patches

2014-11-08 Thread Dimitry Andric
Author: dim Date: Sat Nov 8 16:37:59 2014 New Revision: 274294 URL: https://svnweb.freebsd.org/changeset/base/274294 Log: Add llvm patch corresponding to r274286. Added: head/contrib/llvm/patches/patch-r274286-llvm-r201784-asm-dollar.diff Added:

svn commit: r273837 - head/lib/libutil

2014-10-29 Thread Dimitry Andric
Author: dim Date: Wed Oct 29 20:18:37 2014 New Revision: 273837 URL: https://svnweb.freebsd.org/changeset/base/273837 Log: Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority value, and use the

Re: svn commit: r272281 - head/lib/libpam/modules/pam_login_access

2014-09-29 Thread Dimitry Andric
On 29 Sep 2014, at 12:36, Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Mon Sep 29 10:36:14 2014 New Revision: 272281 URL: http://svnweb.freebsd.org/changeset/base/272281 Log: Hopefully fix build breakage with gcc passing void * instead of char * to %s format string after

svn commit: r271931 - head/contrib/llvm/patches

2014-09-21 Thread Dimitry Andric
Author: dim Date: Sun Sep 21 15:37:39 2014 New Revision: 271931 URL: http://svnweb.freebsd.org/changeset/base/271931 Log: 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 checkout, and use

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

2014-09-14 Thread Dimitry Andric
Author: dim Date: Sun Sep 14 18:50:38 2014 New Revision: 271597 URL: http://svnweb.freebsd.org/changeset/base/271597 Log: Pull in r217410 from upstream llvm trunk (by Bob Wilson): Set trunc store action to Expand for all X86 targets. When compiling without SSE2,

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

2014-08-23 Thread Dimitry Andric
Author: dim Date: Sat Aug 23 15:54:22 2014 New Revision: 270416 URL: http://svnweb.freebsd.org/changeset/base/270416 Log: In r260015, I renamed several identifiers to avoid -Wsystem-header warnings. In r261283, I imported libc++ 3.4 release, but this contained one identifier that had not

svn commit: r269948 - head/contrib/gcc/config/i386

2014-08-13 Thread Dimitry Andric
Author: dim Date: Wed Aug 13 16:42:44 2014 New Revision: 269948 URL: http://svnweb.freebsd.org/changeset/base/269948 Log: Supplement r259111 by also using correct casts in gcc's emmintrin.h for the first argument of the following builtin function: * __builtin_ia32_psrlqi128() takes

svn commit: r269954 - in head/lib/clang/include: clang/Config llvm/Config

2014-08-13 Thread Dimitry Andric
Author: dim Date: Wed Aug 13 21:38:29 2014 New Revision: 269954 URL: http://svnweb.freebsd.org/changeset/base/269954 Log: Stop telling people to directly report llvm or clang bugs upstream, point them to the FreeBSD bug tracker instead, since we use our own patches. MFC after:3

svn commit: r269750 - head/lib/libproc

2014-08-09 Thread Dimitry Andric
Author: dim Date: Sat Aug 9 12:25:06 2014 New Revision: 269750 URL: http://svnweb.freebsd.org/changeset/base/269750 Log: In r268463, I misplaced a return in demangle(), causing the function to erroneously skip symbols that were not mangled at all. Fix this by moving the return into the

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

2014-08-08 Thread Dimitry Andric
Author: dim Date: Fri Aug 8 21:27:33 2014 New Revision: 269740 URL: http://svnweb.freebsd.org/changeset/base/269740 Log: Pull in r214736 from upstream libc++ trunk (by Marshall Clow): Fix PR#20520 - predicate called too many times in list::remove_if. Add tests for list,

svn commit: r269125 - in head: lib/libarchive rescue/rescue

2014-07-26 Thread Dimitry Andric
Author: dim Date: Sat Jul 26 15:33:20 2014 New Revision: 269125 URL: http://svnweb.freebsd.org/changeset/base/269125 Log: In r232153, libarchive 3.0.3 was imported, replacing the archive_hash.h header with archive_crypto_private.h, and its ARCHIVE_HASH_xxx macros were renamed to

svn commit: r268957 - head

2014-07-21 Thread Dimitry Andric
Author: dim Date: Mon Jul 21 21:26:10 2014 New Revision: 268957 URL: http://svnweb.freebsd.org/changeset/base/268957 Log: Run mtree for BSD.tests.dist during make xdev-install, if the tests are enabled (which they are in the default configuration). Otherwise, it will fail because

svn commit: r268774 - head/sys/conf

2014-07-16 Thread Dimitry Andric
Author: dim Date: Wed Jul 16 20:37:03 2014 New Revision: 268774 URL: http://svnweb.freebsd.org/changeset/base/268774 Log: After r261991, clang warnings about unused functions in the kernel were completely silenced. Make sure these warnings appear again, so there is some incentive to fix

Re: svn commit: r268477 - head/share/mk

2014-07-10 Thread Dimitry Andric
On 10 Jul 2014, at 02:15, Warner Losh i...@freebsd.org wrote: Author: imp Date: Thu Jul 10 00:15:55 2014 New Revision: 268477 URL: http://svnweb.freebsd.org/changeset/base/268477 Log: Now that pc98 no longer needs gcc to compile boot2, remove the special case and treat it just like

svn commit: r268463 - head/lib/libproc

2014-07-09 Thread Dimitry Andric
Author: dim Date: Wed Jul 9 17:31:57 2014 New Revision: 268463 URL: http://svnweb.freebsd.org/changeset/base/268463 Log: In libproc, avoid calling __cxa_demangle(), and thus depending on either libcxxrt or libsupc++, if WITHOUT_CXX is defined. Noticed by: sbruno MFC after:1 week

svn commit: r268368 - head/share/man/man5

2014-07-07 Thread Dimitry Andric
Author: dim Date: Mon Jul 7 16:43:42 2014 New Revision: 268368 URL: http://svnweb.freebsd.org/changeset/base/268368 Log: Regenerate src.conf.5, which was completely busted by r268351. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r268003 - in head/contrib/llvm: lib/Target/PowerPC patches

2014-06-28 Thread Dimitry Andric
Author: dim Date: Sat Jun 28 09:53:44 2014 New Revision: 268003 URL: http://svnweb.freebsd.org/changeset/base/268003 Log: Fix breakage after r267981. Pointy hat to:dim MFC after:3 days X-MFC-With: r267981 Modified: head/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp

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

2014-06-27 Thread Dimitry Andric
Author: dim Date: Fri Jun 27 20:41:12 2014 New Revision: 267981 URL: http://svnweb.freebsd.org/changeset/base/267981 Log: Pull in r211627 from upstream llvm trunk (by Bill Schmidt): [PPC64] Fix PR20071 (fctiduz generated for targets lacking that instruction) PR20071 identifies

svn commit: r267982 - head/contrib/llvm/patches

2014-06-27 Thread Dimitry Andric
Author: dim Date: Fri Jun 27 20:45:17 2014 New Revision: 267982 URL: http://svnweb.freebsd.org/changeset/base/267982 Log: Add the llvm patch for r267981. Added: head/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff Added:

svn commit: r267704 - head/contrib/llvm/lib/CodeGen/SelectionDAG

2014-06-21 Thread Dimitry Andric
Author: dim Date: Sat Jun 21 18:22:23 2014 New Revision: 267704 URL: http://svnweb.freebsd.org/changeset/base/267704 Log: Pull in r211435 from upstream llvm trunk (by Benjamin Kramer): Legalizer: Add support for splitting insert_subvectors. We handle this by spilling the whole

svn commit: r267705 - head/contrib/llvm/patches

2014-06-21 Thread Dimitry Andric
Author: dim Date: Sat Jun 21 18:47:30 2014 New Revision: 267705 URL: http://svnweb.freebsd.org/changeset/base/267705 Log: Add the llvm patch for r267704. Added: head/contrib/llvm/patches/patch-r267704-llvm-r211435-fix-avx-backend.diff Added:

<    3   4   5   6   7   8   9   10   11   12   >