Re: svn commit: r195026 - head/etc/rc.d

2009-06-30 Thread Dimitry Andric
On 2009-06-30 17:07, Dag-Erling Smørgrav wrote: One option would be to start pf with a pre-cooked rule set that allows only DHCP and nd6 / rtsol or similar, then load the user-provided rule set once all interfaces are up. Please see also the suggestion here:

Re: svn commit: r195230 - head

2009-07-02 Thread Dimitry Andric
On 2009-07-02 10:37, b. f. wrote: previously removed from system in usb changes four months ago and added to ObsoleteFiles.inc in r188948 by thompsa@ , re-added to base by thompsa@ a few days ago in r194677 reshuffling: /usr/include/dev/usb/usbdi.h /usr/include/dev/usb/usbdi_util.h

Re: svn commit: r196045 - stable/8

2009-08-03 Thread Dimitry Andric
On 2009-08-03 15:31, Dag-Erling Smørgrav wrote: This should have been tagged with X-SVN-Group: stable-8, but it wasn't, because a) someone forgot to add stable-8 to svnadmin/conf/mailer.conf and b) a stable-8 entry patterned on the existing stable-7 entry wouldn't have worked anyway, because

Re: svn commit: r196727 - head/share/man/man5

2009-09-02 Thread Dimitry Andric
On 2009-09-02 07:21, Maxim Konovalov wrote: Unless I'm missing something this should be in the src.conf man page instead of make.conf. Please explain why. make.conf(5): The file make.conf contains system-wide settings that will apply to every build using make(1) and the standard

Re: svn commit: r207141 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/tunefs sys/kern sys/sys sys/ufs/ffs sys/ufs/ufs usr.sbin/makefs/ffs

2010-05-16 Thread Dimitry Andric
On 2010-04-24 09:05, Jeff Roberson wrote: Author: jeff Date: Sat Apr 24 07:05:35 2010 New Revision: 207141 URL: http://svn.freebsd.org/changeset/base/207141 Log: - Merge soft-updates journaling from projects/suj/head into head. This brings in support for an optional intent log

Re: svn commit: r210103 - head/lib/liblzma

2010-07-15 Thread Dimitry Andric
On 2010-07-15 05:11, Marcel Moolenaar wrote: Author: marcel Date: Thu Jul 15 03:11:04 2010 New Revision: 210103 URL: http://svn.freebsd.org/changeset/base/210103 Log: Unbreak xz (liblzma) on strong-aligned architectures (and without emulation of misaligned memory accesses). We cannot

Re: svn commit: r210103 - head/lib/liblzma

2010-07-15 Thread Dimitry Andric
On 2010-07-15 16:28, Dag-Erling Smørgrav wrote: Misaligned accesses, especially writes, are slow on all architectures - but Marcel knows this, so I guess he has a reason for doing it this way? I did some unscientific tests here, on an i386 box, and it did not turn out to make too much

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

2010-07-22 Thread Dimitry Andric
On 2010-07-22 22:13, Jung-uk Kim wrote: CFLAGS= ${COPTFLAGS} ${C_DIALECT} ${DEBUG} ${CWARNFLAGS} CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -.if ${CC} != icc +.if ${CC} != icc ${CC} != clang CFLAGS+= -fno-common -finline-limit=${INLINE_LIMIT}

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

2010-07-25 Thread Dimitry Andric
On 2010-07-25 20:12, Kostik Belousov wrote: I looked at the C99, and indeed, there is an explicit sentence A type specifier of the form enum identifier without an enumerator list shall only appear after the type it specifies is complete. Later in the same section it even has: 6. A declaration

Re: svn commit: r204101 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-02-20 Thread Dimitry Andric
On 2010-02-20 12:56, Alexey Dokuchaev wrote: URL: http://svn.freebsd.org/changeset/base/204101 Don't set f_bsize to recordsize. It might confuse some software (like squid). Can submitter (or maybe you, Pawel) elaborate on the subject please? Particularly, what exactly breaks squid and in what

Re: svn commit: r192590 - stable/7/sys/sys

2009-05-22 Thread Dimitry Andric
On 2009-05-22 21:07, John Baldwin wrote: Log: some ports erroneously use the existence of AT_FDCWD to check for the availability of the *at system calls so s/AT_FDCWD/AT_FDCWD_notyet/g Reported by: Dimitry Andric I wonder if it wouldn't be appropriate to just remove the dirfd bits

Re: svn commit: r188281 - in stable/7: . etc etc/defaults etc/periodic/weekly lib/libc lib/libc/string lib/libc/sys lib/libkvm share/man/man4 sys sys/compat/freebsd32 sys/contrib/pf sys/dev/ath/ath_ha

2009-03-21 Thread Dimitry Andric
On 2009-03-21 16:35, Richard Tector wrote: URL: http://svn.freebsd.org/changeset/base/188281 I think this commit may have broken isc-dhcp30-server built with DHCP_JAIL option: This has been an issue for some time now, please see here for a possible patch:

Re: svn commit: r192011 - head/sys/netinet

