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: head/sys/amd64/vmm/inte

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: head/sys/dev

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

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 head/sys/boot

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

2013-12-26 Thread Dimitry Andric
On 26 Dec 2013, at 02:51, Adrian Chadd 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 what is right in eac

svn commit: r259902 - head/sys/dev/drm

2013-12-25 Thread Dimitry Andric
Author: dim Date: Thu Dec 26 00:11:19 2013 New Revision: 259902 URL: http://svnweb.freebsd.org/changeset/base/259902 Log: In sys/dev/drm/mach64_dma.c, remove static function mach64_set_dma_eol(), which has never been used, even by upstream, since its initial upstream commit (see http://cgit.

Re: svn commit: r259893 - head/sys/vm

2013-12-25 Thread Dimitry Andric
On 25 Dec 2013, at 23:59, Ian Lepore wrote: > On Wed, 2013-12-25 at 22:32 +0000, Dimitry Andric wrote: >> Author: dim >> Date: Wed Dec 25 22:32:34 2013 >> New Revision: 259893 >> URL: http://svnweb.freebsd.org/changeset/base/259893 >> >> Log: >> In

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.

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: head/sys/dev/cxgb/common/cx

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 whi

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 Mo

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 f

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 Modi

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: head/sys/kern/subr_

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

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

svn commit: r259843 - head/sys/rpc

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:57:26 2013 New Revision: 259843 URL: http://svnweb.freebsd.org/changeset/base/259843 Log: Move a static const variable to the #if 0 part where it is only used. (Note the #if 0 part has been inactive since the initial commit, r177633, so maybe it should be remo

svn commit: r259842 - head/sys/rpc

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:55:22 2013 New Revision: 259842 URL: http://svnweb.freebsd.org/changeset/base/259842 Log: Remove some unused static const strings under sys/rpc, which have never been used since the initial commit (r177633). MFC after:3 days Modified: head/sys/rpc/cl

svn commit: r259840 - head/sys/netinet6

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:30:13 2013 New Revision: 259840 URL: http://svnweb.freebsd.org/changeset/base/259840 Log: In sys/netinet6/in6_mcast.c, in6m_is_ifp_detached() is only used whenever KTR is defined, so put it between #ifdef KTR guards. This avoids a warning about a unused funct

svn commit: r259839 - head/sys/netinet

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:25:18 2013 New Revision: 259839 URL: http://svnweb.freebsd.org/changeset/base/259839 Log: In sys/netinet/in_mcast.c, inm_is_ifp_detached() is only used whenever KTR is defined, so put it between #ifdef KTR guards. This avoids a warning about a unused function

svn commit: r259833 - head/sys/dev/aic7xxx

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 18:52:36 2013 New Revision: 259833 URL: http://svnweb.freebsd.org/changeset/base/259833 Log: Remove another unused static const variable num_chip_names, from aic7xxx.c this time. Noticed by: pluknet MFC after:3 days Modified: head/sys/dev/aic7xxx/ai

svn commit: r259827 - head/sys/dev/aic7xxx

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 16:46:06 2013 New Revision: 259827 URL: http://svnweb.freebsd.org/changeset/base/259827 Log: Remove unused static const variable num_chip_names from aic79xx.c. Reviewed by: gibbs MFC after:3 days Modified: head/sys/dev/aic7xxx/aic79xx.c Modified: head

svn commit: r259825 - head/sys/dev/advansys

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 15:56:16 2013 New Revision: 259825 URL: http://svnweb.freebsd.org/changeset/base/259825 Log: Remove unused static function adwccbstatus() from adw(4). Reviewed by: gibbs MFC after:3 days Modified: head/sys/dev/advansys/adwcam.c Modified: head/sys/dev/

svn commit: r259756 - head/contrib/gperf/lib

2013-12-22 Thread Dimitry Andric
Author: dim Date: Mon Dec 23 00:02:18 2013 New Revision: 259756 URL: http://svnweb.freebsd.org/changeset/base/259756 Log: Get rid of register keyword usage in gperf, it is totally obsolete for C++, and this allows gperf to be compiled for C++11 without a warning about it. MFC after:

svn commit: r259740 - head/usr.bin/sort

2013-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 20:46:31 2013 New Revision: 259740 URL: http://svnweb.freebsd.org/changeset/base/259740 Log: In usr.bin/sort/radixsort.c, pop_ls_mt() is only referenced if SORT_THREADS is defined, so make the whole function conditional, instead of just the pthread calls in it.

