[head tinderbox] failure on powerpc/powerpc

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 02:55:21 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 02:55:21 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 02:55:21 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2014-06-27 02:55:21 - cleaning the object tree
TB --- 2014-06-27 02:56:37 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 02:56:43 - At svn revision 267918
TB --- 2014-06-27 02:56:44 - building world
TB --- 2014-06-27 02:56:44 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 02:56:44 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 02:56:44 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 02:56:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 02:56:44 - SRCCONF=/dev/null
TB --- 2014-06-27 02:56:44 - TARGET=powerpc
TB --- 2014-06-27 02:56:44 - TARGET_ARCH=powerpc
TB --- 2014-06-27 02:56:44 - TZ=UTC
TB --- 2014-06-27 02:56:44 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 02:56:44 - cd /src
TB --- 2014-06-27 02:56:44 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 02:56:52 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Fri Jun 27 06:37:11 UTC 2014
TB --- 2014-06-27 06:37:11 - generating LINT kernel config
TB --- 2014-06-27 06:37:11 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 06:37:11 - /usr/bin/make -B LINT
TB --- 2014-06-27 06:37:12 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 06:37:12 - 
/obj/powerpc.powerpc/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-27 06:37:12 - building LINT kernel
TB --- 2014-06-27 06:37:12 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 06:37:12 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 06:37:12 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 06:37:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 06:37:12 - SRCCONF=/dev/null
TB --- 2014-06-27 06:37:12 - TARGET=powerpc
TB --- 2014-06-27 06:37:12 - TARGET_ARCH=powerpc
TB --- 2014-06-27 06:37:12 - TZ=UTC
TB --- 2014-06-27 06:37:12 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 06:37:12 - cd /src
TB --- 2014-06-27 06:37:12 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Fri Jun 27 06:37:12 UTC 2014
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc  -O2 -pipe  -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc  -I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-I/src/sys/cddl/contrib/opensolaris/uts/powerpc -DHAVE_KERNEL_OPTION_HEADERS 
-include /obj/powerpc.powerpc/src/sys/LINT/opt_global.h -I. -I@ 
-I@/contrib/altq -fno-common  -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc/src/sys/LINT -fno-builtin -msoft-float -mno-altivec 
-ffreestanding -fstack-protector -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -Wno-unknown-pragmas -Wno-unused  
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -include /src/sys/cddl/compat/opens!
 olaris/sys/debug_compat.h -c 
/src/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
cc  -O2 -pipe  -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc  -I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-I/src/sys/cddl/contrib/opensolaris/uts/powerpc -DHAVE_KERNEL_OPTION_HEADERS 
-include /obj/powerpc.powerpc/src/sys/LINT/opt_global.h -I. -I@ 
-I@/contrib/altq -fno-common  -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc/src/sys/LINT -fno-builtin -msoft-float -mno-altivec 
-ffreestanding -fstack-protector -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -Wno-unknown-pragmas -Wno-unused  
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -include /src/sys/cddl/compat/opens!
 olaris/sys/debug_compat.h -c 

[head tinderbox] failure on powerpc64/powerpc

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 03:26:33 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 03:26:33 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 03:26:33 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2014-06-27 03:26:33 - cleaning the object tree
TB --- 2014-06-27 03:28:35 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 03:28:40 - At svn revision 267918
TB --- 2014-06-27 03:28:41 - building world
TB --- 2014-06-27 03:28:41 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 03:28:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 03:28:41 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 03:28:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 03:28:41 - SRCCONF=/dev/null
TB --- 2014-06-27 03:28:41 - TARGET=powerpc
TB --- 2014-06-27 03:28:41 - TARGET_ARCH=powerpc64
TB --- 2014-06-27 03:28:41 - TZ=UTC
TB --- 2014-06-27 03:28:41 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 03:28:41 - cd /src
TB --- 2014-06-27 03:28:41 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 03:28:48 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Fri Jun 27 07:42:23 UTC 2014
TB --- 2014-06-27 07:42:23 - generating LINT kernel config
TB --- 2014-06-27 07:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 07:42:23 - /usr/bin/make -B LINT
TB --- 2014-06-27 07:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 07:42:23 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-27 07:42:23 - skipping LINT kernel
TB --- 2014-06-27 07:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 07:42:23 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC
TB --- 2014-06-27 07:42:23 - skipping GENERIC kernel
TB --- 2014-06-27 07:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 07:42:23 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC64
TB --- 2014-06-27 07:42:23 - building GENERIC64 kernel
TB --- 2014-06-27 07:42:23 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 07:42:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 07:42:23 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 07:42:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 07:42:23 - SRCCONF=/dev/null
TB --- 2014-06-27 07:42:23 - TARGET=powerpc
TB --- 2014-06-27 07:42:23 - TARGET_ARCH=powerpc64
TB --- 2014-06-27 07:42:23 - TZ=UTC
TB --- 2014-06-27 07:42:23 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 07:42:23 - cd /src
TB --- 2014-06-27 07:42:23 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
 Kernel build for GENERIC64 started on Fri Jun 27 07:42:24 UTC 2014
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
ctfconvert -L VERSION -g fasttrap_isa.o
cc  -O2 -pipe  -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc  -I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-I/src/sys/cddl/contrib/opensolaris/uts/powerpc -DHAVE_KERNEL_OPTION_HEADERS 
-include /obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ 
-I@/contrib/altq -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64  -msoft-float -mno-altivec 
-mcall-aixdesc -ffreestanding -fstack-protector -gdwarf-2 -finline-limit=15000 
--param inline-unit-growth=100 --param large-function-growth=1000 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -Wno-unknown-pragmas -Wno-unused  
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -inclu!
 de /src/sys/cddl/compat/opensolaris/sys/debug_compat.h -c 
/src/sys/modules/dtrace/fasttrap/../../../cddl/contrib/opensolaris/common/unicode/u8_textprep.c
cc1: warnings being treated as errors
/src/sys/modules/dtrace/fasttrap/../../../cddl/contrib/opensolaris/common/unicode/u8_textprep.c:
 In function 'do_decomp':
/src/sys/modules/dtrace/fasttrap/../../../cddl/contrib/opensolaris/common/unicode/u8_textprep.c:765:
 warning: suggest parentheses around arithmetic in operand of | [-Wparentheses]
/src/sys/modules/dtrace/fasttrap/../../../cddl/contrib/opensolaris/common/unicode/u8_textprep.c:
 In function 'find_composition_start':

Build failed in Jenkins: FreeBSD_HEAD-modules #683

2014-06-27 Thread jenkins-admin
See https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/683/changes

Changes:

[mav] Fix typo in r267481.

MFC after:  3 days