2009-05-12 Thread Dimitry Andric
On 2009-05-12 09:41, Qing Li wrote: Author: qingli Date: Tue May 12 07:41:20 2009 New Revision: 192011 URL: http://svn.freebsd.org/changeset/base/192011 Log: This patch adds a host route to an interface address (that is assigned to a non loopback/ppp link types) through the loopback

Re: svn commit: r192085 - head/sys/netinet

2009-05-14 Thread Dimitry Andric
On 2009-05-14 16:36, George Neville-Neil wrote: Can you give more detail as to the purpose of this change? I'm a bit confused by it. Does this fix any of the recent problems seen with DHCP and PXE or is this unrelated? It fixes at least the DHCP issue, but I didn't see any independent

Re: svn commit: r186529 - head/sys/dev/acpi_support

2008-12-28 Thread Dimitry Andric
On 2008-12-28 20:30, Stanislav Sedov wrote: - ACPI_OBJECT acpiarg[0]; + ACPI_OBJECT acpiarg[1]; I wonder how does gcc allowed this. It emits warnings only in pedantic mode which we cannot use to compile kernel with. Zero-sized arrays are non-standard, but have been

Re: svn commit: r187523 - in stable/7/sys: . amd64/amd64 contrib/pf dev/ath/ath_hal dev/cxgb

2009-01-21 Thread Dimitry Andric
On 2009-01-21 13:11, Ulrich Spörlein wrote: Just picking a random commit, but since a couple of days, nearly all commits to stable/7/sys contain the props changed line for Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r236144 - in stable/9: contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/tools/clang/include/clang/AST contrib/llvm/tools/clang/include/clang/Basic contrib/llvm/tools/clang/include/cla...

2012-05-27 Thread Dimitry Andric
Author: dim Date: Sun May 27 12:01:04 2012 New Revision: 236144 URL: http://svn.freebsd.org/changeset/base/236144 Log: MFC r235864: Upgrade our copy of llvm/clang to 3.1 release. Release notes can be found at: http://llvm.org/releases/3.1/docs/ReleaseNotes.html Modified:

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

2012-05-27 Thread Dimitry Andric
Author: dim Date: Sun May 27 13:33:54 2012 New Revision: 236149 URL: http://svn.freebsd.org/changeset/base/236149 Log: Pull in r157212 from upstream clang trunk: Revert r115805. An array type is required to have a range type, however, the range can be unknown for the upper bound.

Re: svn commit: r236137 - head/contrib/gcc/config/i386

2012-05-28 Thread Dimitry Andric
On 2012-05-27 22:31, Roman Divacky wrote: Fwiw, to enable the same thing in clang you want this simple patch: === --- Tools.cpp (revision 157545) +++ Tools.cpp (working copy) @@ -4794,6 +4794,7 @@ if

Re: svn commit: r236137 - head/contrib/gcc/config/i386

2012-05-28 Thread Dimitry Andric
On 2012-05-28 22:17, David Chisnall wrote: On 28 May 2012, at 20:33, Dimitry Andric wrote: On the other hand, it's really platform-dependent: I've checked several Linux distributions, and it is fairly unpredictable whether their gcc passes --hash-style to the linker, or if they do, which

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

2012-05-29 Thread Dimitry Andric
Author: dim Date: Tue May 29 20:21:24 2012 New Revision: 236258 URL: http://svn.freebsd.org/changeset/base/236258 Log: For clang, similar to r236137, enable gnu hash generation for dynamic ELF binaries on x86. Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Modified:

svn commit: r236260 - in head/contrib/llvm: include/llvm/Support lib/Support/Unix lib/Support/Windows tools/clang/lib/Frontend

2012-05-29 Thread Dimitry Andric
Author: dim Date: Tue May 29 21:59:09 2012 New Revision: 236260 URL: http://svn.freebsd.org/changeset/base/236260 Log: Pull in r156591 from upstream llvm trunk: Allow unique_file to take a mode for file permissions, but default to user only read/write. and r156592 from upstream

svn commit: r236296 - stable/9/contrib/llvm/tools/clang/lib/CodeGen

2012-05-30 Thread Dimitry Andric
Author: dim Date: Wed May 30 06:53:09 2012 New Revision: 236296 URL: http://svn.freebsd.org/changeset/base/236296 Log: MFC r236149: Pull in r157212 from upstream clang trunk: Revert r115805. An array type is required to have a range type, however, the range can be unknown for

svn commit: r236385 - in stable/9/contrib/llvm: include/llvm/Support lib/Support/Unix lib/Support/Windows tools/clang/lib/Frontend

2012-06-01 Thread Dimitry Andric
Author: dim Date: Fri Jun 1 06:45:14 2012 New Revision: 236385 URL: http://svn.freebsd.org/changeset/base/236385 Log: MFC r236260: Pull in r156591 from upstream llvm trunk: Allow unique_file to take a mode for file permissions, but default to user only read/write. and

svn commit: r236386 - head/contrib/llvm/tools/bugpoint

2012-06-01 Thread Dimitry Andric
Author: dim Date: Fri Jun 1 06:50:37 2012 New Revision: 236386 URL: http://svn.freebsd.org/changeset/base/236386 Log: Pull in r155978 from upstream llvm trunk: Fix unintentional use of operator bool. This enables llvm's bugpoint tool to build with libc++. MFC after:3 days

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