svn commit: r259736 - head/sys/netpfil/pf

2013-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 19:47:22 2013 New Revision: 259736 URL: http://svnweb.freebsd.org/changeset/base/259736 Log: Fix incorrect header guard define in sys/netpfil/pf/pf.h, which snuck in in r257186. Found by clang 3.4. Modified: head/sys/netpfil/pf/pf.h Modified: head/sys/netpfil/

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.bi...

2013-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 17:51:33 2013 New Revision: 259730 URL: http://svnweb.freebsd.org/changeset/base/259730 Log: To avoid having to explicitly test COMPILER_TYPE for setting clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS

svn commit: r259724 - head/contrib/file

2013-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 14:14:53 2013 New Revision: 259724 URL: http://svnweb.freebsd.org/changeset/base/259724 Log: Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by zoulasc) to contrib/file: don't write a char to a pointer. MFC after:3 days Modified:

svn commit: r259720 - head/gnu/lib/csu

2013-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 12:53:56 2013 New Revision: 259720 URL: http://svnweb.freebsd.org/changeset/base/259720 Log: For gnu/lib/csu, only use gcc-specific flags when compiling with gcc. MFC after:3 days Modified: head/gnu/lib/csu/Makefile Modified: head/gnu/lib/csu/Makefile ==

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

2013-12-17 Thread Dimitry Andric
Author: dim Date: Tue Dec 17 07:59:00 2013 New Revision: 259498 URL: http://svnweb.freebsd.org/changeset/base/259498 Log: Pull in r197399 from upstream clang trunk: Add bit_FXSAVE as an alias for bit_FXSR, for gcc compat. MFC after:3 days Modified: head/contrib/llvm/tools/clan

svn commit: r259473 - in head: lib/clang lib/clang/include lib/clang/include/llvm/Config lib/clang/libllvmpowerpcasmparser usr.bin/clang/clang usr.bin/clang/llc usr.bin/clang/lldb usr.bin/clang/llv...

2013-12-16 Thread Dimitry Andric
Author: dim Date: Mon Dec 16 18:45:21 2013 New Revision: 259473 URL: http://svnweb.freebsd.org/changeset/base/259473 Log: Enable llvm's integrated assembler for PowerPC, since it should now be good enough for typical usage. Requested by: rdivacky MFC after:1 week Added: head/lib/

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

2013-12-08 Thread Dimitry Andric
Author: dim Date: Sun Dec 8 23:24:32 2013 New Revision: 259111 URL: http://svnweb.freebsd.org/changeset/base/259111 Log: Use correct casts in gcc's emmintrin.h for the first arguments of the following builtin functions: * __builtin_ia32_pslldi128() takes __v4si instead of __v8hi * __bu

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

2013-12-08 Thread Dimitry Andric
Author: dim Date: Sun Dec 8 13:56:26 2013 New Revision: 259100 URL: http://svnweb.freebsd.org/changeset/base/259100 Log: Pull in r196658 from upstream clang trunk: CodeGen: Don't emit linkage on thunks that aren't emitted because they're vararg. This can happen when we're tryi

svn commit: r259083 - head/share/mk

2013-12-07 Thread Dimitry Andric
Author: dim Date: Sat Dec 7 22:30:07 2013 New Revision: 259083 URL: http://svnweb.freebsd.org/changeset/base/259083 Log: For WARNS <= 3, change the clang warning flag -Wno-conversion to -Wno-enum-conversion. In earlier clang versions (before 3.2), the latter did not exist, and suppressing

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

2013-12-06 Thread Dimitry Andric
Author: dim Date: Sat Dec 7 00:05:45 2013 New Revision: 259053 URL: http://svnweb.freebsd.org/changeset/base/259053 Log: Pull in r196590 from upstream clang trunk (by rdivacky): Move the body of GCCInstallationDetector ctor into an init() function and call it from its only user. The

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

2013-11-26 Thread Dimitry Andric
-20131104/092514.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-November/068124.html Patch by Dimitry Andric and Alexey Dokuchaev! Reported by: danfe MFC after:3 days Modified: head/contrib/llvm/tools/clang/lib/Headers/emmintrin.h Modified: head/contrib/llvm/tools

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

2013-11-22 Thread Dimitry Andric
Author: dim Date: Fri Nov 22 17:54:53 2013 New Revision: 258472 URL: http://svnweb.freebsd.org/changeset/base/258472 Log: Revert r258455 for now, as it apparently causes miscompilation in some situations. Until this is fully resolved, the X.org workaround in ports still needs to take place.

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

