Re: svn commit: r267678 - head/libexec/rtld-elf

2014-06-20 Thread Dimitry Andric
On 20 Jun 2014, at 19:08, Jonathan Anderson jonat...@freebsd.org wrote: Author: jonathan Date: Fri Jun 20 17:08:32 2014 New Revision: 267678 URL: http://svnweb.freebsd.org/changeset/base/267678 Log: Add the LD_LIBRARY_PATH_FDS environmental variable. This variable allows the loading

svn commit: r267335 - head/lib/clang

2014-06-10 Thread Dimitry Andric
Author: dim Date: Tue Jun 10 17:54:24 2014 New Revision: 267335 URL: http://svnweb.freebsd.org/changeset/base/267335 Log: In some scenarios, when generating llvm/clang .inc.h files, multiple source files could be passed to tblgen or clang-tblgen, leading to a Too many positional arguments

svn commit: r266674 - head/contrib/llvm/tools/clang/lib/Headers

2014-05-25 Thread Dimitry Andric
Author: dim Date: Sun May 25 19:22:28 2014 New Revision: 266674 URL: http://svnweb.freebsd.org/changeset/base/266674 Log: Pull in r209489 from upstream clang trunk (by Akira Hatanaka): Fix a bug in xmmintrin.h. The last step of _mm_cvtps_pi16 should use _mm_packs_pi32, which is a

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

2014-05-25 Thread Dimitry Andric
Author: dim Date: Sun May 25 19:28:34 2014 New Revision: 266675 URL: http://svnweb.freebsd.org/changeset/base/266675 Log: Add the clang patch for r266674. Added: head/contrib/llvm/patches/patch-r266674-clang-r209489-fix-xmmintrin.diff Added:

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

2014-05-17 Thread Dimitry Andric
On 17 May 2014, at 03:47, Warner Losh i...@freebsd.org wrote: Author: imp Date: Sat May 17 01:47:06 2014 New Revision: 266278 URL: http://svnweb.freebsd.org/changeset/base/266278 Log: Read in SRCCONF early and consistently, if src.sys.mk exists, which is should for all normal builds.

svn commit: r266053 - head/lib/clang

2014-05-14 Thread Dimitry Andric
Author: dim Date: Wed May 14 17:11:57 2014 New Revision: 266053 URL: http://svnweb.freebsd.org/changeset/base/266053 Log: Use the new -d option that was added to tblgen between llvm/clang 3.3 and 3.4 to generate dependency files for the '.inc.h' files generated from .td files, and .sinclude

svn commit: r265925 - in head: . contrib/llvm/include/llvm/IR contrib/llvm/include/llvm/MC contrib/llvm/lib/Analysis contrib/llvm/lib/CodeGen/AsmPrinter contrib/llvm/lib/CodeGen/SelectionDAG contri...

2014-05-12 Thread Dimitry Andric
Author: dim Date: Mon May 12 18:45:56 2014 New Revision: 265925 URL: http://svnweb.freebsd.org/changeset/base/265925 Log: Upgrade our copy of llvm/clang to 3.4.1 release. This release contains mostly fixes, for the following upstream bugs: http://llvm.org/PR16365 http://llvm.org/PR17473

svn commit: r265895 - in head/gnu/lib: libstdc++ libsupc++

2014-05-11 Thread Dimitry Andric
Author: dim Date: Sun May 11 21:07:00 2014 New Revision: 265895 URL: http://svnweb.freebsd.org/changeset/base/265895 Log: Allow libstdc++ and libsupc++ to compile with clang again, after the bsd.*.mk infrastructure changes. Apparently, you must now modify CXXFLAGS *before* including

svn commit: r264345 - in head: . contrib/llvm/tools/clang/lib/Driver

2014-04-11 Thread Dimitry Andric
Author: dim Date: Fri Apr 11 16:51:35 2014 New Revision: 264345 URL: http://svnweb.freebsd.org/changeset/base/264345 Log: Amend r263891, by making clang default to DWARF2 debug info format for all FreeBSD versions, not just 10.x and earlier. Apparently too many people seem to have trouble

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

2014-04-11 Thread Dimitry Andric
Author: dim Date: Fri Apr 11 18:40:29 2014 New Revision: 264350 URL: http://svnweb.freebsd.org/changeset/base/264350 Log: Update the llvm/clang patch for r264345. Added: head/contrib/llvm/patches/patch-r264345-dwarf2-freebsd10.diff - copied, changed from r264345,

svn commit: r264238 - head/contrib/binutils/opcodes

2014-04-07 Thread Dimitry Andric
Author: dim Date: Mon Apr 7 21:12:09 2014 New Revision: 264238 URL: http://svnweb.freebsd.org/changeset/base/264238 Log: For GNU as, add two missing modes for each of the fcomip and fucomip instructions. Partially obtained from OpenBSD by Pedro Giffuni, while I added the fcomip variants.