2012-06-01 Thread Dimitry Andric
Author: dim Date: Fri Jun 1 06:55:01 2012 New Revision: 236387 URL: http://svn.freebsd.org/changeset/base/236387 Log: Fix dangling else in libc++'s __bit_reference header. This has also been sent upstream. MFC after:3 days Modified: head/contrib/libc++/include/__bit_reference

svn commit: r236388 - head/sbin/devd

2012-06-01 Thread Dimitry Andric
Author: dim Date: Fri Jun 1 06:56:35 2012 New Revision: 236388 URL: http://svn.freebsd.org/changeset/base/236388 Log: Make devd build with libc++. MFC after:3 days Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc

svn commit: r236442 - in head/lib: libc++ libcxxrt

2012-06-02 Thread Dimitry Andric
Author: dim Date: Sat Jun 2 11:00:48 2012 New Revision: 236442 URL: http://svn.freebsd.org/changeset/base/236442 Log: Tabify libcxxrt and libc++'s Makefiles. MFC after:3 days Modified: head/lib/libc++/Makefile head/lib/libcxxrt/Makefile Modified: head/lib/libc++/Makefile

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

2012-06-02 Thread Dimitry Andric
Author: dim Date: Sat Jun 2 11:07:19 2012 New Revision: 236444 URL: http://svn.freebsd.org/changeset/base/236444 Log: Install libcxxrt's C++ ABI and unwind headers. This is done in libc++'s Makefile, so these headers go into the same destination directory as libc++'s own headers,

svn commit: r236528 - in head: . share/mk

2012-06-03 Thread Dimitry Andric
Author: dim Date: Sun Jun 3 20:35:41 2012 New Revision: 236528 URL: http://svn.freebsd.org/changeset/base/236528 Log: During buildworld and buildkernel, define EARLY_BUILD in the earlier stages (build-tools, cross-tools, etc) of the build, so we can detect in bsd.*.mk whether to pass

svn commit: r236540 - stable/9/sbin/devd

2012-06-04 Thread Dimitry Andric
Author: dim Date: Mon Jun 4 06:45:49 2012 New Revision: 236540 URL: http://svn.freebsd.org/changeset/base/236540 Log: MFC r236388: Make devd build with libc++. Modified: stable/9/sbin/devd/devd.cc Directory Properties: stable/9/sbin/devd/ (props changed) Modified:

svn commit: r236571 - head/sys/dev/aic7xxx/aicasm

2012-06-04 Thread Dimitry Andric
Author: dim Date: Mon Jun 4 17:22:43 2012 New Revision: 236571 URL: http://svn.freebsd.org/changeset/base/236571 Log: Make aicasm compile without warnings if -Wpointer-sign is enabled. MFC after:3 days Modified: head/sys/dev/aic7xxx/aicasm/aicasm.c Modified:

svn commit: r236578 - head/sys/dev/aic7xxx/aicasm

2012-06-04 Thread Dimitry Andric
Author: dim Date: Mon Jun 4 20:36:11 2012 New Revision: 236578 URL: http://svn.freebsd.org/changeset/base/236578 Log: Fix build of aicasm when CC=clang. This was due to a side-effect of the EARLY_BUILD macro: the -Qunused-arguments flag isn't passed anymore when building this particular

svn commit: r236600 - in stable/9/lib: libc++ libcxxrt

2012-06-05 Thread Dimitry Andric
Author: dim Date: Tue Jun 5 06:41:47 2012 New Revision: 236600 URL: http://svn.freebsd.org/changeset/base/236600 Log: MFC r236442: Tabify libcxxrt and libc++'s Makefiles. Modified: stable/9/lib/libc++/Makefile stable/9/lib/libcxxrt/Makefile Directory Properties:

svn commit: r236601 - stable/9/lib/libc++

2012-06-05 Thread Dimitry Andric
Author: dim Date: Tue Jun 5 06:43:45 2012 New Revision: 236601 URL: http://svn.freebsd.org/changeset/base/236601 Log: MFC r236444: Install libcxxrt's C++ ABI and unwind headers. This is done in libc++'s Makefile, so these headers go into the same destination directory as libc++'s own

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Dimitry Andric
On 2012-06-04 23:34, Andrey A. Chernov wrote: Author: ache Date: Mon Jun 4 21:34:49 2012 New Revision: 236582 URL: http://svn.freebsd.org/changeset/base/236582 Log: 1) IEEE Std 1003.1-2008, errno section, is explicit that The setting of errno after a successful call to a function

svn commit: r236695 - in head/lib/libc: include net

2012-06-06 Thread Dimitry Andric
Author: dim Date: Wed Jun 6 21:16:26 2012 New Revision: 236695 URL: http://svn.freebsd.org/changeset/base/236695 Log: Fix two warnings about self-assignment in libc. These normally only trigger with clang, when you either use -save-temps, or ccache. Reported by: Sevan / Venture37