[mjg] Check lower bound of cmsg_len.

If passed cm-cmsg_len was below cmsghdr size the experssion:
datalen = (caddr_t)cm + cm-cmsg_len - (caddr_t)data;

would give negative result. However, in practice it would not
result in a crash because the kernel would try to obtain garbage fds
for given process and would error out with EBADF.

PR: 124908
Submitted by:   campbell mumble.net (modified a little)
MFC after:  1 week

[rpaulo] MFV illumos

4471 DTrace count() with histogram
4472 DTrace full width distribution histograms
4473 DTrace frequency trails

MFC after:  2 weeks

[rpaulo] MFV illumos

4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation is missing checks

MFC after:  2 weeks

[rpaulo] MFV illumos

4477 DTrace should speak JSON

MFC after:  2 weeks

[jfv] Sync the E1000 shared code with Intel internal, this adds fixes,
and more importantly, new I218 adapter support to the em driver.

MFC after: 1 week

--
[...truncated 6889 lines...]
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
--- vnode_if_typedef.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
--- vnode_if.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
--- .depend ---
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../../cddl/compat/opensolaris
 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../../cddl/contrib/opensolaris/uts/common
 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../..
 -I. -I@ -I@/contrib/altq -std=iso9899:1999   
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../../nfsclient/nfs_kdtrace.c
--- depend_subdir_ed ---
=== ed (depend)
--- depend_subdir_dtrace ---
=== dtrace/dtrace (depend)
--- depend_subdir_ed ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/ed/@
 ---
@ - https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/ed/machine
 ---
--- depend_subdir_dtrace ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtrace/@
 ---
--- depend_subdir_ed ---
machine - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/amd64/include
--- depend_subdir_dtrace ---
@ - https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys
--- depend_subdir_ed ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/ed/x86
 ---
--- depend_subdir_dtrace ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtrace/machine
 ---
machine - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/amd64/include
--- depend_subdir_ed ---
x86 - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/x86/include
--- isa_if.h ---
--- depend_subdir_dtrace ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtrace/x86
 ---
--- depend_subdir_ed ---
awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h
--- depend_subdir_dtrace ---
x86 - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/x86/include
--- depend_subdir_ed ---
--- pccarddevs.h ---
--- depend_subdir_dtrace ---
--- bus_if.h ---
--- depend_subdir_ed ---
awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs
--- depend_subdir_dtrace ---
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
--- depend_subdir_ed ---
--- card_if.h ---
awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h
--- depend_subdir_dtrace ---
--- device_if.h ---
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
--- depend_subdir_ed ---
--- pci_if.h ---
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
--- depend_subdir_dtrace ---
--- vnode_if_newproto.h ---
--- depend_subdir_ed ---
--- opt_ed.h ---
--- depend_subdir_dtrace ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
--- depend_subdir_ed ---
: opt_ed.h
--- bus_if.h ---
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
--- depend_subdir_dtrace ---
--- vnode_if_typedef.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
--- depend_subdir_drm ---
=== drm/i915 (depend)
--- depend_subdir_dtrace ---
--- opt_compat.h ---
: opt_compat.h
--- opt_kstack_pages.h ---
: opt_kstack_pages.h
--- opt_nfs.h ---
--- depend_subdir_ed ---
--- device_if.h ---
--- depend_subdir_dtrace ---
: opt_nfs.h
--- depend_subdir_drm ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/drm/i915/@
 ---
--- depend_subdir_dtrace ---
--- 

do we have a generic string-number sysctl mapping library ?

2014-06-27 Thread Luigi Rizzo
Hi,
I have frequently found myself using sysctls to control some kernel
feature where a string would be a better (and sometimes the only)
option than using a numeric value, yet the internal representation
should be numeric for speed and robustness.
Examples are the kern.timecounter, the default scheduler in dummynet,
and now in netmap the selection between native and emulated mode.
I am sure many of you can come up with other cases.

I wonder if we have some support for that already in the sysctl code,
or i should build a generic one next time i need to do that.

Feel free to criticise the approach and suggest better ones.
Right now i am using sysctls because i have a set of macros
and wrapper functions that let me convert them to sysfs
entries when building kernel code on linux, so I have a
portable solutions.

For the details, I'd like to have a mechanism that requires the
kernel programmer supply a (possibly extensible) table of
supported values, and matching constants to be used within
the kernel. A single declaration should generate entries
to get/set the current value as well as list options.
We can discuss frills (such as wildcards, multiple values,etc).

cheers
luigi

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: do we have a generic string-number sysctl mapping library ?

2014-06-27 Thread Trond Endrestøl
On Fri, 27 Jun 2014 11:14+0200, Luigi Rizzo wrote:

 Hi,
 I have frequently found myself using sysctls to control some kernel
 feature where a string would be a better (and sometimes the only)
 option than using a numeric value, yet the internal representation
 should be numeric for speed and robustness.
 Examples are the kern.timecounter, the default scheduler in dummynet,
 and now in netmap the selection between native and emulated mode.
 I am sure many of you can come up with other cases.
 
 I wonder if we have some support for that already in the sysctl code,
 or i should build a generic one next time i need to do that.

In C, according to sysctl(3) you could use sysctlnametomib().
I might have misinterpreted the problem domain.

 Feel free to criticise the approach and suggest better ones.
 Right now i am using sysctls because i have a set of macros
 and wrapper functions that let me convert them to sysfs
 entries when building kernel code on linux, so I have a
 portable solutions.
 
 For the details, I'd like to have a mechanism that requires the
 kernel programmer supply a (possibly extensible) table of
 supported values, and matching constants to be used within
 the kernel. A single declaration should generate entries
 to get/set the current value as well as list options.
 We can discuss frills (such as wildcards, multiple values,etc).
 
 cheers
 luigi

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


FreeBSD iscsi target

2014-06-27 Thread Sreenivasa Honnur
Does freebsd iscsi target supports:
1. ACL (access control lists)
2. iSNS 
3. Multiple connections per session
4. Dynamic Lun allocation/resize
5. Target redirection

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: do we have a generic string-number sysctl mapping library ?

2014-06-27 Thread Luigi Rizzo
On Fri, Jun 27, 2014 at 11:27:56AM +0200, Trond Endrest?l wrote:
 On Fri, 27 Jun 2014 11:14+0200, Luigi Rizzo wrote:
 
  Hi,
  I have frequently found myself using sysctls to control some kernel
  feature where a string would be a better (and sometimes the only)
  option than using a numeric value, yet the internal representation
  should be numeric for speed and robustness.
  Examples are the kern.timecounter, the default scheduler in dummynet,
  and now in netmap the selection between native and emulated mode.
  I am sure many of you can come up with other cases.
  
  I wonder if we have some support for that already in the sysctl code,
  or i should build a generic one next time i need to do that.
 
 In C, according to sysctl(3) you could use sysctlnametomib().
 I might have misinterpreted the problem domain.