svn commit: r263891 - head/contrib/llvm/tools/clang/lib/Driver

2014-03-28 Thread Dimitry Andric
Author: dim Date: Sat Mar 29 00:25:27 2014 New Revision: 263891 URL: http://svnweb.freebsd.org/changeset/base/263891 Log: Make clang default to DWARF2 debug info format for FreeBSD 10.x and earlier. For head, this commit does not change anything, but it is purely meant to be MFC'd.

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

2014-03-28 Thread Dimitry Andric
Author: dim Date: Sat Mar 29 00:48:50 2014 New Revision: 263892 URL: http://svnweb.freebsd.org/changeset/base/263892 Log: Add the llvm/clang patch for r263891. Added: head/contrib/llvm/patches/patch-r263891-dwarf2-freebsd10.diff Added:

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Dimitry Andric
On 27 Mar 2014, at 19:12, Jilles Tjoelker jil...@stack.nl wrote: On Thu, Mar 27, 2014 at 11:05:00AM -0600, Warner Losh wrote: On Mar 26, 2014, at 4:30 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Wed Mar 26 22:30:38 2014 New Revision: 263778 URL: http://svnweb.freebsd.org

svn commit: r263833 - in head: gnu/usr.bin usr.bin/clang

2014-03-27 Thread Dimitry Andric
Author: dim Date: Thu Mar 27 20:15:33 2014 New Revision: 263833 URL: http://svnweb.freebsd.org/changeset/base/263833 Log: Enable parallel building for gnu/usr.bin and usr.bin/clang too. MFC after:2 weeks X-MFC-With: r263778 Modified: head/gnu/usr.bin/Makefile

svn commit: r263774 - in head: contrib/libstdc++/include/bits sbin/devd

2014-03-26 Thread Dimitry Andric
Author: dim Date: Wed Mar 26 19:31:33 2014 New Revision: 263774 URL: http://svnweb.freebsd.org/changeset/base/263774 Log: Revert r263694, and apply a better fix to squelch unnecessary warnings from clang about possible keywords being treated as identifiers for the remainder of the

svn commit: r263775 - head/contrib/gcclibs/libcpp

2014-03-26 Thread Dimitry Andric
Author: dim Date: Wed Mar 26 19:57:50 2014 New Revision: 263775 URL: http://svnweb.freebsd.org/changeset/base/263775 Log: Avoid cc1: warning: is shorter than expected when using GNU cpp in combination with dtrace scripts, which have #!/usr/sbin/dtrace -Cs shebang lines. This is because

svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-26 Thread Dimitry Andric
Author: dim Date: Wed Mar 26 22:30:38 2014 New Revision: 263778 URL: http://svnweb.freebsd.org/changeset/base/263778 Log: Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number

svn commit: r263692 - head

2014-03-24 Thread Dimitry Andric
Author: dim Date: Mon Mar 24 19:21:14 2014 New Revision: 263692 URL: http://svnweb.freebsd.org/changeset/base/263692 Log: Add a note to UPDATING about customized kernel configuration files now requiring -gdwarf-2 for debug info, when using clang 3.4. Suggested by: adrian MFC after:

Re: svn commit: r263692 - head

2014-03-24 Thread Dimitry Andric
On 24 Mar 2014, at 20:36, Warner Losh i...@bsdimp.com wrote: On Mar 24, 2014, at 1:21 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Mon Mar 24 19:21:14 2014 New Revision: 263692 URL: http://svnweb.freebsd.org/changeset/base/263692 Log: Add a note to UPDATING about

svn commit: r263694 - head/sbin/devd

2014-03-24 Thread Dimitry Andric
Author: dim Date: Mon Mar 24 20:30:39 2014 New Revision: 263694 URL: http://svnweb.freebsd.org/changeset/base/263694 Log: Apply a temporary band-aid for building devd with clang 3.4, libstdc++ and -Wsystem-headers enabled (which is the default for any non-zero WARNS level, crazily enough!).

svn commit: r263312 - in head/contrib/llvm: include/llvm/CodeGen lib/CodeGen lib/CodeGen/SelectionDAG lib/MC/MCParser lib/Target/X86

2014-03-18 Thread Dimitry Andric
Author: dim Date: Tue Mar 18 19:23:41 2014 New Revision: 263312 URL: http://svnweb.freebsd.org/changeset/base/263312 Log: Pull in r196939 from upstream llvm trunk (by Reid Kleckner): Reland Fix miscompile of MS inline assembly with stack realignment This re-lands commit r196876,

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

2014-03-18 Thread Dimitry Andric
Author: dim Date: Tue Mar 18 19:35:26 2014 New Revision: 263313 URL: http://svnweb.freebsd.org/changeset/base/263313 Log: Pull in r203311 from upstream llvm trunk (by Arnold Schwaighofer): ISel: Make VSELECT selection terminate in cases where the condition type has to be split and

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