svn commit: r236704 - stable/9/sys/dev/aic7xxx/aicasm

2012-06-07 Thread Dimitry Andric
Author: dim Date: Thu Jun 7 06:41:09 2012 New Revision: 236704 URL: http://svn.freebsd.org/changeset/base/236704 Log: MFC r236571: Make aicasm compile without warnings if -Wpointer-sign is enabled. Modified: stable/9/sys/dev/aic7xxx/aicasm/aicasm.c Directory Properties: stable/9/sys/

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

2012-06-08 Thread Dimitry Andric
Author: dim Date: Fri Jun 8 17:08:27 2012 New Revision: 236759 URL: http://svn.freebsd.org/changeset/base/236759 Log: In usr.bin/sort, use another method of silencing warnings about unused arguments, which does not trigger self-assignment warnings in certain circumstances (for example,

Re: svn commit: r236759 - head/usr.bin/sort

2012-06-08 Thread Dimitry Andric
On 2012-06-08 19:30, Gabor Kovesdan wrote: On 2012.06.08. 19:08, Dimitry Andric wrote: ... -#define UNUSED_ARG(A) do { A=A; } while(0) +#define UNUSED_ARG(A) do { (void)(A); } while(0) My fault, I should have fixed this. But what about this version? I think it is more elegant

svn commit: r236807 - in stable/9/lib/libc: include net

2012-06-09 Thread Dimitry Andric
Author: dim Date: Sat Jun 9 10:06:49 2012 New Revision: 236807 URL: http://svn.freebsd.org/changeset/base/236807 Log: MFC r236695: Fix two warnings about self-assignment in libc. These normally only trigger with clang, when you either use -save-temps, or ccache. Reported by:

svn commit: r236810 - head/share/mk

2012-06-09 Thread Dimitry Andric
Author: dim Date: Sat Jun 9 11:41:29 2012 New Revision: 236810 URL: http://svn.freebsd.org/changeset/base/236810 Log: Amend r227797 by also passing ${STATIC_CXXFLAGS} for the other supported C++ file extensions. MFC after:3 days Modified: head/share/mk/bsd.lib.mk Modified:

svn commit: r236851 - in stable/9: . share/mk

2012-06-10 Thread Dimitry Andric
Author: dim Date: Sun Jun 10 13:28:14 2012 New Revision: 236851 URL: http://svn.freebsd.org/changeset/base/236851 Log: MFC r236528: During buildworld and buildkernel, define EARLY_BUILD in the earlier stages (build-tools, cross-tools, etc) of the build, so we can detect in bsd.*.mk

svn commit: r236972 - head/lib/libkiconv

2012-06-12 Thread Dimitry Andric
Author: dim Date: Tue Jun 12 20:24:57 2012 New Revision: 236972 URL: http://svn.freebsd.org/changeset/base/236972 Log: Make sure libkiconv.so.4 is installed into /lib, not into /usr/lib, which was inadvertently caused by r236185: if SHLIBDIR is set using the ?= operator, it must be done

svn commit: r236975 - stable/9/sys/dev/aic7xxx/aicasm

2012-06-12 Thread Dimitry Andric
Author: dim Date: Tue Jun 12 21:03:24 2012 New Revision: 236975 URL: http://svn.freebsd.org/changeset/base/236975 Log: MFC r236578: Fix build of aicasm when CC=clang. This was due to a side-effect of the EARLY_BUILD macro: the -Qunused-arguments flag isn't passed anymore when building

svn commit: r237019 - stable/9

2012-06-13 Thread Dimitry Andric
Author: dim Date: Wed Jun 13 19:53:29 2012 New Revision: 237019 URL: http://svn.freebsd.org/changeset/base/237019 Log: MFC r233098: Make sure libgcc_s is finished building in _startup_libs before building libcxxrt with high -j levels. The workaround in libc++/Makefile isn't necessary

Re: svn commit: r237412 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/components/dis

2012-06-26 Thread Dimitry Andric
On 2012-06-25 23:37, Jung-uk Kim wrote: ... I submitted this patch and I am waiting for confirmation: http://people.freebsd.org/~jkim/evxfgpe.diff I've tested your diff, and it made the panic disappear for me. Thanks! ___ svn-src-all@freebsd.org

svn commit: r237812 - stable/9/sys/boot/i386/cdboot

2012-06-29 Thread Dimitry Andric
Author: dim Date: Fri Jun 29 18:09:39 2012 New Revision: 237812 URL: http://svn.freebsd.org/changeset/base/237812 Log: MFC r235281: Fix sys/boot/i386/cdboot/cdboot.S compilation with clang after r235219. This file uses .code16 directives, which are not yet supported by clang's

svn commit: r237814 - stable/9/share/mk

2012-06-29 Thread Dimitry Andric
Author: dim Date: Fri Jun 29 18:18:51 2012 New Revision: 237814 URL: http://svn.freebsd.org/changeset/base/237814 Log: MFC r236810: Amend r227797 by also passing ${STATIC_CXXFLAGS} for the other supported C++ file extensions. Modified: stable/9/share/mk/bsd.lib.mk Directory

svn commit: r234237 - stable/9/share/mk