different problem. Example below:
right now i have dev.netmap.admode which can assume integer values,
i do not need a special handler, and the code in the kernel uses
1, 2 or everything else to decide what to do (resetting
everything else to 0 opportunistically).

I want to have a generic handler that accepts a set of predefined
string values (specifically any native emulated) and converts
them to integers through some user-specificed mapping so the
kernel can still do the quick tests but users don't have
to remember what '2' means

cheers
luigi
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


PostgreSQL performance on FreeBSD

2014-06-27 Thread Konstantin Belousov
Hi,
I did some measurements and hacks to see about the performance and
scalability of PostgreSQL 9.3 on FreeBSD, sponsored by The FreeBSD
Foundation.

The results are described in https://kib.kiev.ua/kib/pgsql_perf.pdf.
The uncommitted patches, referenced in the article, are available as
https://kib.kiev.ua/kib/pig1.patch.txt
https://kib.kiev.ua/kib/patch-2


pgpcItNw7QgTz.pgp
Description: PGP signature


Re: PostgreSQL performance on FreeBSD

2014-06-27 Thread Mark Felder
June 27 2014 7:56 AM, Konstantin Belousov  wrote: 

 Hi,
 I did some measurements and hacks to see about the performance and
 scalability of PostgreSQL 9.3 on FreeBSD, sponsored by The FreeBSD
 Foundation.
 
 The results are described in https://kib.kiev.ua/kib/pgsql_perf.pdf.
 The uncommitted patches, referenced in the article, are available as
 https://kib.kiev.ua/kib/pig1.patch.txt
 https://kib.kiev.ua/kib/patch-2
 

Thank you for taking the time to do this benchmark.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: PostgreSQL performance on FreeBSD

2014-06-27 Thread Tobias Grosser

On 27/06/2014 14:56, Konstantin Belousov wrote:

Hi,
I did some measurements and hacks to see about the performance and
scalability of PostgreSQL 9.3 on FreeBSD, sponsored by The FreeBSD
Foundation.

The results are described in https://kib.kiev.ua/kib/pgsql_perf.pdf.
The uncommitted patches, referenced in the article, are available as
https://kib.kiev.ua/kib/pig1.patch.txt
https://kib.kiev.ua/kib/patch-2


Interesting. Did you report the clang bug upstream?

Tobias

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: PostgreSQL performance on FreeBSD

2014-06-27 Thread John Baldwin
On Friday, June 27, 2014 8:56:13 am Konstantin Belousov wrote:
 Hi,
 I did some measurements and hacks to see about the performance and
 scalability of PostgreSQL 9.3 on FreeBSD, sponsored by The FreeBSD
 Foundation.
 
 The results are described in https://kib.kiev.ua/kib/pgsql_perf.pdf.
 The uncommitted patches, referenced in the article, are available as
 https://kib.kiev.ua/kib/pig1.patch.txt
 https://kib.kiev.ua/kib/patch-2

Did you run the same benchmark on the same hardware with any other OS's to 
compare results?

-- 
John Baldwin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: do we have a generic string-number sysctl mapping library ?

2014-06-27 Thread John Baldwin
On Friday, June 27, 2014 5:14:59 am Luigi Rizzo wrote:
 Hi,
 I have frequently found myself using sysctls to control some kernel
 feature where a string would be a better (and sometimes the only)
 option than using a numeric value, yet the internal representation
 should be numeric for speed and robustness.
 Examples are the kern.timecounter, the default scheduler in dummynet,
 and now in netmap the selection between native and emulated mode.
 I am sure many of you can come up with other cases.
 
 I wonder if we have some support for that already in the sysctl code,
 or i should build a generic one next time i need to do that.
 
 Feel free to criticise the approach and suggest better ones.
 Right now i am using sysctls because i have a set of macros
 and wrapper functions that let me convert them to sysfs
 entries when building kernel code on linux, so I have a
 portable solutions.
 
 For the details, I'd like to have a mechanism that requires the
 kernel programmer supply a (possibly extensible) table of
 supported values, and matching constants to be used within
 the kernel. A single declaration should generate entries
 to get/set the current value as well as list options.
 We can discuss frills (such as wildcards, multiple values,etc).

I am not aware of such a beast.  Even just supporting a simple table to map 
labels to indices would be nice and would handle many cases.  I.e. if you
had something like:

struct sysctl_table vals[] = {
   foo,  (void *)1,
   bar,  (void *)2,
   NULL, NULL
};

static int myval;

static int
my_sysctl(SYSCTL_HANDLER_ARGS)
{
void *val;
int error;

val = (void *)myval;
error = sysctl_handle_table(oidp, vals, val, req);
if (error || req-newptr == NULL)
   return (error);
myval = (intptr_t)val;
return (0);
}

sysctl_handle_table() would use the initial value to find a suitable string 
from the table for the old string, etc.  Using void * for the value would 
let you store arbitrary data, etc.

-- 
John Baldwin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: do we have a generic string-number sysctl mapping library ?

2014-06-27 Thread Allan Jude
On 2014-06-27 05:50, Luigi Rizzo wrote:
 On Fri, Jun 27, 2014 at 11:27:56AM +0200, Trond Endrest?l wrote:
 On Fri, 27 Jun 2014 11:14+0200, Luigi Rizzo wrote:

 Hi,
 I have frequently found myself using sysctls to control some kernel
 feature where a string would be a better (and sometimes the only)
 option than using a numeric value, yet the internal representation
 should be numeric for speed and robustness.
 Examples are the kern.timecounter, the default scheduler in dummynet,
 and now in netmap the selection between native and emulated mode.
 I am sure many of you can come up with other cases.

 I wonder if we have some support for that already in the sysctl code,
 or i should build a generic one next time i need to do that.

 In C, according to sysctl(3) you could use sysctlnametomib().
 I might have misinterpreted the problem domain.
 
 different problem. Example below:
 right now i have dev.netmap.admode which can assume integer values,
 i do not need a special handler, and the code in the kernel uses
 1, 2 or everything else to decide what to do (resetting
 everything else to 0 opportunistically).
 
 I want to have a generic handler that accepts a set of predefined
 string values (specifically any native emulated) and converts
 them to integers through some user-specificed mapping so the
 kernel can still do the quick tests but users don't have
 to remember what '2' means
 
 cheers
 luigi
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
 

If i understand what you are looking for, it sounds like what
vfs.zfs.vol.mode uses. the values are 0, 1 or 2, but can also be
assigned using the keywords 'geom', 'dev', or 'none'