2014-03-18 Thread Dimitry Andric
Author: dim Date: Tue Mar 18 22:07:45 2014 New Revision: 263320 URL: http://svnweb.freebsd.org/changeset/base/263320 Log: Add separate patch files for all the customizations we have currently applied to our copy of llvm/clang. These can be applied in alphabetical order to a pristine

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

2014-03-13 Thread Dimitry Andric
Author: dim Date: Thu Mar 13 23:09:48 2014 New Revision: 263120 URL: http://svnweb.freebsd.org/changeset/base/263120 Log: Pull in r201021 from upstream libc++ trunk: Fix for PR18735 - self-assignment for map/multimap gives incorrect results in C++03 (Please note: that is an LLVM

svn commit: r263048 - head/contrib/llvm/tools/clang/tools/driver

2014-03-11 Thread Dimitry Andric
Author: dim Date: Tue Mar 11 21:11:43 2014 New Revision: 263048 URL: http://svnweb.freebsd.org/changeset/base/263048 Log: Repair recognition of CC as an alias for the C++ compiler, since it was silently broken by upstream for a Windows-specific use-case. Apparently some versions of CMake

svn commit: r263049 - head/contrib/llvm/tools/clang/lib/Frontend

2014-03-11 Thread Dimitry Andric
Author: dim Date: Tue Mar 11 21:43:10 2014 New Revision: 263049 URL: http://svnweb.freebsd.org/changeset/base/263049 Log: Garbage collect the old way of adding the libstdc++ include directories in clang's InitHeaderSearch.cpp. This has been superseded by David Chisnall's commit in r255321.

svn commit: r262985 - in head/contrib/llvm/lib/Target/Sparc: . InstPrinter MCTargetDesc

2014-03-10 Thread Dimitry Andric
Author: dim Date: Mon Mar 10 21:58:38 2014 New Revision: 262985 URL: http://svnweb.freebsd.org/changeset/base/262985 Log: Repair a few minor mismerges from r262261 in the clang-sparc64 project branch. This is also to minimize differences with upstream. MFC after:3 weeks

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

2014-03-05 Thread Dimitry Andric
Author: dim Date: Wed Mar 5 20:01:04 2014 New Revision: 262805 URL: http://svnweb.freebsd.org/changeset/base/262805 Log: Pull in r199848 from upstream libc++ trunk: Const qualify __mem_fn call operator QOI improvement. Differential Revision:

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

2014-03-05 Thread Dimitry Andric
Author: dim Date: Wed Mar 5 22:43:30 2014 New Revision: 262809 URL: http://svnweb.freebsd.org/changeset/base/262809 Log: Pull in r203007 from upstream clang trunk: Don't produce an alias between destructors with different calling conventions. Fixes pr19007. (Please note

svn commit: r262657 - head/usr.bin/clang/lldb

2014-03-01 Thread Dimitry Andric
Author: dim Date: Sat Mar 1 16:07:17 2014 New Revision: 262657 URL: http://svnweb.freebsd.org/changeset/base/262657 Log: Apply fix for lldb not linking after the sparc backend import. Reported by: se Pointy hat to:dim Modified: head/usr.bin/clang/lldb/Makefile Modified:

svn commit: r262611 - in head/contrib/llvm: include/llvm/MC lib/MC

2014-02-28 Thread Dimitry Andric
Author: dim Date: Fri Feb 28 17:12:31 2014 New Revision: 262611 URL: http://svnweb.freebsd.org/changeset/base/262611 Log: Pull in r196874 from upstream llvm trunk: Fix a crash that occurs when PWD is invalid. MCJIT needs to be able to run in hostile environments, even when PWD

svn commit: r262613 - in head: contrib/compiler-rt/lib contrib/gcc contrib/llvm/include/llvm/MC contrib/llvm/include/llvm/Object contrib/llvm/include/llvm/Support contrib/llvm/lib/CodeGen/AsmPrinte...

2014-02-28 Thread Dimitry Andric
Author: dim Date: Fri Feb 28 18:06:00 2014 New Revision: 262613 URL: http://svnweb.freebsd.org/changeset/base/262613 Log: Merge the projects/clang-sparc64 branch back to head. This brings in several updates from the llvm and clang trunks to make the sparc64 backend fully functional.

Re: svn commit: r262480 - head/sys/dev/syscons

2014-02-26 Thread Dimitry Andric
On 26 Feb 2014, at 13:19, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Tue, Feb 25, 2014 at 01:48:05PM +, Julio Merino wrote: Author: jmmv Date: Tue Feb 25 13:48:05 2014 New Revision: 262480 URL: http://svnweb.freebsd.org/changeset/base/262480 Log: Increase maximum number of