2012-04-13 Thread Dimitry Andric
Author: dim Date: Fri Apr 13 21:35:24 2012 New Revision: 234237 URL: http://svn.freebsd.org/changeset/base/234237 Log: MFC r233052: Change the style of share/mk/bsd.sys.mk to that of the other bsd.*.mk files, and style.Makefile(5), where applicable. While here, update the link to the

svn commit: r234238 - in stable/9/sys: conf modules/mps

2012-04-13 Thread Dimitry Andric
Author: dim Date: Fri Apr 13 21:47:14 2012 New Revision: 234238 URL: http://svn.freebsd.org/changeset/base/234238 Log: MFC r233354: Work around the following clang warning in mps(4): sys/dev/mps/mps_sas.c:861:1: error: function 'mpssas_discovery_timeout' is not needed and will not

svn commit: r234239 - stable/9/sys/dev/isci

2012-04-13 Thread Dimitry Andric
Author: dim Date: Fri Apr 13 21:50:14 2012 New Revision: 234239 URL: http://svn.freebsd.org/changeset/base/234239 Log: MFC r233710: Fix the following compilation warning with clang trunk in isci(4): sys/dev/isci/isci_task_request.c:198:7: error: case value not in enumerated type

svn commit: r234286 - vendor/llvm/llvm-trunk-r154661

2012-04-14 Thread Dimitry Andric
Author: dim Date: Sat Apr 14 13:55:50 2012 New Revision: 234286 URL: http://svn.freebsd.org/changeset/base/234286 Log: Tag llvm trunk r154661. Added: vendor/llvm/llvm-trunk-r154661/ - copied from r234285, vendor/llvm/dist/ ___

svn commit: r234288 - vendor/clang/clang-trunk-r154661

2012-04-14 Thread Dimitry Andric
Author: dim Date: Sat Apr 14 14:02:34 2012 New Revision: 234288 URL: http://svn.freebsd.org/changeset/base/234288 Log: Tag clang trunk r154661. Added: vendor/clang/clang-trunk-r154661/ - copied from r234287, vendor/clang/dist/ ___

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

2012-04-14 Thread Dimitry Andric
Author: dim Date: Sat Apr 14 16:42:17 2012 New Revision: 234289 URL: http://svn.freebsd.org/changeset/base/234289 Log: Add files and directories to be cleaned up if WITHOUT_GCC is in effect to OptionalObsoleteFiles.inc. MFC after:1 week Modified:

svn commit: r234355 - head/sys/sys

2012-04-16 Thread Dimitry Andric
Author: dim Date: Mon Apr 16 21:28:04 2012 New Revision: 234355 URL: http://svn.freebsd.org/changeset/base/234355 Log: Bump __FreeBSD_version due to the import of a new clang 3.1 prerelease snapshot. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-16 Thread Dimitry Andric
Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where clang executable can get too big, causing 'relocation truncated to fit' errors at link time. Reviewed by: nwhitehorn

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

2012-04-16 Thread Dimitry Andric
On 2012-04-17 00:38, Bjoern A. Zeeb wrote: On 16. Apr 2012, at 21:28 , Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:28:04 2012 New Revision: 234355 URL: http://svn.freebsd.org/changeset/base/234355 Log: Bump __FreeBSD_version due to the import of a new clang 3.1 prerelease

Re: svn commit: r233700 - head/sys/kern