2013-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 23:09:07 2013 New Revision: 258455 URL: http://svnweb.freebsd.org/changeset/base/258455 Log: Pull in r195318 from upstream llvm trunk: The basic problem is that some mainstream programs cannot deal with the way clang optimizes tail calls, as in this exampl

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

2013-11-19 Thread Dimitry Andric
Author: dim Date: Tue Nov 19 17:53:19 2013 New Revision: 258350 URL: http://svnweb.freebsd.org/changeset/base/258350 Log: Pull in r191896 from upstream llvm trunk: CaptureTracking: Plug a loophole in the "too many uses" heuristic. The heuristic was added to avoid spending too much

svn commit: r258016 - head/sys/i386/conf

2013-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 11 21:16:55 2013 New Revision: 258016 URL: http://svnweb.freebsd.org/changeset/base/258016 Log: Disable building the ctl module for the i386 XEN kernel configuration for now, since it causes gcc warnings about casting 64 bit bus_addr_t's to 32 bit pointers, and vice

svn commit: r257903 - head/sys/x86/iommu

2013-11-09 Thread Dimitry Andric
Author: dim Date: Sat Nov 9 22:05:29 2013 New Revision: 257903 URL: http://svnweb.freebsd.org/changeset/base/257903 Log: Fix gcc warning about an uninitialized bool in sys/x86/iommu/intel_drv.c. Reviewed by: kib Modified: head/sys/x86/iommu/intel_drv.c Modified: head/sys/x86/iommu/int

svn commit: r257902 - head/sys/x86/iommu

2013-11-09 Thread Dimitry Andric
Author: dim Date: Sat Nov 9 22:00:44 2013 New Revision: 257902 URL: http://svnweb.freebsd.org/changeset/base/257902 Log: Fix gcc warning about an empty device_printf() format string in sys/x86/iommu/intel_fault.c. Reviewed by: kib Modified: head/sys/x86/iommu/intel_fault.c Modified:

svn commit: r257900 - head/sys/x86/iommu

2013-11-09 Thread Dimitry Andric
Author: dim Date: Sat Nov 9 20:36:52 2013 New Revision: 257900 URL: http://svnweb.freebsd.org/changeset/base/257900 Log: Fix (erroneous) gcc warnings about usage of uninitialized variables in sys/x86/iommu/intel_idpgtbl.c. Reviewed by: kib Modified: head/sys/x86/iommu/intel_idpgtbl.c

svn commit: r257896 - head/sys/x86/iommu

2013-11-09 Thread Dimitry Andric
Author: dim Date: Sat Nov 9 20:09:02 2013 New Revision: 257896 URL: http://svnweb.freebsd.org/changeset/base/257896 Log: Fix gcc warnings about casting away const in sys/x86/iommu/intel_drv.c. Reviewed by: kib Modified: head/sys/x86/iommu/intel_drv.c Modified: head/sys/x86/iommu/intel

svn commit: r257860 - head/sys/x86/iommu

2013-11-08 Thread Dimitry Andric
Author: dim Date: Fri Nov 8 17:27:22 2013 New Revision: 257860 URL: http://svnweb.freebsd.org/changeset/base/257860 Log: Initialize variable in sys/x86/iommu/busdma_dmar.c, to avoid possible uninitialized use. Reviewed by: kib Modified: head/sys/x86/iommu/busdma_dmar.c Modified: hea

svn commit: r257859 - head/lib/libc/iconv

2013-11-08 Thread Dimitry Andric
Author: dim Date: Fri Nov 8 17:23:37 2013 New Revision: 257859 URL: http://svnweb.freebsd.org/changeset/base/257859 Log: Fix typo in include guard, found by clang 3.4. MFC after:3 days Modified: head/lib/libc/iconv/citrus_csmapper.h Modified: head/lib/libc/iconv/citrus_csmapper.h =

Re: svn commit: r257691 - head/gnu/lib/libgcc

2013-11-05 Thread Dimitry Andric
On 06 Nov 2013, at 05:30, Bruce Evans wrote: > On Tue, 5 Nov 2013, Luigi Rizzo wrote: >> On Tue, Nov 05, 2013 at 07:37:35AM +, Dimitry Andric wrote: >>> Log: >>> Fix libgcc build with gcc after r257645, by using -Wno-static-in-inline >>> for clang only.