-- 
Allan Jude



signature.asc
Description: OpenPGP digital signature


Re: PostgreSQL performance on FreeBSD

2014-06-27 Thread Konstantin Belousov
On Fri, Jun 27, 2014 at 10:57:53AM -0400, John Baldwin wrote:
 On Friday, June 27, 2014 8:56:13 am Konstantin Belousov wrote:
  Hi,
  I did some measurements and hacks to see about the performance and
  scalability of PostgreSQL 9.3 on FreeBSD, sponsored by The FreeBSD
  Foundation.
  
  The results are described in https://kib.kiev.ua/kib/pgsql_perf.pdf.
  The uncommitted patches, referenced in the article, are available as
  https://kib.kiev.ua/kib/pig1.patch.txt
  https://kib.kiev.ua/kib/patch-2
 
 Did you run the same benchmark on the same hardware with any other OS's to 
 compare results?

No.

FWIW, before the failing after the 30 clients is corrected, I do not
think it is much interesting to do such comparision.


pgp6R89pp0kcX.pgp
Description: PGP signature


sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Danilo Egea
Hello folks,

I've just updated my system (current) and now I'm getting this message:
[danilo src$] uname -a
uname: sysctl: Cannot allocate memory


Some programs are failing due this, like portmaster and chromium.

This commit (r267961) has a lot of changes in the sysctl subsystem.

Thanks!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Build failed in Jenkins: FreeBSD_HEAD-modules #684

2014-06-27 Thread jenkins-admin
See https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/684/changes

Changes:

[emaste] Use a common tunable to choose between vt(4)/sc(4)

With this change and previous work from ray@ it will be possible to put
both in GENERIC, and have one enabled by default, but allow the other to
be selected via the loader.

(The previous implementation had separate kern.vt.disable and
hw.syscons.disable tunables, and would panic if both drivers were
compiled in and neither was explicitly disabled.)

MFC after:  1 week
Sponsored by:   The FreeBSD Foundation

[hselasky] Extend the meaning of the CTLFLAG_TUN flag to automatically check if
there is an environment variable which shall initialize the SYSCTL
during early boot. This works for all SYSCTL types both statically and
dynamically created ones, except for the SYSCTL NODE type and SYSCTLs
which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to
be used in the case a tunable sysctl has a custom initialisation
function allowing the sysctl to still be marked as a tunable. The
kernel SYSCTL API is mostly the same, with a few exceptions for some
special operations like iterating childrens of a static/extern SYSCTL
node. This operation should probably be made into a factored out
common macro, hence some device drivers use this. The reason for
changing the SYSCTL API was the need for a SYSCTL parent OID pointer
and not only the SYSCTL parent OID list pointer in order to quickly
generate the sysctl path. The motivation behind this patch is to avoid
parameter loading cludges inside the OFED driver subsystem. Instead of
adding special code to the OFED driver subsystem to post-load tunables
into dynamically created sysctls, we generalize this in the kernel.

Other changes:
- Corrected a possibly incorrect sysctl name from hw.cbb.intr_mask
to hw.pcic.intr_mask.
- Removed redundant TUNABLE statements throughout the kernel.
- Some minor code rewrites in connection to removing not needed
TUNABLE statements.
- Added a missing SYSCTL_DECL().
- Wrapped two very long lines.
- Avoid malloc()/free() inside sysctl string handling, in case it is
called to initialize a sysctl from a tunable, hence malloc()/free() is
not ready when sysctls from the sysctl dataset are registered.
- Bumped FreeBSD version to indicate SYSCTL API change.

MFC after:  2 weeks
Sponsored by:   Mellanox Technologies

[hselasky] Add proper rangechecks in axge_rx_frame() function and
fix receive loop header parsing.

MFC after:  3 days
PR: 191432

--
[...truncated 6941 lines...]
--- depend_subdir_dtrace ---
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/x86
 ---
x86 - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/x86/include
--- vnode_if_newproto.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
--- vnode_if_typedef.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
--- vnode_if.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
--- .depend ---
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../../cddl/compat/opensolaris
 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../../cddl/contrib/opensolaris/uts/common
 
-Ihttps://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../..
 -I. -I@ -I@/contrib/altq -std=iso9899:1999   
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtnfsclient/../../../nfsclient/nfs_kdtrace.c
=== dtrace/dtrace (depend)
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtrace/@
 ---
@ - https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtrace/machine
 ---
machine - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/amd64/include
--- 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules/dtrace/dtrace/x86
 ---
x86 - 
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/x86/include
--- bus_if.h ---
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
--- device_if.h ---
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
--- vnode_if_newproto.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
--- vnode_if_typedef.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
--- opt_compat.h ---
: opt_compat.h
--- opt_kstack_pages.h ---
: opt_kstack_pages.h
--- opt_nfs.h ---
: opt_nfs.h
--- opt_hwpmc_hooks.h ---
: opt_hwpmc_hooks.h
--- vnode_if.h ---
--- depend_subdir_drm ---
=== drm/i915 (depend)
--- depend_subdir_dtrace ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
--- depend_subdir_drm ---
--- 