2012-04-17 Thread Dimitry Andric
On 2012-04-02 13:52, John Baldwin wrote: ... It seems the for loop walks the list until the end, then tacks 'sc' onto it. So to 'fix' the warning, and make the meaning more explicit, we should probably rewrite that fragment as: LIST_INIT((sc-ha_ccb)); /* Link us into the HA

Re: svn commit: r233700 - head/sys/kern

2012-04-18 Thread Dimitry Andric
On 2012-04-18 15:54, John Baldwin wrote: ... http://www.FreeBSD.org/~jhb/patches/asr_stailq.patch Yes, that seems to work just fine, at least for the list juggling. Thanks! The only additional fix needed now is the following. Shall I commit that including your patch? Index:

svn commit: r234444 - in stable/9/usr.bin: kdump truss

2012-04-18 Thread Dimitry Andric
Author: dim Date: Wed Apr 18 20:32:07 2012 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: MFC r234058: In kdump's mkioctls script, use '${CPP}' instead of hardcodedly using 'gcc -E'. This fixes building when WITH_CLANG_IS_CC is in effect. Report by:

Re: svn commit: r234370 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src incl

2012-04-20 Thread Dimitry Andric
On 2012-04-20 00:23, Jason Evans wrote: ... With /etc/make.conf as: CFLAGS+=-g STRIP= CC=clang CXX=clang++ CPP=clang-cpp I got this buildworld failure: --- clang -O2 -pipe -g -I/usr/src/lib/csu/amd64/../common

svn commit: r234502 - in head/lib/csu: amd64 arm i386-elf ia64 mips powerpc powerpc64

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:00:39 2012 New Revision: 234502 URL: http://svn.freebsd.org/changeset/base/234502 Log: After r217375, some startup objects under lib/csu are built in a special way: first they are compiled to assembly, then some sed'ing is done on the assembly, and lastly the

svn commit: r234503 - head/sys/dev/asr

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:17:33 2012 New Revision: 234503 URL: http://svn.freebsd.org/changeset/base/234503 Log: Replace homegrown list implementation in sys/dev/asr/asr.c with STAILQ(). While here, fix another clang warning about a switch which tests an enum type for a regular

svn commit: r234506 - head/sys/dev/nxge

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:43:19 2012 New Revision: 234506 URL: http://svn.freebsd.org/changeset/base/234506 Log: Fix the following compilation warnings in nxge(4): sys/dev/nxge/if_nxge.c:1276:11: error: case value not in enumerated type 'xge_hal_event_e' (aka 'enum

svn commit: r234507 - head/sys/contrib/rdma

2012-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 21:52:57 2012 New Revision: 234507 URL: http://svn.freebsd.org/changeset/base/234507 Log: Fix the following compilation warnings in sys/contrib/rdma/rdma_cma.c: sys/contrib/rdma/rdma_cma.c:1259:8: error: case value not in enumerated type 'enum

Re: svn commit: r234353 - in head: . contrib/llvm contrib/llvm/include/llvm contrib/llvm/include/llvm-c contrib/llvm/include/llvm-c/Transforms contrib/llvm/include/llvm/ADT contrib/llvm/include/llvm/A

2012-04-21 Thread Dimitry Andric
On 2012-04-19 23:14, Alexander Best wrote: On Mon Apr 16 12, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:23:25 2012 New Revision: 234353 URL: http://svn.freebsd.org/changeset/base/234353 Log: Upgrade our copy of llvm/clang to trunk r154661, in preparation of the upcoming 3.1

svn commit: r234540 - head/sys/dev/dpt

2012-04-21 Thread Dimitry Andric
Author: dim Date: Sat Apr 21 14:23:46 2012 New Revision: 234540 URL: http://svn.freebsd.org/changeset/base/234540 Log: Fix the following clang warning in dpt(4): sys/dev/dpt/dpt_scsi.c:612:18: error: implicit truncation from 'int' to bitfield changes value from -2 to 2

svn commit: r234596 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-23 Thread Dimitry Andric
Author: dim Date: Mon Apr 23 06:33:27 2012 New Revision: 234596 URL: http://svn.freebsd.org/changeset/base/234596 Log: Revert r234356 for now, as it leads to run-time problems on 32-bit PowerPC. Note this will break world. Reported by: andreast Pointy hat to:dim Modified:

Re: svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-23 Thread Dimitry Andric
On 2012-04-23 02:55, Nathan Whitehorn wrote: On 04/22/12 15:41, Andreas Tobler wrote: On 16.04.12 23:36, Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC

svn commit: r234656 - head/share/mk

2012-04-24 Thread Dimitry Andric
Author: dim Date: Tue Apr 24 17:00:30 2012 New Revision: 234656 URL: http://svn.freebsd.org/changeset/base/234656 Log: After r234596, temporarily disable building clang on 32-bit PowerPC, until we are able to fix the binutils bug that makes linking clang fail with relocation truncated to

svn commit: r234658 - head/contrib/jemalloc/src

2012-04-24 Thread Dimitry Andric
Author: dim Date: Tue Apr 24 18:41:17 2012 New Revision: 234658 URL: http://svn.freebsd.org/changeset/base/234658 Log: Work around llvm PR 12623, which makes variables declared with .symver sometimes disappear from the resulting object file, if compiled with clang. In particular, this can

svn commit: r234720 - stable/9/tools/build/mk

2012-04-26 Thread Dimitry Andric
Author: dim Date: Thu Apr 26 20:19:05 2012 New Revision: 234720 URL: http://svn.freebsd.org/changeset/base/234720 Log: MFC r234289: Add files and directories to be cleaned up if WITHOUT_GCC is in effect to OptionalObsoleteFiles.inc. Modified:

svn commit: r234726 - in stable/9/lib/csu: amd64 arm i386-elf ia64 mips powerpc powerpc64

2012-04-27 Thread Dimitry Andric
Author: dim Date: Fri Apr 27 06:49:35 2012 New Revision: 234726 URL: http://svn.freebsd.org/changeset/base/234726 Log: MFC r234502: After r217375, some startup objects under lib/csu are built in a special way: first they are compiled to assembly, then some sed'ing is done on the

svn commit: r234734 - stable/9/sys/dev/asr

2012-04-27 Thread Dimitry Andric
Author: dim Date: Fri Apr 27 18:05:24 2012 New Revision: 234734 URL: http://svn.freebsd.org/changeset/base/234734 Log: MFC r234503: Replace homegrown list implementation in sys/dev/asr/asr.c with STAILQ(). While here, fix another clang warning about a switch which tests an enum type

svn commit: r234735 - stable/9/sys/dev/nxge

2012-04-27 Thread Dimitry Andric
Author: dim Date: Fri Apr 27 18:08:15 2012 New Revision: 234735 URL: http://svn.freebsd.org/changeset/base/234735 Log: MFC r234506: Fix the following compilation warnings in nxge(4): sys/dev/nxge/if_nxge.c:1276:11: error: case value not in enumerated type 'xge_hal_event_e' (aka

svn commit: r234736 - stable/9/sys/contrib/rdma

2012-04-27 Thread Dimitry Andric
Author: dim Date: Fri Apr 27 18:21:45 2012 New Revision: 234736 URL: http://svn.freebsd.org/changeset/base/234736 Log: MFC r234507: Fix the following compilation warnings in sys/contrib/rdma/rdma_cma.c: sys/contrib/rdma/rdma_cma.c:1259:8: error: case value not in enumerated type

svn commit: r234737 - stable/9/usr.sbin/sysinstall

2012-04-27 Thread Dimitry Andric
Author: dim Date: Fri Apr 27 19:26:19 2012 New Revision: 234737 URL: http://svn.freebsd.org/changeset/base/234737 Log: Fix several 'format string is not a literal' warnings in sysinstall. Since sysinstall does not exist anymore in head, this is a direct commit. Modified:

svn commit: r234753 - in stable/9/sys: dev/an dev/ath dev/bwi dev/bwn dev/if_ndis dev/ipw dev/iwi dev/iwn dev/malo dev/mwl dev/ral dev/usb/wlan dev/wi dev/wpi net80211

2012-04-28 Thread Dimitry Andric
Author: dim Date: Sat Apr 28 09:15:01 2012 New Revision: 234753 URL: http://svn.freebsd.org/changeset/base/234753 Log: MFC r225941: Fix an unaligned access issue; tidy up OFDM/DS rate decoding from the PLCP. This fixes a panic on PPC. Submitted by: novel Obtained

svn commit: r234754 - stable/9/sys/dev/drm

2012-04-28 Thread Dimitry Andric
Author: dim Date: Sat Apr 28 09:18:20 2012 New Revision: 234754 URL: http://svn.freebsd.org/changeset/base/234754 Log: MFC r228572: Fix format string Z -- z, since the former is a deprecated and (in FreeBSD) unsupported form of the latter. This change has been reviewed and accepted in

svn commit: r234755 - stable/9/sys/dev/dpt

2012-04-28 Thread Dimitry Andric
Author: dim Date: Sat Apr 28 09:21:43 2012 New Revision: 234755 URL: http://svn.freebsd.org/changeset/base/234755 Log: MFC r234540: Fix the following clang warning in dpt(4): sys/dev/dpt/dpt_scsi.c:612:18: error: implicit truncation from 'int' to bitfield changes value from -2 to 2

svn commit: r234785 - in head: include sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys

2012-04-29 Thread Dimitry Andric
Author: dim Date: Sun Apr 29 11:04:31 2012 New Revision: 234785 URL: http://svn.freebsd.org/changeset/base/234785 Log: Add a convenience macro for the returns_twice attribute, and apply it to the prototypes of the appropriate functions (getcontext, savectx, setjmp, sigsetjmp and vfork).

svn commit: r234972 - vendor/llvm/llvm-release_31-r155985

2012-05-03 Thread Dimitry Andric
Author: dim Date: Thu May 3 16:52:07 2012 New Revision: 234972 URL: http://svn.freebsd.org/changeset/base/234972 Log: Tag llvm release_31 branch r155985. Added: vendor/llvm/llvm-release_31-r155985/ - copied from r234971, vendor/llvm/dist/ ___

svn commit: r235058 - in head: . lib/clang/include

2012-05-05 Thread Dimitry Andric
Author: dim Date: Sat May 5 15:35:22 2012 New Revision: 235058 URL: http://svn.freebsd.org/changeset/base/235058 Log: Make sure a few new internal clang headers get installed, I missed these in the last import. They are sometimes needed when you want to use advanced instructions.

svn commit: r235133 - in head: contrib/binutils/ld/emultempl share/mk

2012-05-07 Thread Dimitry Andric
Author: dim Date: Mon May 7 17:13:36 2012 New Revision: 235133 URL: http://svn.freebsd.org/changeset/base/235133 Log: Revert r234656, and apply a proper fix for binutils PR 10474, which caused linking clang on 32-bit PowerPC to fail with relocation truncated to fit: R_PPC_REL24 errors.

Re: svn commit: r235158 - head/sys/boot/i386/loader

2012-05-09 Thread Dimitry Andric
On 2012-05-09 10:23, Andriy Gapon wrote: Author: avg Date: Wed May 9 08:23:24 2012 New Revision: 235158 URL: http://svn.freebsd.org/changeset/base/235158 Log: r235154 followup: add stddef.h for offsetof Thanks, this fixes the build with clang. :)

svn commit: r235239 - head/lib/libc/locale

2012-05-10 Thread Dimitry Andric
Author: dim Date: Thu May 10 20:03:34 2012 New Revision: 235239 URL: http://svn.freebsd.org/changeset/base/235239 Log: Fix copy/paste error in lib/libc/locale/toupper.c. Submitted by: Kohji Okuno okuno.ko...@jp.panasonic.com Modified: head/lib/libc/locale/toupper.c Modified:

Re: svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Dimitry Andric
On 2012-05-11 15:02, Colin Percival wrote: On 05/11/12 05:48, Konstantin Belousov wrote: On Fri, May 11, 2012 at 12:37:16PM +, Gabor Kovesdan wrote: +bool byte_sort = false; + +static wchar_t **wmonths = NULL; +static unsigned char **cmonths = NULL; Such initializations are useless. You

svn commit: r235281 - head/sys/boot/i386/cdboot

2012-05-11 Thread Dimitry Andric
Author: dim Date: Fri May 11 18:07:23 2012 New Revision: 235281 URL: http://svn.freebsd.org/changeset/base/235281 Log: Fix sys/boot/i386/cdboot/cdboot.S compilation with clang after r235219. This file uses .code16 directives, which are not yet supported by clang's integrated assembler.

svn commit: r235539 - in stable/9: include sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys

2012-05-17 Thread Dimitry Andric
Author: dim Date: Thu May 17 10:25:34 2012 New Revision: 235539 URL: http://svn.freebsd.org/changeset/base/235539 Log: MFC r234785: Add a convenience macro for the returns_twice attribute, and apply it to the prototypes of the appropriate functions (getcontext, savectx, setjmp,

svn commit: r235540 - stable/9/contrib/binutils/ld/emultempl

2012-05-17 Thread Dimitry Andric
Author: dim Date: Thu May 17 10:36:32 2012 New Revision: 235540 URL: http://svn.freebsd.org/changeset/base/235540 Log: MFC r235133: Revert r234656, and apply a proper fix for binutils PR 10474, which caused linking clang on 32-bit PowerPC to fail with relocation truncated to fit:

Re: svn commit: r235527 - stable/9/sys/dev/e1000

2012-05-17 Thread Dimitry Andric
On 2012-05-17 00:22, Jack F Vogel wrote: Author: jfv Date: Wed May 16 22:22:52 2012 New Revision: 235527 URL: http://svn.freebsd.org/changeset/base/235527 Log: MFC of the e1000 drivers: revisions include 227309,228281,228386,228387,228393,228405,

svn commit: r235618 - stable/9/games/morse

2012-05-18 Thread Dimitry Andric
Author: dim Date: Fri May 18 18:34:29 2012 New Revision: 235618 URL: http://svn.freebsd.org/changeset/base/235618 Log: MFC r230131: Reencode morse.c to UTF-8. This does not make it Unicode aware. No changes in resulting object file. Moved user-visible symbols into comment table, so

svn commit: r235690 - stable/9/usr.sbin/bluetooth/hccontrol

2012-05-20 Thread Dimitry Andric
Author: dim Date: Sun May 20 15:10:13 2012 New Revision: 235690 URL: http://svn.freebsd.org/changeset/base/235690 Log: MFC r228976: Reencode files to UTF-8. Drop CP1252 em-dash. Modified: stable/9/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c Directory Properties:

Re: svn commit: r235690 - stable/9/usr.sbin/bluetooth/hccontrol

2012-05-20 Thread Dimitry Andric
On 2012-05-20 17:10, Dimitry Andric wrote: Author: dim Date: Sun May 20 15:10:13 2012 New Revision: 235690 URL: http://svn.freebsd.org/changeset/base/235690 Log: MFC r228976: Reencode files to UTF-8. Drop CP1252 em-dash. Note: as of this MFC, stable/9 world + GENERIC should

svn commit: r235773 - head/contrib/ncurses/man

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 06:28:53 2012 New Revision: 235773 URL: http://svn.freebsd.org/changeset/base/235773 Log: Correct use_screen() and use_window() prototypes in curs_threads(3x). Submitted by: Yanhui Shen shen@gmail.com MFC after:3 days Modified:

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Dimitry Andric
On 2012-05-22 12:22, Dag-Erling Smørgrav wrote: Baptiste Daroussin b...@freebsd.org writes: Log: Import byacc from invisible island, it brings us lots of compatibilities with bison, keeping full compatibility with our previous yacc implementation. This commit broke the build, in

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Dimitry Andric
On 2012-05-22 16:44, Garrett Cooper wrote: ... I mentioned it in a private email, but the issue is that the yacc used during the build seems to be coming from the base system (despite the fact that it's a bootstrap tool). Once I installed yacc onto my stable-9 system at work, all of the

svn commit: r235806 - stable/9/sys/sys

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 20:26:14 2012 New Revision: 235806 URL: http://svn.freebsd.org/changeset/base/235806 Log: MFC r227478: Fix kernel build breakage after r227475. I had forgotten kernels are built with -Wundef, as opposed to world. Additionally, cdefs.h tends to not use

svn commit: r235807 - in vendor/llvm/dist: . autoconf docs lib/CodeGen/SelectionDAG

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 21:30:23 2012 New Revision: 235807 URL: http://svn.freebsd.org/changeset/base/235807 Log: Vendor import of llvm release_31 final r156748: http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_31/final@156748 Modified: vendor/llvm/dist/autoconf/configure.ac

  1   2   3   4   5   6   7   8   9   10   >