svn commit: r262471 - head/sys/sparc64/sparc64

2014-02-24 Thread Dimitry Andric
Author: dim Date: Tue Feb 25 07:28:51 2014 New Revision: 262471 URL: http://svnweb.freebsd.org/changeset/base/262471 Log: In sys/sparc64/sparc64/spitfire.c, prevent signed shift overflow by casting to the appropriate type. (Note this fix cannot be done in sys/sparc64/sparc64/spitfire.c,

svn commit: r262472 - head/sys/sparc64/pci

2014-02-24 Thread Dimitry Andric
Author: dim Date: Tue Feb 25 07:33:28 2014 New Revision: 262472 URL: http://svnweb.freebsd.org/changeset/base/262472 Log: Make sure a for loop in fire_alloc_msix() terminates, by making the loop counter signed. Reviewed by: marius MFC after:3 days Modified:

svn commit: r262303 - head/contrib/llvm/tools/clang/lib/Driver

2014-02-21 Thread Dimitry Andric
Author: dim Date: Fri Feb 21 20:55:34 2014 New Revision: 262303 URL: http://svnweb.freebsd.org/changeset/base/262303 Log: Pull in r197521 from upstream clang trunk (by rdivacky): Use the integrated assembler by default on FreeBSD/ppc and ppc64. Requested by: jhibbits MFC after:

svn commit: r262310 - head/share/mk

2014-02-21 Thread Dimitry Andric
Author: dim Date: Fri Feb 21 22:38:25 2014 New Revision: 262310 URL: http://svnweb.freebsd.org/changeset/base/262310 Log: Move the part in bsd.own.mk that sets -Wno-c++11-extensions for clang to bsd.sys.mk, where it really belongs. This also causes the flag to get added when clang is *not*

svn commit: r262125 - head/sys/dev/usb/controller

2014-02-17 Thread Dimitry Andric
Author: dim Date: Mon Feb 17 20:08:11 2014 New Revision: 262125 URL: http://svnweb.freebsd.org/changeset/base/262125 Log: In sys/dev/usb/controller/uss820dci.c, similar to r261977, fix a warning about uss820dci_odevd being unused, by adding it to the part that handles getting descriptors.

svn commit: r261977 - head/sys/dev/usb/controller

2014-02-16 Thread Dimitry Andric
Author: dim Date: Sun Feb 16 12:41:57 2014 New Revision: 261977 URL: http://svnweb.freebsd.org/changeset/base/261977 Log: In sys/dev/usb/controller/musb_otg.c, fix a warning about musbotg_odevd being unused, by adding it to the part that handles getting descriptors. Reviewed by:

svn commit: r262003 - head/sys/i386/xbox

2014-02-16 Thread Dimitry Andric
Author: dim Date: Sun Feb 16 22:48:36 2014 New Revision: 262003 URL: http://svnweb.freebsd.org/changeset/base/262003 Log: After r261980, the local ptr variable in xbox_init() is no longer used, breaking the LINT build. Pointy hat to:brueffer Modified: head/sys/i386/xbox/xbox.c

svn commit: r261914 - head/sys/fs/nandfs

2014-02-15 Thread Dimitry Andric
Author: dim Date: Sat Feb 15 11:42:56 2014 New Revision: 261914 URL: http://svnweb.freebsd.org/changeset/base/261914 Log: In sys/fs/nandfs/nandfs_vfsops.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/fs/nandfs/nandfs_vfsops.c Modified:

svn commit: r261916 - head/sys/dev/xen/console

2014-02-15 Thread Dimitry Andric
Author: dim Date: Sat Feb 15 12:37:26 2014 New Revision: 261916 URL: http://svnweb.freebsd.org/changeset/base/261916 Log: In sys/dev/xen/console/console.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/xen/console/console.c Modified:

svn commit: r261881 - head/sys/sys

2014-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 08:42:39 2014 New Revision: 261881 URL: http://svnweb.freebsd.org/changeset/base/261881 Log: Bump __FreeBSD_version after the libc++ 3.4 ABI compatibility fix in r261801. Requested by: portmgr Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r261896 - head/sys/vm

2014-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 17:47:18 2014 New Revision: 261896 URL: http://svnweb.freebsd.org/changeset/base/261896 Log: After r251709, avoid a clang 3.4 warning about an unused static const variable (uma_max_ipers), when asserts are disabled. Reviewed by: glebius MFC after:3

svn commit: r261899 - in head/sys: conf modules/wlan

2014-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 20:11:06 2014 New Revision: 261899 URL: http://svnweb.freebsd.org/changeset/base/261899 Log: Similar to r260026, disable warning about unused functions for ieee80211_adhoc.c, ieee80211_hostap.c and ieee80211_sta.c. MFC after:3 days Modified:

svn commit: r261902 - head/sys/conf

2014-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 21:06:12 2014 New Revision: 261902 URL: http://svnweb.freebsd.org/changeset/base/261902 Log: In r260111, in sys/conf/files, I disabled warning about unused functions for the wrong mcg.c, the one in ofed/drivers/infiniband/hw/mlx4. Disable the warning for

svn commit: r261903 - head/sys/conf

2014-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 21:20:16 2014 New Revision: 261903 URL: http://svnweb.freebsd.org/changeset/base/261903 Log: Disable warning about unused static const variables for sys/pci/ncr.c. MFC after:3 days Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r261907 - head/sys/dev/cxgbe/iw_cxgbe

2014-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 23:38:42 2014 New Revision: 261907 URL: http://svnweb.freebsd.org/changeset/base/261907 Log: In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only used when DOT5 is defined. Reviewed by: np MFC after:3 days Modified:

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

2014-02-12 Thread Dimitry Andric
Author: dim Date: Wed Feb 12 18:14:49 2014 New Revision: 261801 URL: http://svnweb.freebsd.org/changeset/base/261801 Log: An ABI incompatibility crept into the libc++ 3.4 import in r261283. It was caused by upstream libc++ commit r194536, which aimed to make the headers more

svn commit: r261802 - head

2014-02-12 Thread Dimitry Andric
Author: dim Date: Wed Feb 12 18:16:56 2014 New Revision: 261802 URL: http://svnweb.freebsd.org/changeset/base/261802 Log: Add a note to UPDATING about the ABI compatibility fix done in r261801. Modified: head/UPDATING Modified: head/UPDATING

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

2014-02-09 Thread Dimitry Andric
Author: dim Date: Sun Feb 9 20:52:47 2014 New Revision: 261680 URL: http://svnweb.freebsd.org/changeset/base/261680 Log: Pull in r200899 from upstream clang trunk: Allow transformation of VariableArray to ConstantArray. In the following code: struct A { static const int

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

2014-02-07 Thread Dimitry Andric
Author: dim Date: Fri Feb 7 21:17:20 2014 New Revision: 261608 URL: http://svnweb.freebsd.org/changeset/base/261608 Log: Apply a cleaner solution for the sign warnings that can occur when compiling libc++'s locale header with -Wsystem-headers on. This has also been submitted upstream.

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-03 Thread Dimitry Andric
On 03 Feb 2014, at 13:32, Stefan Farfeleder stef...@freebsd.org wrote: On Thu, Jan 30, 2014 at 07:44:23AM +, Dimitry Andric wrote: Author: dim Date: Thu Jan 30 07:44:22 2014 New Revision: 261283 URL: http://svnweb.freebsd.org/changeset/base/261283 Log: Import libc++ 3.4 release

svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-01-29 Thread Dimitry Andric
Author: dim Date: Thu Jan 30 07:44:22 2014 New Revision: 261283 URL: http://svnweb.freebsd.org/changeset/base/261283 Log: Import libc++ 3.4 release. This contains a lot of bugfixes, and some preliminary support for C++1y. MFC after:3 weeks Added:

svn commit: r261162 - head/contrib/llvm/lib/Target/X86/MCTargetDesc

2014-01-25 Thread Dimitry Andric
Author: dim Date: Sat Jan 25 16:35:56 2014 New Revision: 261162 URL: http://svnweb.freebsd.org/changeset/base/261162 Log: Pull in r195679 from upstream llvm trunk: Don't use nopl in cpus that don't support it. Patch by Mikulas Patocka. I added the test. I checked that for cpu

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Dimitry Andric
On 09 Jan 2014, at 02:19, Zbigniew Bodek z...@freebsd.org wrote: 2013/12/22 Dimitry Andric d...@freebsd.org: ... Modified: head/gnu/lib/csu/Makefile head/gnu/lib/libgcc/Makefile head/gnu/lib/libstdc++/Makefile head/gnu/lib/libsupc++/Makefile head/lib/atf/libatf-c/tests/Makefile head

svn commit: r260494 - head/sys/conf

2014-01-09 Thread Dimitry Andric
Author: dim Date: Thu Jan 9 22:16:30 2014 New Revision: 260494 URL: http://svnweb.freebsd.org/changeset/base/260494 Log: Fix a braino with r259730: we cannot currently use CFLAGS.gcc or CFLAGS.clang in sys/conf/Makefile.arm, since the main kernel build does not use bsd.sys.mk. So revert

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Dimitry Andric
On 09 Jan 2014, at 16:02, Ian Lepore i...@freebsd.org wrote: ... At r259730: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions

svn commit: r260369 - head/share/mk

2014-01-06 Thread Dimitry Andric
Author: dim Date: Mon Jan 6 14:39:10 2014 New Revision: 260369 URL: http://svnweb.freebsd.org/changeset/base/260369 Log: Apply band-aid for 32-bit compat libs failures after r260334: put back -Qunused-arguments for clang for now, until I can figure out a way to make it unneeded in all