[head tinderbox] failure on powerpc/powerpc

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 17:56:52 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 17:56:52 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 17:56:52 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2014-06-27 17:56:52 - cleaning the object tree
TB --- 2014-06-27 17:58:12 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 17:58:26 - At svn revision 267952
TB --- 2014-06-27 17:58:27 - building world
TB --- 2014-06-27 17:58:27 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 17:58:27 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 17:58:27 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 17:58:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 17:58:27 - SRCCONF=/dev/null
TB --- 2014-06-27 17:58:27 - TARGET=powerpc
TB --- 2014-06-27 17:58:27 - TARGET_ARCH=powerpc
TB --- 2014-06-27 17:58:27 - TZ=UTC
TB --- 2014-06-27 17:58:27 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 17:58:27 - cd /src
TB --- 2014-06-27 17:58:27 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 17:58:35 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Fri Jun 27 21:39:07 UTC 2014
TB --- 2014-06-27 21:39:07 - generating LINT kernel config
TB --- 2014-06-27 21:39:07 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 21:39:07 - /usr/bin/make -B LINT
TB --- 2014-06-27 21:39:08 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 21:39:08 - 
/obj/powerpc.powerpc/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-27 21:39:08 - building LINT kernel
TB --- 2014-06-27 21:39:08 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 21:39:08 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 21:39:08 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 21:39:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 21:39:08 - SRCCONF=/dev/null
TB --- 2014-06-27 21:39:08 - TARGET=powerpc
TB --- 2014-06-27 21:39:08 - TARGET_ARCH=powerpc
TB --- 2014-06-27 21:39:08 - TZ=UTC
TB --- 2014-06-27 21:39:08 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 21:39:08 - cd /src
TB --- 2014-06-27 21:39:08 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Fri Jun 27 21:39:08 UTC 2014
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
[...]
rm -f .depend
CC='cc ' mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
-I/obj/powerpc.powerpc/src/sys/LINT -std=iso9899:1999   
/src/sys/nfsclient/nfs_kdtrace.c
=== dtrace/dtrace (depend)
@ - /src/sys
machine - /src/sys/powerpc/include
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
ln -sf /obj/powerpc.powerpc/src/sys/LINT/opt_compat.h opt_compat.h
ln -sf /obj/powerpc.powerpc/src/sys/LINT/opt_kstack_pages.h opt_kstack_pages.h
ln -sf /obj/powerpc.powerpc/src/sys/LINT/opt_nfs.h opt_nfs.h
ln -sf /obj/powerpc.powerpc/src/sys/LINT/opt_hwpmc_hooks.h opt_hwpmc_hooks.h
cc  -c -O2 -pipe -DDIS_MEM -DSMP -fno-strict-aliasing -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/dev/dtrace -I/src/sys/cddl/dev/dtrace/powerpc 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq 
-mlongcall -fno-omit-frame-pointer -I/obj/powerpc.powerpc/src/sys/LINT 
-fno-builtin -msoft-float -mno-altivec -ffreestanding -fstack-protector 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign 
-fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option 
-Wno-unknown-pragmas -Wno-parentheses -Wno-uninitialized -Wno-cast-qual 
-Wno-unused -finline-limit=15000 --param inline-unit-growth=100 --param large!
 -function-growth=1000 -include 
/src/sys/cddl/compat/opensolaris/sys/debug_compat.h  
@/powerpc/powerpc/genassym.c
sh @/kern/genassym.sh genassym.o  assym.s
rm -f .depend
CC='cc ' mkdep -f .depend -a   -nostdinc -DDIS_MEM -DSMP -D_KERNEL -DKLD_MODULE 

[head tinderbox] failure on powerpc64/powerpc

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 18:29:03 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 18:29:03 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 18:29:03 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2014-06-27 18:29:03 - cleaning the object tree
TB --- 2014-06-27 18:30:41 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 18:30:48 - At svn revision 267952
TB --- 2014-06-27 18:30:49 - building world
TB --- 2014-06-27 18:30:49 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 18:30:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 18:30:49 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 18:30:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 18:30:49 - SRCCONF=/dev/null
TB --- 2014-06-27 18:30:49 - TARGET=powerpc
TB --- 2014-06-27 18:30:49 - TARGET_ARCH=powerpc64
TB --- 2014-06-27 18:30:49 - TZ=UTC
TB --- 2014-06-27 18:30:49 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 18:30:49 - cd /src
TB --- 2014-06-27 18:30:49 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 18:30:56 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Fri Jun 27 22:42:23 UTC 2014
TB --- 2014-06-27 22:42:23 - generating LINT kernel config
TB --- 2014-06-27 22:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 22:42:23 - /usr/bin/make -B LINT
TB --- 2014-06-27 22:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 22:42:23 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-27 22:42:23 - skipping LINT kernel
TB --- 2014-06-27 22:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 22:42:23 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC
TB --- 2014-06-27 22:42:23 - skipping GENERIC kernel
TB --- 2014-06-27 22:42:23 - cd /src/sys/powerpc/conf
TB --- 2014-06-27 22:42:23 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC64
TB --- 2014-06-27 22:42:23 - building GENERIC64 kernel
TB --- 2014-06-27 22:42:23 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 22:42:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 22:42:23 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 22:42:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 22:42:23 - SRCCONF=/dev/null
TB --- 2014-06-27 22:42:23 - TARGET=powerpc
TB --- 2014-06-27 22:42:23 - TARGET_ARCH=powerpc64
TB --- 2014-06-27 22:42:23 - TZ=UTC
TB --- 2014-06-27 22:42:23 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 22:42:23 - cd /src
TB --- 2014-06-27 22:42:23 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
 Kernel build for GENERIC64 started on Fri Jun 27 22:42:23 UTC 2014
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
[...]
rm -f .depend
CC='cc ' mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64 -std=iso9899:1999   
/src/sys/nfsclient/nfs_kdtrace.c
=== dtrace/dtrace (depend)
@ - /src/sys
machine - /src/sys/powerpc/include
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
ln -sf /obj/powerpc.powerpc64/src/sys/GENERIC64/opt_compat.h opt_compat.h
ln -sf /obj/powerpc.powerpc64/src/sys/GENERIC64/opt_kstack_pages.h 
opt_kstack_pages.h
ln -sf /obj/powerpc.powerpc64/src/sys/GENERIC64/opt_nfs.h opt_nfs.h
ln -sf /obj/powerpc.powerpc64/src/sys/GENERIC64/opt_hwpmc_hooks.h 
opt_hwpmc_hooks.h
cc  -c -O2 -pipe -DDIS_MEM -DSMP -fno-strict-aliasing -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I/src/sys/cddl/compat/opensolaris 
-I/src/sys/cddl/dev/dtrace -I/src/sys/cddl/dev/dtrace/powerpc 
-I/src/sys/cddl/contrib/opensolaris/uts/common -I/src/sys 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64 -msoft-float -mno-altivec 
-mcall-aixdesc -ffreestanding -fstack-protector -gdwarf-2 -finline-limit=15000 
--param inline-unit-growth=100 --param large-function-growth=1000 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 

Re: svn commit: r267977 - head/bin/mv

2014-06-27 Thread Xin Li
[moving discussion to freebsd-current@]

On 06/27/14 15:23, Jilles Tjoelker wrote:
 On Fri, Jun 27, 2014 at 07:57:54PM +, Xin LI wrote:
 Author: delphij
 Date: Fri Jun 27 19:57:54 2014
 New Revision: 267977
 URL: http://svnweb.freebsd.org/changeset/base/267977
 
 Log:
   Always set UF_ARCHIVE on target (because they are by definition new files
   and should be archived) and ignore error when we can't set it (e.g. NFS).
 
   Reviewed by:   ken
   MFC after: 2 weeks
 
 Modified:
   head/bin/mv/mv.c
 
 Modified: head/bin/mv/mv.c
 ==
 --- head/bin/mv/mv.c Fri Jun 27 19:50:30 2014(r267976)
 +++ head/bin/mv/mv.c Fri Jun 27 19:57:54 2014(r267977)
 @@ -337,8 +337,8 @@ err: if (unlink(to))
   * on a file that we copied, i.e., that we didn't create.)
   */
  errno = 0;
 -if (fchflags(to_fd, sbp-st_flags))
 -if (errno != EOPNOTSUPP || sbp-st_flags != 0)
 +if (fchflags(to_fd, sbp-st_flags | UF_ARCHIVE))
 +if (errno != EOPNOTSUPP || ((sbp-st_flags  ~UF_ARCHIVE) != 0))
  warn(%s: set flags (was: 0%07o), to, sbp-st_flags);
  
  tval[0].tv_sec = sbp-st_atime;
 
 The part ignoring failures to set UF_ARCHIVE is OK. However, it seems
 inconsistent to set UF_ARCHIVE on a cross-filesystem mv of a single
 file, but not on a cross-filesystem mv of a directory tree or a file
 newly created via shell output redirection.
 
 If UF_ARCHIVE is supposed to be set automatically, I think this should
 be done in the kernel, like msdosfs already does. However, I'm not sure
 this is actually a useful feature: backup programs are smarter than an
 archive attribute these days.