Re: svn commit: r257691 - head/gnu/lib/libgcc

2013-11-05 Thread Dimitry Andric
On 05 Nov 2013, at 16:45, Luigi Rizzo wrote: ... > I wonder if it is worthwhile adding to the default rules some > compiler-specific CFLAGS, say CFLAGS_CLANG and CFLAGS_GCC > > (there is only a handful of cases now so maybe it is overkill, > and it harms readability; on the other hand, the Makefi

Re: this breaks builds with gcc (Re: svn commit: r257645 - head/gnu/lib/libgcc

2013-11-04 Thread Dimitry Andric
On 05 Nov 2013, at 01:31, Luigi Rizzo wrote: > svn257645 (below) breaks the build when gcc is used. > > -Wno-static-in-inline is only for CLANG. Fixed in r257691. -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail

svn commit: r257691 - head/gnu/lib/libgcc

2013-11-04 Thread Dimitry Andric
Author: dim Date: Tue Nov 5 07:37:35 2013 New Revision: 257691 URL: http://svnweb.freebsd.org/changeset/base/257691 Log: Fix libgcc build with gcc after r257645, by using -Wno-static-in-inline for clang only. Modified: head/gnu/lib/libgcc/Makefile Modified: head/gnu/lib/libgcc/Makefile ==

svn commit: r257658 - head/share/mk

2013-11-04 Thread Dimitry Andric
Author: dim Date: Mon Nov 4 21:54:56 2013 New Revision: 257658 URL: http://svnweb.freebsd.org/changeset/base/257658 Log: For C++ programs, don't emit any explicit dependency to libstdc++.a or libc++.a during the early build stages (bootstrap-tools, build-tools, cross-tools), since it is not

Re: svn commit: r257645 - head/gnu/lib/libgcc

2013-11-04 Thread Dimitry Andric
On 04 Nov 2013, at 19:15, Sean Bruno wrote: > Author: sbruno > Date: Mon Nov 4 18:15:45 2013 > New Revision: 257645 > URL: http://svnweb.freebsd.org/changeset/base/257645 > > Log: > Quiesce warning around gcc_assert() for an inline macro that uses > a static variable. This code has been moved

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

2013-10-29 Thread Dimitry Andric
On 29 Oct 2013, at 05:25, Eygene Ryabinkin wrote: > Author: rea (ports committer) > Date: Tue Oct 29 04:25:49 2013 > New Revision: 257302 > URL: http://svnweb.freebsd.org/changeset/base/257302 > > Log: > binutils/bfd: fix printf-like format strings for "bfd *" arguments > > There is a special

Re: svn commit: r257109 - head/contrib/llvm/tools/clang/tools/driver

2013-10-25 Thread Dimitry Andric
On 25 Oct 2013, at 11:09, Steven Hartland wrote: > Author: smh > Date: Fri Oct 25 09:09:00 2013 > New Revision: 257109 > URL: http://svnweb.freebsd.org/changeset/base/257109 > > Log: > Add clang-CC and CC to list of hints allowing clang to identify its operating > mode as c++ instead of default

svn commit: r256746 - head/sys/xen

2013-10-18 Thread Dimitry Andric
Author: dim Date: Fri Oct 18 17:06:13 2013 New Revision: 256746 URL: http://svnweb.freebsd.org/changeset/base/256746 Log: Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence a gcc warning. Approved by: re (glebius) Modified: head/sys/xen/xen-os.h Modified: head/s

svn commit: r256642 - head/contrib/libcxxrt

2013-10-16 Thread Dimitry Andric
Author: dim Date: Wed Oct 16 17:00:21 2013 New Revision: 256642 URL: http://svnweb.freebsd.org/changeset/base/256642 Log: Since C++ typeinfo objects are currently not guaranteed to be merged at runtime by the dynamic linker, check for their equality in libcxxrt by not only comparing the type

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

2013-10-11 Thread Dimitry Andric
Author: dim Date: Fri Oct 11 20:35:12 2013 New Revision: 256341 URL: http://svnweb.freebsd.org/changeset/base/256341 Log: In sys/dev/bxe/bxe.c, print bus_addr_t values using %#jx, to fix several gcc warnings for PAE kernels. Approved by: re (glebius) Reviewed by: davidch, edavis Modi

svn commit: r256298 - in head: . gnu/usr.bin/cc/cc_tools lib/clang

2013-10-10 Thread Dimitry Andric
Author: dim Date: Thu Oct 10 20:47:11 2013 New Revision: 256298 URL: http://svnweb.freebsd.org/changeset/base/256298 Log: Bump OS versions in the toolchain triples to 11.0, and bump the __FreeBSD_cc_version predefined macros in clang and gcc. Approved by: re (gjb) Modified: head/Makef

svn commit: r256291 - head/sys/arm/versatile

2013-10-10 Thread Dimitry Andric
Author: dim Date: Thu Oct 10 19:40:01 2013 New Revision: 256291 URL: http://svnweb.freebsd.org/changeset/base/256291 Log: In sys/arm/versatile/versatile_pci.c, add a default handler, to fix a gcc warning about uninitialized use of a variable. Approved by: re (gjb) Modified: head/sys/a

svn commit: r256276 - in head/sys/dev/hyperv: storvsc vmbus

2013-10-10 Thread Dimitry Andric
Author: dim Date: Thu Oct 10 16:25:53 2013 New Revision: 256276 URL: http://svnweb.freebsd.org/changeset/base/256276 Log: In sys/dev/hyperv, fix a number of gcc warnings about usage of anonymous union members in strict C99, by giving them names. While here, add some FreeBSD keywords where t

svn commit: r256253 - head/sys/contrib/ipfilter/netinet

2013-10-10 Thread Dimitry Andric
Author: dim Date: Thu Oct 10 07:23:11 2013 New Revision: 256253 URL: http://svnweb.freebsd.org/changeset/base/256253 Log: Initialize a variable in sys/contrib/ipfilter/netinet/ip_tftp_pxy.c, to silence a gcc warning. Approved by: re (rodrigc) X-MFC-With: r255332 Modified: head/sys

svn commit: r256199 - head/sys/contrib/ipfilter/netinet

2013-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 17:07:50 2013 New Revision: 256199 URL: http://svnweb.freebsd.org/changeset/base/256199 Log: Initialize a variable in sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c, to silence a gcc warning. Approved by: re (gjb) X-MFC-With: r255332 Modified: head/sys/con

svn commit: r256196 - head/sys/arm/s3c2xx0

2013-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 17:05:02 2013 New Revision: 256196 URL: http://svnweb.freebsd.org/changeset/base/256196 Log: Remove redundant redeclarations of uart_s3c2410_class in sys/arm/s3c2xx0/uart_bus_s3c2410.c and uart_cpu_s3c2410.c, to silence two gcc warnings. Approved by: re (gj

svn commit: r256179 - head/sys/ofed/drivers/infiniband/core

2013-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 07:02:03 2013 New Revision: 256179 URL: http://svnweb.freebsd.org/changeset/base/256179 Log: Remove redundant declaration of cmclass in sys/ofed/drivers/infiniband/core/ucm.c, to silence a gcc warning. Approved by: re (kib) X-MFC-With: r255932 Modified:

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

2013-10-08 Thread Dimitry Andric
Author: dim Date: Tue Oct 8 20:04:35 2013 New Revision: 256166 URL: http://svnweb.freebsd.org/changeset/base/256166 Log: In sys/amd64/amd64/pmap.c, fix several gcc warnings about uninitialized variables in reclaim_pv_chunk(). Approved by: re (marius) Reviewed by: neel, kib X-MFC-Wi

svn commit: r256164 - head/usr.sbin/bhyve

2013-10-08 Thread Dimitry Andric
Author: dim Date: Tue Oct 8 19:39:21 2013 New Revision: 256164 URL: http://svnweb.freebsd.org/changeset/base/256164 Log: In usr.sbin/bhyve/pci_ahci.c, fix several gcc warnings of the form "assignment makes pointer from integer without a cast", by changing the cmd_lst and rbis members of str

svn commit: r256158 - head/usr.sbin/bhyve

2013-10-08 Thread Dimitry Andric
Author: dim Date: Tue Oct 8 18:09:00 2013 New Revision: 256158 URL: http://svnweb.freebsd.org/changeset/base/256158 Log: After r256062, the static function fbsdrun_get_next_cpu() in usr.sbin/bhyve/bhyverun.c is no longer used, so remove it to silence a gcc warning. Approved by: re (gl

svn commit: r256157 - head/sys/dev/random

2013-10-08 Thread Dimitry Andric
Author: dim Date: Tue Oct 8 17:26:28 2013 New Revision: 256157 URL: http://svnweb.freebsd.org/changeset/base/256157 Log: Now our binutils's assembler supports the Intel Random Number Generator extensions, we can change the .byte directives in sys/dev/random/ivy.c to plain 'rdrand' mnemonics

svn commit: r256131 - head/sys/dev/cxgbe

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 22:30:03 2013 New Revision: 256131 URL: http://svnweb.freebsd.org/changeset/base/256131 Log: Fix kernel build on amd64 after r256118, since the machine/md_var.h header is not implicitly included there. So include it explicitly. Approved by: re (delphij) Po

svn commit: r256118 - head/sys/dev/cxgbe

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 16:56:56 2013 New Revision: 256118 URL: http://svnweb.freebsd.org/changeset/base/256118 Log: Remove redundant declaration of cpu_clflush_line_size in sys/dev/cxgbe/t4_sge.c, to silence a gcc warning. Approved by: re (gjb) MFC after:3 days Modified: h

svn commit: r256117 - head/sys/dev/xen/control

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 16:55:34 2013 New Revision: 256117 URL: http://svnweb.freebsd.org/changeset/base/256117 Log: Initialize a variable in sys/dev/xen/control/control.c, to silence a gcc warning. Approved by: re (gjb) MFC after: 3 days Modified: head/sys/dev/xen/control

svn commit: r256119 - head/sys/i386/ibcs2

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 16:57:48 2013 New Revision: 256119 URL: http://svnweb.freebsd.org/changeset/base/256119 Log: Remove redundant declarations of szsigcode and sigcode in sys/i386/ibcs2/ibcs2_sysvec.c, to silence two gcc warnings. Approved by: re (gjb) MFC after:3 days Mo

svn commit: r256116 - head/sys/ofed/include/rdma

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 16:54:29 2013 New Revision: 256116 URL: http://svnweb.freebsd.org/changeset/base/256116 Log: Give an unnamed union in sys/ofed/include/rdma/ib_verbs.h a name, to silence a gcc warning. Approved by: re (gjb) MFC after: 3 days Modified: head/sys/ofed/

svn commit: r256115 - head/sys/i386/include/xen

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 16:53:26 2013 New Revision: 256115 URL: http://svnweb.freebsd.org/changeset/base/256115 Log: Remove redundant declaration of force_evtchn_callback() in the i386-specific xen-os.h, to silence a gcc warning. Approved by: re (gjb) MFC after:3 days Modifie

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

2013-10-07 Thread Dimitry Andric
Author: dim Date: Mon Oct 7 16:33:16 2013 New Revision: 256112 URL: http://svnweb.freebsd.org/changeset/base/256112 Log: Add support for assembling and disassembling Intel Random Number Generator extensions (e.g. the 'rdrand' mnemonic) to our copy of binutils. Approved by: re (kib)

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

2013-10-06 Thread Dimitry Andric
Author: dim Date: Sun Oct 6 16:12:45 2013 New Revision: 256090 URL: http://svnweb.freebsd.org/changeset/base/256090 Log: Pull in r192064 from upstream llvm trunk: X86: Don't fold spills into SSE operations if the stack is unaligned. Regalloc can emit unaligned spills nowadays, but

svn commit: r256030 - in head/contrib/llvm: include/llvm/IR lib/AsmParser lib/IR lib/Target/X86 tools/clang/include/clang-c tools/clang/include/clang/AST tools/clang/include/clang/Basic tools/clang...

2013-10-03 Thread Dimitry Andric
Author: dim Date: Thu Oct 3 20:38:57 2013 New Revision: 256030 URL: http://svnweb.freebsd.org/changeset/base/256030 Log: Pull in r189644 from upstream llvm trunk: Add ms_abi and sysv_abi attribute handling. Based on a patch by Benno Rice! This will help to develop EFI support

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

2013-10-03 Thread Dimitry Andric
Author: dim Date: Thu Oct 3 17:50:14 2013 New Revision: 256024 URL: http://svnweb.freebsd.org/changeset/base/256024 Log: Pull in r186338 from upstream llvm trunk: Remove invalid assert in DAGTypeLegalizer::RemapValue There is a comment at the top of DAGTypeLegalizer::PerformExpens

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

2013-10-01 Thread Dimitry Andric
Author: dim Date: Tue Oct 1 19:14:24 2013 New Revision: 255978 URL: http://svnweb.freebsd.org/changeset/base/255978 Log: Pull in r191711 from upstream llvm trunk: The X86FixupLEAs pass for Intel Atom must not call convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that

Re: svn commit: r255931 - head/contrib/binutils/bfd

2013-09-30 Thread Dimitry Andric
On Sep 29, 2013, at 01:03, Dimitry Andric wrote: > Author: dim > Date: Sat Sep 28 23:03:40 2013 > New Revision: 255931 > URL: http://svnweb.freebsd.org/changeset/base/255931 > > Log: > Fix a bug in ld, where indirect symbols are not handled properly during > lin

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

2013-09-28 Thread Dimitry Andric
Author: dim Date: Sat Sep 28 23:03:40 2013 New Revision: 255931 URL: http://svnweb.freebsd.org/changeset/base/255931 Log: Fix a bug in ld, where indirect symbols are not handled properly during linking of a shared library, leading to corrupt indexes in the dynamic symbol table. This should

Re: svn commit: r255804 - in head/contrib/llvm/lib: CodeGen/SelectionDAG Target/AArch64 Target/ARM Target/Hexagon Target/MSP430 Target/Mips Target/NVPTX Target/PowerPC Target/R600 Target/Sparc Target/

2013-09-22 Thread Dimitry Andric
On Sep 23, 2013, at 02:19, Bryan Drewery wrote: > On 9/22/2013 5:03 PM, Dimitry Andric wrote: >> Author: dim >> Date: Sun Sep 22 22:03:30 2013 >> New Revision: 255804 >> URL: http://svnweb.freebsd.org/changeset/base/255804 >> >> Log: >&

Re: svn commit: r255804 - in head/contrib/llvm/lib: CodeGen/SelectionDAG Target/AArch64 Target/ARM Target/Hexagon Target/MSP430 Target/Mips Target/NVPTX Target/PowerPC Target/R600 Target/Sparc Target/

2013-09-22 Thread Dimitry Andric
On Sep 23, 2013, at 00:03, Dimitry Andric wrote: > Author: dim > Date: Sun Sep 22 22:03:30 2013 > New Revision: 255804 > URL: http://svnweb.freebsd.org/changeset/base/255804 > > Log: > Pull in r191165 from upstream llvm trunk: > >ISelDAG: spot chain cy

svn commit: r255804 - in head/contrib/llvm/lib: CodeGen/SelectionDAG Target/AArch64 Target/ARM Target/Hexagon Target/MSP430 Target/Mips Target/NVPTX Target/PowerPC Target/R600 Target/Sparc Target/S...

2013-09-22 Thread Dimitry Andric
Author: dim Date: Sun Sep 22 22:03:30 2013 New Revision: 255804 URL: http://svnweb.freebsd.org/changeset/base/255804 Log: Pull in r191165 from upstream llvm trunk: ISelDAG: spot chain cycles involving MachineNodes Previously, the DAGISel function WalkChainUsers was spotting that it

svn commit: r255696 - head/usr.bin/svn/lib/libapr

2013-09-18 Thread Dimitry Andric
Author: dim Date: Thu Sep 19 06:31:03 2013 New Revision: 255696 URL: http://svnweb.freebsd.org/changeset/base/255696 Log: Make svnlite (actually libapr) work correctly on big-endian arches. Otherwise, you would get errors similar to: $ svn co svn://svn.freebsd.org/base/head test Ate

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

2013-09-12 Thread Dimitry Andric
Author: dim Date: Thu Sep 12 21:24:59 2013 New Revision: 255500 URL: http://svnweb.freebsd.org/changeset/base/255500 Log: After r255321, clang uses libc++ by default. This leads to a lot of errors when you enable WITH_GNUCXX to build libstdc++, since it will include C++ headers from the lib

svn commit: r255499 - head/lib/msun

2013-09-12 Thread Dimitry Andric
Author: dim Date: Thu Sep 12 20:51:48 2013 New Revision: 255499 URL: http://svnweb.freebsd.org/changeset/base/255499 Log: After r255294, building lib/msun's symbol map (using clang as the preprocessor) gives the following error: --- Version.map --- :287:4: error: invalid preprocessing d

Re: svn commit: r255109 - head/sys/dev/virtio

2013-09-01 Thread Dimitry Andric
On Sep 1, 2013, at 06:16, Bryan Venteicher wrote: > Author: bryanv > Date: Sun Sep 1 04:16:43 2013 > New Revision: 255109 > URL: http://svnweb.freebsd.org/changeset/base/255109 > > Log: > Add support for postponing VirtIO virtqueue interrupts > > Partial support for the EVENT_IDX feature was

svn commit: r255076 - head/contrib/llvm/lib/Transforms/InstCombine

2013-08-30 Thread Dimitry Andric
Author: dim Date: Fri Aug 30 18:29:25 2013 New Revision: 255076 URL: http://svnweb.freebsd.org/changeset/base/255076 Log: Pull in r189672 from upstream llvm trunk: InstCombine: Check for zero shift amounts before subtracting one causing integer overflow. PR17026. Also avoid und

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

2013-08-20 Thread Dimitry Andric
Author: dim Date: Tue Aug 20 20:51:32 2013 New Revision: 254582 URL: http://svnweb.freebsd.org/changeset/base/254582 Log: Pull in r182983 from upstream clang trunk: Fix handling of braced-init-list as reference initializer within aggregate initialization. Previously we would incorrect

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

2013-08-20 Thread Dimitry Andric
Author: dim Date: Tue Aug 20 20:46:29 2013 New Revision: 254581 URL: http://svnweb.freebsd.org/changeset/base/254581 Log: Pull in r188716 from upstream clang trunk: PR16727: don't try to evaluate a potentially value-dependent expression when checking for missing parens in &&/|| expres

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-17 Thread Dimitry Andric
On Aug 13, 2013, at 09:15, Peter Wemm wrote: > Author: peter > Date: Tue Aug 13 07:15:01 2013 > New Revision: 254273 > URL: http://svnweb.freebsd.org/changeset/base/254273 > > Log: > The iconv in libc did two things - implement the standard APIs, the GNU > extensions and also tried to be link t

Re: svn commit: r254286 - head/sys/fs/ext2fs

2013-08-14 Thread Dimitry Andric
On Aug 14, 2013, at 09:14, Juli Mallett wrote: > On Wed, Aug 14, 2013 at 12:11 AM, Dimitry Andric wrote: > This still fails on arches where int64_t is aliased to long long > (basically, the 32-bit arches). Since using PRId64 is apparently > frowned upon, the easiest solution is

Re: svn commit: r254286 - head/sys/fs/ext2fs

2013-08-14 Thread Dimitry Andric
On Aug 13, 2013, at 20:39, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Aug 13 18:39:36 2013 > New Revision: 254286 > URL: http://svnweb.freebsd.org/changeset/base/254286 > > Log: > ext2fs: update format specifiers for ext4 type. > > Reported by: Sam Fourman Jr. > MFC after: 3 weeks >

svn commit: r253917 - head/lib/libc++

2013-08-03 Thread Dimitry Andric
Author: dim Date: Sat Aug 3 16:23:43 2013 New Revision: 253917 URL: http://svnweb.freebsd.org/changeset/base/253917 Log: After r253839, which modifies ld's behaviour to not automatically pull in needed libraries, change libc++.so into a linker script, so it can automatically pull in libcxxr

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

2013-07-31 Thread Dimitry Andric
On Jul 30, 2013, at 18:16, John Baldwin wrote: > On Tuesday, July 30, 2013 10:09:35 am Matthew Fleming wrote: >> On Tue, Jul 30, 2013 at 5:33 AM, Dimitry Andric wrote: >> >>> Author: dim >>> Date: Tue Jul 30 12:33:21 2013 >>> New Revision: 253802 &g

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

2013-07-30 Thread Dimitry Andric
On Jul 30, 2013, at 16:09, Matthew Fleming wrote: > On Tue, Jul 30, 2013 at 5:33 AM, Dimitry Andric wrote: > Author: dim > Date: Tue Jul 30 12:33:21 2013 > New Revision: 253802 > URL: http://svnweb.freebsd.org/changeset/base/253802 > > Log: > Pull in r186696 f

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

2013-07-30 Thread Dimitry Andric
On Jul 30, 2013, at 15:33, Jan Beich wrote: > Dimitry Andric writes: > >> Author: dim >> Date: Tue Jul 30 12:33:21 2013 >> New Revision: 253802 >> URL: http://svnweb.freebsd.org/changeset/base/253802 >> >> Log: >> Pull in r186696 from upstr

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

2013-07-30 Thread Dimitry Andric
Author: dim Date: Tue Jul 30 12:33:21 2013 New Revision: 253802 URL: http://svnweb.freebsd.org/changeset/base/253802 Log: Pull in r186696 from upstream clang trunk: This patch implements __get_cpuid_max() as an inline and __cpuid() and __cpuid_count() as macros to be compatible with G

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