svn commit: r260322 - head/share/mk

2014-01-05 Thread Dimitry Andric
Author: dim Date: Sun Jan 5 16:40:41 2014 New Revision: 260322 URL: http://svnweb.freebsd.org/changeset/base/260322 Log: In addition to r260102, also define GCC_MS_EXTENSIONS in bsd.sys.mk, since kernel module builds do not use kern.pre.mk. MFC after:3 days X-MFC-With: r260102

svn commit: r260334 - in head: lib/libiconv lib/libiconv_modules/BIG5 lib/libiconv_modules/EUC lib/libiconv_modules/EUCTW lib/libiconv_modules/GBK2K lib/libiconv_modules/ISO2022 lib/libiconv_module...

2014-01-05 Thread Dimitry Andric
Author: dim Date: Sun Jan 5 21:03:49 2014 New Revision: 260334 URL: http://svnweb.freebsd.org/changeset/base/260334 Log: Split the last gcc-specific flags off into CFLAGS.gcc. This also removes the need to use -Qunused-arguments for clang throughout the tree. MFC after:3 days

svn commit: r260095 - in head/sys/boot: i386 i386/boot2 i386/gptboot i386/gptzfsboot i386/zfsboot pc98/boot2

2013-12-30 Thread Dimitry Andric
Author: dim Date: Mon Dec 30 19:05:50 2013 New Revision: 260095 URL: http://svnweb.freebsd.org/changeset/base/260095 Log: For sys/boot/i386 and sys/boot/pc98, separate flags to be passed directly to the linker (LD_FLAGS) from flags passed indirectly, via the compiler driver (LDFLAGS).

svn commit: r260102 - in head/sys: conf modules/drm2/radeonkms modules/ibcore modules/ipoib modules/mlx4 modules/mlx4ib modules/mlxen modules/mthca ofed/drivers/infiniband/hw/mlx4 ofed/drivers/net/...

2013-12-30 Thread Dimitry Andric
Author: dim Date: Mon Dec 30 20:34:53 2013 New Revision: 260102 URL: http://svnweb.freebsd.org/changeset/base/260102 Log: Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in

svn commit: r260103 - head/sys/amd64/amd64

2013-12-30 Thread Dimitry Andric
Author: dim Date: Mon Dec 30 20:37:47 2013 New Revision: 260103 URL: http://svnweb.freebsd.org/changeset/base/260103 Log: In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc MFC after:3 days Modified:

svn commit: r260104 - in head/sys: conf modules/ibcore

2013-12-30 Thread Dimitry Andric
Author: dim Date: Mon Dec 30 20:58:06 2013 New Revision: 260104 URL: http://svnweb.freebsd.org/changeset/base/260104 Log: For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. MFC after:3 days Modified: head/sys/conf/files

svn commit: r260111 - in head/sys: conf modules/mlx4

2013-12-30 Thread Dimitry Andric
Author: dim Date: Mon Dec 30 22:14:31 2013 New Revision: 260111 URL: http://svnweb.freebsd.org/changeset/base/260111 Log: For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about unused variables for now. MFC after:3 days Modified: head/sys/conf/files

svn commit: r260112 - head/sys/dev/sound/pci

2013-12-30 Thread Dimitry Andric
Author: dim Date: Mon Dec 30 22:17:33 2013 New Revision: 260112 URL: http://svnweb.freebsd.org/changeset/base/260112 Log: In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. MFC after:3 days Modified: head/sys/dev/sound/pci/maestro.c Modified:

svn commit: r260038 - head/sys/dev/en

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 14:19:15 2013 New Revision: 260038 URL: http://svnweb.freebsd.org/changeset/base/260038 Log: In sys/dev/en/midway.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/en/midway.c Modified: head/sys/dev/en/midway.c

svn commit: r260039 - in head/sys: conf modules/ipfilter

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 14:21:55 2013 New Revision: 260039 URL: http://svnweb.freebsd.org/changeset/base/260039 Log: Turn off warnings about unused variables for a bunch of files under contrib/ipfilter. MFC after:3 days Modified: head/sys/conf/files

svn commit: r260040 - head/sys/dev/mcd

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 16:28:37 2013 New Revision: 260040 URL: http://svnweb.freebsd.org/changeset/base/260040 Log: In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being actually unused.

svn commit: r260042 - head/sys/dev/my

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 17:03:45 2013 New Revision: 260042 URL: http://svnweb.freebsd.org/changeset/base/260042 Log: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. MFC after:3 days Modified: head/sys/dev/my/if_my.c