The flag is supposed to be set automatically (as my understanding of the
ZFS portion of implementation).

However in order to implement that way, we will have to stat() the
target file (attached).  Personally, I think this is a little bit
wasteful, but it would probably something that we have to do if we
implement a switch to turn off automatic UF_ARCHIVE behavior.

Cheers
-- 
Xin LI delp...@delphij.nethttps://www.delphij.net/
FreeBSD - The Power to Serve!   Live free or die
Index: bin/mv/mv.c
===
--- bin/mv/mv.c (revision 267984)
+++ bin/mv/mv.c (working copy)
@@ -278,6 +278,7 @@ fastcopy(const char *from, const char *to, struct
static char *bp = NULL;
mode_t oldmode;
int nread, from_fd, to_fd;
+   struct stat to_sb;
 
if ((from_fd = open(from, O_RDONLY, 0))  0) {
warn(fastcopy: open() failed (from): %s, from);
@@ -329,6 +330,7 @@ err:if (unlink(to))
 */
preserve_fd_acls(from_fd, to_fd, from, to);
(void)close(from_fd);
+
/*
 * XXX
 * NFS doesn't support chflags; ignore errors unless there's reason
@@ -336,10 +338,19 @@ err:  if (unlink(to))
 * if the server supports flags and we were trying to *remove* flags
 * on a file that we copied, i.e., that we didn't create.)
 */
-   errno = 0;
-   if (fchflags(to_fd, sbp-st_flags | UF_ARCHIVE))
-   if (errno != EOPNOTSUPP || ((sbp-st_flags  ~UF_ARCHIVE) != 0))
-   warn(%s: set flags (was: 0%07o), to, sbp-st_flags);
+   if (fstat(to_fd, to_sb) == 0) {
+   if ((sbp-st_flags   ~UF_ARCHIVE) !=
+   (to_sb.st_flags  ~UF_ARCHIVE)) {
+   errno = 0;
+   if (fchflags(to_fd,
+   sbp-st_flags | (to_sb.st_flags  UF_ARCHIVE)))
+   if (errno != EOPNOTSUPP ||
+   ((sbp-st_flags  ~UF_ARCHIVE) != 0))
+   warn(%s: set flags (was: 0%07o),
+   to, sbp-st_flags);
+   }
+   } else
+   warn(%s: can not stat, to);
 
tval[0].tv_sec = sbp-st_atime;
tval[1].tv_sec = sbp-st_mtime;
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

[head tinderbox] failure on i386/i386

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 22:50:50 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 22:50:50 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 22:50:50 - starting HEAD tinderbox run for i386/i386
TB --- 2014-06-27 22:50:50 - cleaning the object tree
TB --- 2014-06-27 22:50:50 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 22:50:55 - At svn revision 267987
TB --- 2014-06-27 22:50:56 - building world
TB --- 2014-06-27 22:50:56 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 22:50:56 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 22:50:56 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 22:50:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 22:50:56 - SRCCONF=/dev/null
TB --- 2014-06-27 22:50:56 - TARGET=i386
TB --- 2014-06-27 22:50:56 - TARGET_ARCH=i386
TB --- 2014-06-27 22:50:56 - TZ=UTC
TB --- 2014-06-27 22:50:56 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 22:50:56 - cd /src
TB --- 2014-06-27 22:50:56 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 22:51:03 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ 
-I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ 
-I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ 
-I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 

[head tinderbox] failure on armv6/arm

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 22:50:50 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 22:50:50 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 22:50:50 - starting HEAD tinderbox run for armv6/arm
TB --- 2014-06-27 22:50:51 - cleaning the object tree
TB --- 2014-06-27 22:50:51 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 22:50:55 - At svn revision 267987
TB --- 2014-06-27 22:50:56 - building world
TB --- 2014-06-27 22:50:56 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 22:50:56 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 22:50:56 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 22:50:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 22:50:56 - SRCCONF=/dev/null
TB --- 2014-06-27 22:50:56 - TARGET=arm
TB --- 2014-06-27 22:50:56 - TARGET_ARCH=armv6
TB --- 2014-06-27 22:50:56 - TZ=UTC
TB --- 2014-06-27 22:50:56 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 22:50:56 - cd /src
TB --- 2014-06-27 22:50:56 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 22:51:03 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.armv6/src/tmp\ 
-I/obj/arm.armv6/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.armv6/src/tmp\ 
-I/obj/arm.armv6/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.armv6/src/tmp\ 
-I/obj/arm.armv6/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 

[head tinderbox] failure on arm/arm

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 22:50:50 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 22:50:50 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 22:50:50 - starting HEAD tinderbox run for arm/arm
TB --- 2014-06-27 22:50:50 - cleaning the object tree
TB --- 2014-06-27 22:50:50 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 22:50:55 - At svn revision 267987
TB --- 2014-06-27 22:50:56 - building world
TB --- 2014-06-27 22:50:56 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 22:50:56 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 22:50:56 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 22:50:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 22:50:56 - SRCCONF=/dev/null
TB --- 2014-06-27 22:50:56 - TARGET=arm
TB --- 2014-06-27 22:50:56 - TARGET_ARCH=arm
TB --- 2014-06-27 22:50:56 - TZ=UTC
TB --- 2014-06-27 22:50:56 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 22:50:56 - cd /src
TB --- 2014-06-27 22:50:56 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 22:51:03 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.arm/src/tmp\ 
-I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.arm/src/tmp\ 
-I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.arm/src/tmp\ 
-I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 

[head tinderbox] failure on amd64/amd64

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 22:50:50 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 22:50:50 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 22:50:50 - starting HEAD tinderbox run for amd64/amd64
TB --- 2014-06-27 22:50:50 - cleaning the object tree
TB --- 2014-06-27 22:50:50 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 22:50:55 - At svn revision 267987
TB --- 2014-06-27 22:50:56 - building world
TB --- 2014-06-27 22:50:56 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 22:50:56 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 22:50:56 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 22:50:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 22:50:56 - SRCCONF=/dev/null
TB --- 2014-06-27 22:50:56 - TARGET=amd64
TB --- 2014-06-27 22:50:56 - TARGET_ARCH=amd64
TB --- 2014-06-27 22:50:56 - TZ=UTC
TB --- 2014-06-27 22:50:56 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 22:50:56 - cd /src
TB --- 2014-06-27 22:50:56 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 22:51:03 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/amd64.amd64/src/tmp\ 
-I/obj/amd64.amd64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/amd64.amd64/src/tmp\ 
-I/obj/amd64.amd64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/amd64.amd64/src/tmp\ 
-I/obj/amd64.amd64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 

[head tinderbox] failure on i386/pc98

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-27 23:57:40 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-27 23:57:40 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-27 23:57:40 - starting HEAD tinderbox run for i386/pc98
TB --- 2014-06-27 23:57:40 - cleaning the object tree
TB --- 2014-06-27 23:57:40 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-27 23:57:52 - At svn revision 267987
TB --- 2014-06-27 23:57:53 - building world
TB --- 2014-06-27 23:57:53 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-27 23:57:53 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-27 23:57:53 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-27 23:57:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-27 23:57:53 - SRCCONF=/dev/null
TB --- 2014-06-27 23:57:53 - TARGET=pc98
TB --- 2014-06-27 23:57:53 - TARGET_ARCH=i386
TB --- 2014-06-27 23:57:53 - TZ=UTC
TB --- 2014-06-27 23:57:53 - __MAKE_CONF=/dev/null
TB --- 2014-06-27 23:57:53 - cd /src
TB --- 2014-06-27 23:57:53 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Fri Jun 27 23:58:00 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/pc98.i386/src/tmp\ 
-I/obj/pc98.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/pc98.i386/src/tmp\ 
-I/obj/pc98.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/pc98.i386/src/tmp\ 
-I/obj/pc98.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 

[head tinderbox] failure on powerpc/powerpc

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-28 01:06:49 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 01:06:49 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 01:06:49 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2014-06-28 01:06:49 - cleaning the object tree
TB --- 2014-06-28 01:08:04 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 01:08:09 - At svn revision 267987
TB --- 2014-06-28 01:08:10 - building world
TB --- 2014-06-28 01:08:10 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 01:08:10 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 01:08:10 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 01:08:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 01:08:10 - SRCCONF=/dev/null
TB --- 2014-06-28 01:08:10 - TARGET=powerpc
TB --- 2014-06-28 01:08:10 - TARGET_ARCH=powerpc
TB --- 2014-06-28 01:08:10 - TZ=UTC
TB --- 2014-06-28 01:08:10 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 01:08:10 - cd /src
TB --- 2014-06-28 01:08:10 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Sat Jun 28 01:08:20 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\powerpc-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/powerpc.powerpc/src/tmp\ 
-I/obj/powerpc.powerpc/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\powerpc-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/powerpc.powerpc/src/tmp\ 
-I/obj/powerpc.powerpc/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\powerpc-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/powerpc.powerpc/src/tmp\ 
-I/obj/powerpc.powerpc/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 

[head tinderbox] failure on powerpc64/powerpc

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-28 01:47:59 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 01:47:59 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 01:47:59 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2014-06-28 01:47:59 - cleaning the object tree
TB --- 2014-06-28 01:49:29 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 01:49:34 - At svn revision 267987
TB --- 2014-06-28 01:49:35 - building world
TB --- 2014-06-28 01:49:35 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 01:49:35 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 01:49:35 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 01:49:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 01:49:35 - SRCCONF=/dev/null
TB --- 2014-06-28 01:49:35 - TARGET=powerpc
TB --- 2014-06-28 01:49:35 - TARGET_ARCH=powerpc64
TB --- 2014-06-28 01:49:35 - TZ=UTC
TB --- 2014-06-28 01:49:35 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 01:49:35 - cd /src
TB --- 2014-06-28 01:49:35 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Sat Jun 28 01:49:42 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\powerpc64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/powerpc.powerpc64/src/tmp\ 
-I/obj/powerpc.powerpc64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  
-c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\powerpc64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/powerpc.powerpc64/src/tmp\ 
-I/obj/powerpc.powerpc64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  
-c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\powerpc64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/powerpc.powerpc64/src/tmp\ 
-I/obj/powerpc.powerpc64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  
-c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 

Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Hans Petter Selasky

On 06/27/14 20:51, Danilo Egea wrote:

Hello folks,

I've just updated my system (current) and now I'm getting this message:
[danilo src$] uname -a
uname: sysctl: Cannot allocate memory


Some programs are failing due this, like portmaster and chromium.

This commit (r267961) has a lot of changes in the sysctl subsystem.

Thanks!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org



I'll have a look ASAP.

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Hans Petter Selasky

On 06/27/14 20:51, Danilo Egea wrote:

Hello folks,

I've just updated my system (current) and now I'm getting this message:
[danilo src$] uname -a
uname: sysctl: Cannot allocate memory


Some programs are failing due this, like portmaster and chromium.

This commit (r267961) has a lot of changes in the sysctl subsystem.

Thanks!


Hi folks,

Sorry about the breakage. There appears to be some special case for 
read-only MIB SYSCTL strings which was ending up in an error code that's 
not so well documented. Sorry that it is not possible for me to test 
absolutely everything.


Testing done from my side:

- Several universe builds
- Sysctl functionality has been verified and tested.

I'm going to pull in the change again with the fix for uname. If there 
are more problems popping up I need your help to test this patch.


Thanks for your patience!

--HPS

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Hans Petter Selasky

On 06/28/14 05:42, Hans Petter Selasky wrote:

On 06/27/14 20:51, Danilo Egea wrote:

Hello folks,

I've just updated my system (current) and now I'm getting this message:
[danilo src$] uname -a
uname: sysctl: Cannot allocate memory


Some programs are failing due this, like portmaster and chromium.

This commit (r267961) has a lot of changes in the sysctl subsystem.

Thanks!


Hi folks,

Sorry about the breakage. There appears to be some special case for
read-only MIB SYSCTL strings which was ending up in an error code that's
not so well documented. Sorry that it is not possible for me to test
absolutely everything.

Testing done from my side:

- Several universe builds
- Sysctl functionality has been verified and tested.

I'm going to pull in the change again with the fix for uname. If there
are more problems popping up I need your help to test this patch.

Thanks for your patience!

--HPS


Fixed in:

r267992

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/i386

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-28 04:10:47 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 04:10:47 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 04:10:47 - starting HEAD tinderbox run for i386/i386
TB --- 2014-06-28 04:10:47 - cleaning the object tree
TB --- 2014-06-28 04:11:57 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 04:12:02 - At svn revision 267993
TB --- 2014-06-28 04:12:03 - building world
TB --- 2014-06-28 04:12:03 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 04:12:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 04:12:03 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 04:12:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 04:12:03 - SRCCONF=/dev/null
TB --- 2014-06-28 04:12:03 - TARGET=i386
TB --- 2014-06-28 04:12:03 - TARGET_ARCH=i386
TB --- 2014-06-28 04:12:03 - TZ=UTC
TB --- 2014-06-28 04:12:03 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 04:12:03 - cd /src
TB --- 2014-06-28 04:12:03 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Sat Jun 28 04:12:10 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ 
-I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ 
-I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ 
-I/obj/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ 

[head tinderbox] failure on armv6/arm

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-28 04:10:47 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 04:10:47 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 04:10:47 - starting HEAD tinderbox run for armv6/arm
TB --- 2014-06-28 04:10:48 - cleaning the object tree
TB --- 2014-06-28 04:12:07 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 04:12:10 - At svn revision 267993
TB --- 2014-06-28 04:12:11 - building world
TB --- 2014-06-28 04:12:11 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 04:12:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 04:12:11 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 04:12:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 04:12:11 - SRCCONF=/dev/null
TB --- 2014-06-28 04:12:11 - TARGET=arm
TB --- 2014-06-28 04:12:11 - TARGET_ARCH=armv6
TB --- 2014-06-28 04:12:11 - TZ=UTC
TB --- 2014-06-28 04:12:11 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 04:12:11 - cd /src
TB --- 2014-06-28 04:12:11 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Sat Jun 28 04:12:18 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.armv6/src/tmp\ 
-I/obj/arm.armv6/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.armv6/src/tmp\ 
-I/obj/arm.armv6/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.armv6/src/tmp\ 
-I/obj/arm.armv6/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\armv6-gnueabi-freebsd11.0\ 

[head tinderbox] failure on amd64/amd64

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-28 04:10:47 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 04:10:47 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 04:10:47 - starting HEAD tinderbox run for amd64/amd64
TB --- 2014-06-28 04:10:47 - cleaning the object tree
TB --- 2014-06-28 04:11:58 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 04:12:02 - At svn revision 267993
TB --- 2014-06-28 04:12:03 - building world
TB --- 2014-06-28 04:12:03 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 04:12:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 04:12:03 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 04:12:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 04:12:03 - SRCCONF=/dev/null
TB --- 2014-06-28 04:12:03 - TARGET=amd64
TB --- 2014-06-28 04:12:03 - TARGET_ARCH=amd64
TB --- 2014-06-28 04:12:03 - TZ=UTC
TB --- 2014-06-28 04:12:03 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 04:12:03 - cd /src
TB --- 2014-06-28 04:12:03 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Sat Jun 28 04:12:10 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/amd64.amd64/src/tmp\ 
-I/obj/amd64.amd64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/amd64.amd64/src/tmp\ 
-I/obj/amd64.amd64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/amd64.amd64/src/tmp\ 
-I/obj/amd64.amd64/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\x86_64-unknown-freebsd11.0\ 

[head tinderbox] failure on arm/arm

2014-06-27 Thread FreeBSD Tinderbox
TB --- 2014-06-28 04:10:47 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 04:10:47 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 04:10:47 - starting HEAD tinderbox run for arm/arm
TB --- 2014-06-28 04:10:47 - cleaning the object tree
TB --- 2014-06-28 04:11:58 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 04:12:02 - At svn revision 267993
TB --- 2014-06-28 04:12:03 - building world
TB --- 2014-06-28 04:12:03 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 04:12:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 04:12:03 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 04:12:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 04:12:03 - SRCCONF=/dev/null
TB --- 2014-06-28 04:12:03 - TARGET=arm
TB --- 2014-06-28 04:12:03 - TARGET_ARCH=arm
TB --- 2014-06-28 04:12:03 - TZ=UTC
TB --- 2014-06-28 04:12:03 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 04:12:03 - cd /src
TB --- 2014-06-28 04:12:03 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Sat Jun 28 04:12:10 UTC 2014
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
[...]
=== lib/clang/libllvmmipsinfo (all)
c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo
 -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I. 
-I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.arm/src/tmp\ 
-I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
 -o MipsTargetInfo.o
building static llvmmipsinfo library
ranlib -D libllvmmipsinfo.a
=== lib/clang/libllvmmipsinstprinter (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter
 -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips 
-I. 
-I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.arm/src/tmp\ 
-I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
 -o MipsInstPrinter.o
building static llvmmipsinstprinter library
ranlib -D libllvmmipsinstprinter.a
=== lib/clang/libllvmpowerpcasmparser (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser
 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC
 -I. 
-I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 
-DDEFAULT_SYSROOT=\/obj/arm.arm/src/tmp\ 
-I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c 
/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 -o PPCAsmParser.o
building static llvmpowerpcasmparser library
ranlib -D libllvmpowerpcasmparser.a
=== lib/clang/libllvmpowerpccodegen (all)
c++  -O2 -pipe 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/include 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/clang/include
 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC 
-I. 
-I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -fno-strict-aliasing 
-DLLVM_DEFAULT_TARGET_TRIPLE=\arm-gnueabi-freebsd11.0\ 
-DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ 

Re: sysctl: Cannot allocate memory after r267961

2014-06-27 Thread Danilo Egea
On 06/28/14 01:03, Hans Petter Selasky wrote:
 On 06/28/14 05:42, Hans Petter Selasky wrote:
 On 06/27/14 20:51, Danilo Egea wrote:
 Hello folks,

 I've just updated my system (current) and now I'm getting this message:
 [danilo src$] uname -a
 uname: sysctl: Cannot allocate memory


 Some programs are failing due this, like portmaster and chromium.

 This commit (r267961) has a lot of changes in the sysctl subsystem.

 Thanks!

 Hi folks,

 Sorry about the breakage. There appears to be some special case for
 read-only MIB SYSCTL strings which was ending up in an error code that's
 not so well documented. Sorry that it is not possible for me to test
 absolutely everything.

 Testing done from my side:

 - Several universe builds
 - Sysctl functionality has been verified and tested.

 I'm going to pull in the change again with the fix for uname. If there
 are more problems popping up I need your help to test this patch.

 Thanks for your patience!

 --HPS

 Fixed in:

 r267992

 --HPS


It's working. Thanks!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org