svn commit: r260048 - head/sys/netgraph/netflow

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 18:53:45 2013 New Revision: 260048 URL: http://svnweb.freebsd.org/changeset/base/260048 Log: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. MFC after:3 days Modified: head/sys/netgraph/netflow/netflow.c

svn commit: r260054 - head/sys/dev/tpm

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 19:55:06 2013 New Revision: 260054 URL: http://svnweb.freebsd.org/changeset/base/260054 Log: In sys/dev/tpm/tpm.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/tpm/tpm.c Modified: head/sys/dev/tpm/tpm.c

svn commit: r260055 - head/sys/dev/usb/wlan

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 20:05:48 2013 New Revision: 260055 URL: http://svnweb.freebsd.org/changeset/base/260055 Log: In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. MFC after:3 days Modified: head/sys/dev/usb/wlan/if_urtw.c

svn commit: r260056 - head/sys/dev/vxge/vxgehal

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 20:16:12 2013 New Revision: 260056 URL: http://svnweb.freebsd.org/changeset/base/260056 Log: In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function. MFC after:3 days Modified: head/sys/dev/vxge/vxgehal/vxgehal-ring.c Modified:

svn commit: r260057 - head/sys/dev/scc

2013-12-29 Thread Dimitry Andric
Author: dim Date: Sun Dec 29 20:23:08 2013 New Revision: 260057 URL: http://svnweb.freebsd.org/changeset/base/260057 Log: In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by: marcel MFC

svn commit: r260003 - in head/lib/libiconv_modules: BIG5 DECHanyu EUC EUCTW GBK2K HZ ISO2022 JOHAB MSKanji UES UTF7 UTF8 VIQR ZW

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 13:49:48 2013 New Revision: 260003 URL: http://svnweb.freebsd.org/changeset/base/260003 Log: In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now. MFC after:3 days Modified:

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

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 20:54:08 2013 New Revision: 260015 URL: http://svnweb.freebsd.org/changeset/base/260015 Log: In libc++'s type_traits header, avoid warnings (activated by our use of -Wsystem-headers) about potential keyword compatibility problems, by adding a __libcpp prefix to

svn commit: r260016 - head/sys/dev/sk

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 21:04:17 2013 New Revision: 260016 URL: http://svnweb.freebsd.org/changeset/base/260016 Log: Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. MFC after:3 days Modified: head/sys/dev/sk/if_sk.c

svn commit: r260017 - head/sys/sys

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 21:31:58 2013 New Revision: 260017 URL: http://svnweb.freebsd.org/changeset/base/260017 Log: Mark unused static inline functions defined by the PCTRIE_DEFINE() macro as __unused, so warnings about them are avoided. MFC after:3 days Modified:

svn commit: r260019 - head/sys/modules/drm2/i915kms

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 22:35:16 2013 New Revision: 260019 URL: http://svnweb.freebsd.org/changeset/base/260019 Log: For some files under sys/dev/drm2/i915, turn off warnings about unused functions and variables, since they are contributed code. MFC after:3 days Modified:

svn commit: r260020 - head/sys/modules/drm2/radeonkms

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 22:44:02 2013 New Revision: 260020 URL: http://svnweb.freebsd.org/changeset/base/260020 Log: For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flag is only to stop gcc complaining about anonymous unions, which clang does not do. For clang 3.4

svn commit: r260025 - in head/sys: conf modules/ath

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 23:12:32 2013 New Revision: 260025 URL: http://svnweb.freebsd.org/changeset/base/260025 Log: Disable warning about unused functions for ar9300_reset.c for now. MFC after:3 days Modified: head/sys/conf/files head/sys/modules/ath/Makefile Modified:

svn commit: r260026 - in head/sys: conf modules/wlan

2013-12-28 Thread Dimitry Andric
Author: dim Date: Sat Dec 28 23:17:24 2013 New Revision: 260026 URL: http://svnweb.freebsd.org/changeset/base/260026 Log: Disable warning about unused functions for ieee80211_crypto.c and ieee80211_mesh.c for now. MFC after:3 days Modified: head/sys/conf/files

svn commit: r259942 - head/sys/amd64/vmm/intel

2013-12-27 Thread Dimitry Andric
Author: dim Date: Fri Dec 27 12:15:53 2013 New Revision: 259942 URL: http://svnweb.freebsd.org/changeset/base/259942 Log: In sys/amd64/vmm/intel/vmx.c, silence a (incorrect) gcc warning about regval possibly being used uninitialized. Reviewed by: neel Modified:

Re: svn commit: r259896 - head/sys/dev/cxgb/common

2013-12-26 Thread Dimitry Andric
On 26 Dec 2013, at 02:51, Adrian Chadd adr...@freebsd.org wrote: I'd prefer you didn't remove unused code in drivers like this. If you must, #if 0 them out. I don't mind either way, but some other people are very much opposed to littering code with #if 0'd sections. So, how do to determine

svn commit: r259913 - in head: lib/libstand sys/boot/ficl sys/boot/i386 sys/boot/i386/boot2 sys/boot/pc98 sys/boot/usb sys/boot/userboot/ficl sys/boot/userboot/libstand sys/boot/zfs

2013-12-26 Thread Dimitry Andric
Author: dim Date: Thu Dec 26 11:32:39 2013 New Revision: 259913 URL: http://svnweb.freebsd.org/changeset/base/259913 Log: For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc. MFC after:3 days X-MFC-With: r259730 Modified: head/lib/libstand/Makefile

svn commit: r259926 - head/sys/sys

2013-12-26 Thread Dimitry Andric
Author: dim Date: Thu Dec 26 22:28:15 2013 New Revision: 259926 URL: http://svnweb.freebsd.org/changeset/base/259926 Log: In sys/sys/gpt.h, add a missing backslash at the end of the GPT_ENT_TYPE_VSANHDR define. Pointy hat to:marck MFC after:2 weeks X-MFC-With: r259925

svn commit: r259927 - head/sys/boot/pc98/boot2

2013-12-26 Thread Dimitry Andric
Author: dim Date: Thu Dec 26 22:31:47 2013 New Revision: 259927 URL: http://svnweb.freebsd.org/changeset/base/259927 Log: Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's Makefile. Pointy hat to:dim MFC after:3 days X-MFC-With: r259730 Modified:

svn commit: r259928 - head/sys/dev/bxe

2013-12-26 Thread Dimitry Andric
Author: dim Date: Thu Dec 26 22:42:11 2013 New Revision: 259928 URL: http://svnweb.freebsd.org/changeset/base/259928 Log: In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(), which has never been used. Reviewed by: edavis MFC after:3 days Modified:

svn commit: r259869 - head/sys/dev/mwl

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 14:48:27 2013 New Revision: 259869 URL: http://svnweb.freebsd.org/changeset/base/259869 Log: In sys/dev/mwl/if_mwl.c, put the static RD4() function under #ifdef MWL_DEBUG guards, since it only used in DPRINTF statements. MFC after:3 days Modified:

svn commit: r259875 - head/sys/kern

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 16:25:54 2013 New Revision: 259875 URL: http://svnweb.freebsd.org/changeset/base/259875 Log: In sys/kern/sched_ule.c, remove static function sched_both(), which is unused since r232207. MFC after:3 days Modified: head/sys/kern/sched_ule.c Modified:

svn commit: r259876 - head/sys/kern

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 16:58:14 2013 New Revision: 259876 URL: http://svnweb.freebsd.org/changeset/base/259876 Log: In sys/kern/subr_witness.c, remove static function witness_lock_order_key_empty(), which is unused since r181695. MFC after:3 days Modified:

svn commit: r259880 - head/sys/dev/sym

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 17:28:18 2013 New Revision: 259880 URL: http://svnweb.freebsd.org/changeset/base/259880 Log: In sys/dev/sym/sym_hipd.c, remove static functions sym_que_first(), sym_que_last() and sym_remque_tail(), which are all unused since r53790. MFC after:3 days

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

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 20:58:02 2013 New Revision: 259888 URL: http://svnweb.freebsd.org/changeset/base/259888 Log: Pull in r183971 from upstream llvm trunk: X86: cvtpi2ps is just an SSE instruction with MMX operands. It has no AVX equivalent. Give it the right register

svn commit: r259892 - head/sys/kern

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 22:14:42 2013 New Revision: 259892 URL: http://svnweb.freebsd.org/changeset/base/259892 Log: In sys/kern/vfs_mountroot.c, remove static function parse_isspace(), which is unused since r214006. MFC after:3 days Modified: head/sys/kern/vfs_mountroot.c

svn commit: r259893 - head/sys/vm

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 22:32:34 2013 New Revision: 259893 URL: http://svnweb.freebsd.org/changeset/base/259893 Log: In sys/vm/vm_pageout.c, since vm_pageout_worker() takes a void * as argument, cast the incoming 0 argument to void *, to silence a warning from clang 3.4 (expression

svn commit: r259896 - head/sys/dev/cxgb/common

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 22:45:33 2013 New Revision: 259896 URL: http://svnweb.freebsd.org/changeset/base/259896 Log: In sys/dev/cxgb/common/cxgb_mc5.c, remove static function dbgi_wr_addr3(), which is unused since r167514. MFC after:3 days Modified:

svn commit: r259897 - head/sys/dev/cxgb/ulp/tom

2013-12-25 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 22:49:54 2013 New Revision: 259897 URL: http://svnweb.freebsd.org/changeset/base/259897 Log: In sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c, remove static functions mk_cpl_barrier_ulp(), mk_get_tcb_ulp() and mk_set_tcb_field_ulp(), which are all unused since r237263.

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