Re: Doing it wrong: Building world with lang/clang-devel and lang/gcc49

2013-09-24 Thread Sean Bruno
On Sun, 2013-09-22 at 16:53 -0500, Brooks Davis wrote:
> On Sat, Sep 21, 2013 at 03:42:16PM +0400, Lev Serebryakov wrote:
> > Hello, Sean.
> > You wrote 20  2013 ??., 22:39:30:
> > 
> > SB> wow, that didn't work at all.  :-)
> > 
> > SB> I set these in make.conf:
> > 
> > SB> CC=/usr/local/bin/clang
> > SB> C++=/usr/local/bin/clang++
> > SB> CPP=/usr/local/bin/clang++
> > 
> > SB> It exploded pretty badly:
> > 
> > SB> http://people.freebsd.org/~sbruno/doingitwrong.txt
> > 
> > SB> Any reason that this shouldn't work?
> > Try
> > 
> > XCC=/usr/local/bin/clang
> > XCXX=/usr/local/bin/clang++
> > XCPP=/usr/local/bin/clang++
> > COMPILER_TYPE=clang
> > 
> >  It should work, at least, in theory.
> 
> You will likely also need -WITHOUT_FORMAT_EXTENSIONS.
> 
> -- Brooks


Well, I've tried clang-devel, gcc46 and gcc49.  Each one yeilds
different failures and I'm really just totally confused at this point.

I've set:
   export XCC=/usr/local/bin/gcc49
export XCXX=/usr/local/bin/g++49
export XCPP=/usr/local/bin/g++49
export CC=/usr/local/bin/gcc49
export CXX=/usr/local/bin/g++49
export CPP=/usr/local/bin/g++49
export COMPILER_TYPE=gcc
and
export TARGET=mips
export TARGET_ARCH=mips
export SRCCONF=/dev/null
export SRCROOT=/home/sbruno/bsd/fbsd_head
export MAKEOBJDIRPREFIX=/var/tmp
export DESTDIR=/mipsbuild/$TARGET_ARCH
export KERNCONF=MALTA


==> usr.bin/dtc (obj,depend,all,install)
--- obj ---
/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/home/sbruno/bsd/fbsd_head/usr.bin/dtc
 created for /home/sbruno/bsd/fbsd_head/usr.bin/dtc
--- .depend ---
rm -f .depend
CC='/usr/local/bin/gcc49' mkdep -f .depend -a
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include  
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/dtc.cc 
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/input_buffer.cc 
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/string.cc 
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/dtb.cc 
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/fdt.cc 
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/checking.cc   
echo
dtc: /usr/lib/libc.a 
/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/lib/libegacy.a >> 
.depend
echo dtc: /usr/lib/libstdc++.a >> .depend
make[3]: 
/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/home/sbruno/bsd/fbsd_head/usr.bin/dtc/.depend,
 347: ignoring stale .depend for /usr/lib/libstdc++.a
--- dtc.o ---
--- input_buffer.o ---
--- string.o ---
--- dtb.o ---
--- fdt.o ---
--- checking.o ---
--- dtc.o ---
/usr/local/bin/g++49 -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-c /home/sbruno/bsd/fbsd_head/usr.bin/dtc/dtc.cc
--- input_buffer.o ---
/usr/local/bin/g++49 -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-c /home/sbruno/bsd/fbsd_head/usr.bin/dtc/input_buffer.cc
--- string.o ---
/usr/local/bin/g++49 -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-c /home/sbruno/bsd/fbsd_head/usr.bin/dtc/string.cc
--- dtb.o ---
/usr/local/bin/g++49 -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-c /home/sbruno/bsd/fbsd_head/usr.bin/dtc/dtb.cc
--- fdt.o ---
/usr/local/bin/g++49 -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-c /home/sbruno/bsd/fbsd_head/usr.bin/dtc/fdt.cc
--- checking.o ---
/usr/local/bin/g++49 -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-c /home/sbruno/bsd/fbsd_head/usr.bin/dtc/checking.cc
--- string.o ---
In file included
from /home/sbruno/bsd/fbsd_head/usr.bin/dtc/input_buffer.hh:35:0,

from /home/sbruno/bsd/fbsd_head/usr.bin/dtc/string.hh:35,

from /home/sbruno/bsd/fbsd_head/usr.bin/dtc/string.cc:33:
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/util.hh:53:21: error: 'uint8_t'
was not declared in this scope
 typedef std::vector byte_buffer;
 ^
/home/sbruno/bsd/fbsd_head/usr.bin/dtc/util.hh:53:28: error: template
argument 1 is invalid
 typedef std::vector byte_buffer;



with gcc49 I get even more peculiar behavior:

===> gnu/usr.bin/gperf/doc (depend)
make[3]: 
/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/home/sbruno/bsd/fbsd_head/gnu/usr.bin/gperf/.depend,
 145: ignoring stale .depend for /usr/lib/libstdc++.a
--- gperf ---
/usr/local/bin/clang++ -O2 -pipe
-I/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/include
-I/home/sbruno/bsd/fbsd_head/gnu/usr.bin/gperf/../../../contrib/gperf/lib 
-I/home/sbruno/bsd/fbsd_head/gnu/usr.bin/gperf  -static 
-L/var/tmp/mips.mips/home/sbruno/bsd/fbsd_head/tmp/legacy/usr/lib -o gperf 
bool-array.o hash-table.o input.o keyword-list.o keyword.o main.o options.o 
output.o positions.o search.o version.o getline.o hash.o -legacy
/usr/local/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [gperf] Error code 1




signature.asc
Description: This is a digitally signed message part


[head tinderbox] failure on powerpc64/powerpc

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 02:35:21 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 02:35:21 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 02:35:21 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2013-09-25 02:35:21 - cleaning the object tree
TB --- 2013-09-25 02:35:21 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 02:35:24 - At svn revision 255864
TB --- 2013-09-25 02:35:25 - building world
TB --- 2013-09-25 02:35:25 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 02:35:25 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 02:35:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 02:35:25 - SRCCONF=/dev/null
TB --- 2013-09-25 02:35:25 - TARGET=powerpc
TB --- 2013-09-25 02:35:25 - TARGET_ARCH=powerpc64
TB --- 2013-09-25 02:35:25 - TZ=UTC
TB --- 2013-09-25 02:35:25 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 02:35:25 - cd /src
TB --- 2013-09-25 02:35:25 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 02:35:32 UTC 2013
>>> 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
[...]
/obj/powerpc.powerpc64/src/tmp/usr/include/cam/cam_compat.h:90: error: expected 
specifier-qualifier-list before 'cam_proto'
In file included from 
/obj/powerpc.powerpc64/src/tmp/usr/include/netinet/ip_fil.h:14,
 from ioctl.c:79:
/obj/powerpc.powerpc64/src/tmp/usr/include/netinet/ip_compat.h:427: warning: 
redundant redeclaration of 'allocmbt'
/obj/powerpc.powerpc64/src/tmp/usr/include/netinet/ip_compat.h:387: warning: 
previous declaration of 'allocmbt' was here
In file included from ioctl.c:79:
/obj/powerpc.powerpc64/src/tmp/usr/include/netinet/ip_fil.h:1720: warning: 
redundant redeclaration of 'bcopywrap'
/obj/powerpc.powerpc64/src/tmp/usr/include/netinet/ip_compat.h:386: warning: 
previous declaration of 'bcopywrap' was here
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 05:03:17 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 05:03:17 - ERROR: failed to build world
TB --- 2013-09-25 05:03:17 - 7737.96 user 1030.16 system 8875.92 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc64-powerpc.full
___
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 powerpc/powerpc

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 02:34:14 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 02:34:14 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 02:34:14 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2013-09-25 02:34:14 - cleaning the object tree
TB --- 2013-09-25 02:34:14 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 02:34:17 - At svn revision 255864
TB --- 2013-09-25 02:34:18 - building world
TB --- 2013-09-25 02:34:18 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 02:34:18 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 02:34:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 02:34:18 - SRCCONF=/dev/null
TB --- 2013-09-25 02:34:18 - TARGET=powerpc
TB --- 2013-09-25 02:34:18 - TARGET_ARCH=powerpc
TB --- 2013-09-25 02:34:18 - TZ=UTC
TB --- 2013-09-25 02:34:18 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 02:34:18 - cd /src
TB --- 2013-09-25 02:34:18 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 02:34:25 UTC 2013
>>> 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
[...]
/obj/powerpc.powerpc/src/tmp/usr/include/cam/cam_compat.h:90: error: expected 
specifier-qualifier-list before 'cam_proto'
In file included from 
/obj/powerpc.powerpc/src/tmp/usr/include/netinet/ip_fil.h:14,
 from ioctl.c:79:
/obj/powerpc.powerpc/src/tmp/usr/include/netinet/ip_compat.h:427: warning: 
redundant redeclaration of 'allocmbt'
/obj/powerpc.powerpc/src/tmp/usr/include/netinet/ip_compat.h:387: warning: 
previous declaration of 'allocmbt' was here
In file included from ioctl.c:79:
/obj/powerpc.powerpc/src/tmp/usr/include/netinet/ip_fil.h:1720: warning: 
redundant redeclaration of 'bcopywrap'
/obj/powerpc.powerpc/src/tmp/usr/include/netinet/ip_compat.h:386: warning: 
previous declaration of 'bcopywrap' was here
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 05:00:47 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 05:00:47 - ERROR: failed to build world
TB --- 2013-09-25 05:00:47 - 7667.11 user 1025.38 system 8793.36 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc-powerpc.full
___
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/pc98

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 01:32:04 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 01:32:04 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 01:32:04 - starting HEAD tinderbox run for i386/pc98
TB --- 2013-09-25 01:32:04 - cleaning the object tree
TB --- 2013-09-25 01:32:04 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 01:32:08 - At svn revision 255864
TB --- 2013-09-25 01:32:09 - building world
TB --- 2013-09-25 01:32:09 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 01:32:09 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 01:32:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 01:32:09 - SRCCONF=/dev/null
TB --- 2013-09-25 01:32:09 - TARGET=pc98
TB --- 2013-09-25 01:32:09 - TARGET_ARCH=i386
TB --- 2013-09-25 01:32:09 - TZ=UTC
TB --- 2013-09-25 01:32:09 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 01:32:09 - cd /src
TB --- 2013-09-25 01:32:09 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 01:32:17 UTC 2013
>>> 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
[...]
/obj/pc98.i386/src/tmp/usr/include/cam/cam_compat.h:98:36: error: use of 
undeclared identifier 'PATHINQ_SETTINGS_SIZE'
char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE];
 ^
In file included from ioctl.c:48:
/obj/pc98.i386/src/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no 
previous extern declaration for non-static variable 'ssi_cables' 
[-Wmissing-variable-declarations]
const char *ssi_cables[] =
^
1 warning and 17 errors generated.
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 04:36:10 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 04:36:10 - ERROR: failed to build world
TB --- 2013-09-25 04:36:10 - 9429.43 user 1248.61 system 11045.98 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-pc98.full
___
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 sparc64/sparc64

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 02:48:24 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 02:48:24 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 02:48:24 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2013-09-25 02:48:24 - cleaning the object tree
TB --- 2013-09-25 02:48:24 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 02:48:28 - At svn revision 255864
TB --- 2013-09-25 02:48:29 - building world
TB --- 2013-09-25 02:48:29 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 02:48:29 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 02:48:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 02:48:29 - SRCCONF=/dev/null
TB --- 2013-09-25 02:48:29 - TARGET=sparc64
TB --- 2013-09-25 02:48:29 - TARGET_ARCH=sparc64
TB --- 2013-09-25 02:48:29 - TZ=UTC
TB --- 2013-09-25 02:48:29 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 02:48:29 - cd /src
TB --- 2013-09-25 02:48:29 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 02:48:36 UTC 2013
>>> 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
[...]
/obj/sparc64.sparc64/src/tmp/usr/include/cam/cam_compat.h:90: error: expected 
specifier-qualifier-list before 'cam_proto'
In file included from 
/obj/sparc64.sparc64/src/tmp/usr/include/netinet/ip_fil.h:14,
 from ioctl.c:79:
/obj/sparc64.sparc64/src/tmp/usr/include/netinet/ip_compat.h:427: warning: 
redundant redeclaration of 'allocmbt'
/obj/sparc64.sparc64/src/tmp/usr/include/netinet/ip_compat.h:387: warning: 
previous declaration of 'allocmbt' was here
In file included from ioctl.c:79:
/obj/sparc64.sparc64/src/tmp/usr/include/netinet/ip_fil.h:1720: warning: 
redundant redeclaration of 'bcopywrap'
/obj/sparc64.sparc64/src/tmp/usr/include/netinet/ip_compat.h:386: warning: 
previous declaration of 'bcopywrap' was here
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 03:48:04 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 03:48:04 - ERROR: failed to build world
TB --- 2013-09-25 03:48:04 - 2807.63 user 557.77 system 3580.88 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-sparc64-sparc64.full
___
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 ia64/ia64

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 01:32:19 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 01:32:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 01:32:19 - starting HEAD tinderbox run for ia64/ia64
TB --- 2013-09-25 01:32:19 - cleaning the object tree
TB --- 2013-09-25 01:32:19 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 01:32:24 - At svn revision 255864
TB --- 2013-09-25 01:32:25 - building world
TB --- 2013-09-25 01:32:25 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 01:32:25 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 01:32:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 01:32:25 - SRCCONF=/dev/null
TB --- 2013-09-25 01:32:25 - TARGET=ia64
TB --- 2013-09-25 01:32:25 - TARGET_ARCH=ia64
TB --- 2013-09-25 01:32:25 - TZ=UTC
TB --- 2013-09-25 01:32:25 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 01:32:25 - cd /src
TB --- 2013-09-25 01:32:25 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 01:32:32 UTC 2013
>>> 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
[...]
/obj/ia64.ia64/src/tmp/usr/include/cam/cam_compat.h:90: error: expected 
specifier-qualifier-list before 'cam_proto'
In file included from /obj/ia64.ia64/src/tmp/usr/include/netinet/ip_fil.h:14,
 from ioctl.c:80:
/obj/ia64.ia64/src/tmp/usr/include/netinet/ip_compat.h:427: warning: redundant 
redeclaration of 'allocmbt'
/obj/ia64.ia64/src/tmp/usr/include/netinet/ip_compat.h:387: warning: previous 
declaration of 'allocmbt' was here
In file included from ioctl.c:80:
/obj/ia64.ia64/src/tmp/usr/include/netinet/ip_fil.h:1720: warning: redundant 
redeclaration of 'bcopywrap'
/obj/ia64.ia64/src/tmp/usr/include/netinet/ip_compat.h:386: warning: previous 
declaration of 'bcopywrap' was here
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 02:48:23 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 02:48:23 - ERROR: failed to build world
TB --- 2013-09-25 02:48:23 - 3700.92 user 661.15 system 4563.88 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-ia64-ia64.full
___
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 mips64/mips

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 01:41:50 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 01:41:50 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 01:41:50 - starting HEAD tinderbox run for mips64/mips
TB --- 2013-09-25 01:41:50 - cleaning the object tree
TB --- 2013-09-25 01:41:50 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 01:41:54 - At svn revision 255864
TB --- 2013-09-25 01:41:55 - building world
TB --- 2013-09-25 01:41:55 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 01:41:55 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 01:41:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 01:41:55 - SRCCONF=/dev/null
TB --- 2013-09-25 01:41:55 - TARGET=mips
TB --- 2013-09-25 01:41:55 - TARGET_ARCH=mips64
TB --- 2013-09-25 01:41:55 - TZ=UTC
TB --- 2013-09-25 01:41:55 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 01:41:55 - cd /src
TB --- 2013-09-25 01:41:55 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 01:42:02 UTC 2013
>>> 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
[...]
/obj/mips.mips64/src/tmp/usr/include/cam/cam_compat.h:90: error: expected 
specifier-qualifier-list before 'cam_proto'
In file included from /obj/mips.mips64/src/tmp/usr/include/netinet/ip_fil.h:14,
 from ioctl.c:79:
/obj/mips.mips64/src/tmp/usr/include/netinet/ip_compat.h:427: warning: 
redundant redeclaration of 'allocmbt'
/obj/mips.mips64/src/tmp/usr/include/netinet/ip_compat.h:387: warning: previous 
declaration of 'allocmbt' was here
In file included from ioctl.c:79:
/obj/mips.mips64/src/tmp/usr/include/netinet/ip_fil.h:1720: warning: redundant 
redeclaration of 'bcopywrap'
/obj/mips.mips64/src/tmp/usr/include/netinet/ip_compat.h:386: warning: previous 
declaration of 'bcopywrap' was here
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 02:35:21 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 02:35:21 - ERROR: failed to build world
TB --- 2013-09-25 02:35:21 - 2408.86 user 539.64 system 3210.52 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips64-mips.full
___
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 mips/mips

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-25 01:41:08 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-25 01:41:08 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-25 01:41:08 - starting HEAD tinderbox run for mips/mips
TB --- 2013-09-25 01:41:08 - cleaning the object tree
TB --- 2013-09-25 01:41:08 - /usr/local/bin/svn stat /src
TB --- 2013-09-25 01:41:12 - At svn revision 255864
TB --- 2013-09-25 01:41:13 - building world
TB --- 2013-09-25 01:41:13 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-25 01:41:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-25 01:41:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-25 01:41:13 - SRCCONF=/dev/null
TB --- 2013-09-25 01:41:13 - TARGET=mips
TB --- 2013-09-25 01:41:13 - TARGET_ARCH=mips
TB --- 2013-09-25 01:41:13 - TZ=UTC
TB --- 2013-09-25 01:41:13 - __MAKE_CONF=/dev/null
TB --- 2013-09-25 01:41:13 - cd /src
TB --- 2013-09-25 01:41:13 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Sep 25 01:41:20 UTC 2013
>>> 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
[...]
/obj/mips.mips/src/tmp/usr/include/cam/cam_compat.h:90: error: expected 
specifier-qualifier-list before 'cam_proto'
In file included from /obj/mips.mips/src/tmp/usr/include/netinet/ip_fil.h:14,
 from ioctl.c:79:
/obj/mips.mips/src/tmp/usr/include/netinet/ip_compat.h:427: warning: redundant 
redeclaration of 'allocmbt'
/obj/mips.mips/src/tmp/usr/include/netinet/ip_compat.h:387: warning: previous 
declaration of 'allocmbt' was here
In file included from ioctl.c:79:
/obj/mips.mips/src/tmp/usr/include/netinet/ip_fil.h:1720: warning: redundant 
redeclaration of 'bcopywrap'
/obj/mips.mips/src/tmp/usr/include/netinet/ip_compat.h:386: warning: previous 
declaration of 'bcopywrap' was here
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 02:34:13 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 02:34:13 - ERROR: failed to build world
TB --- 2013-09-25 02:34:13 - 2402.44 user 537.92 system 3185.61 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full
___
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: build error revision 255864

2013-09-24 Thread Glen Barber
On Tue, Sep 24, 2013 at 08:45:22PM -0400, Glen Barber wrote:
> On Tue, Sep 24, 2013 at 09:38:11PM -0300, Marcelo Gondim wrote:
> > Hi all,
> > 
> > I'm having this errorbuilding 255864 revision:
> > 
> 
> This is due to the recent changes in sys/cam.  We're working on it.
> 

I have reverted the commit in question with r255865.

Glen



pgpuOaLylCEAP.pgp
Description: PGP signature


[head tinderbox] failure on i386/i386

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-24 22:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-24 22:40:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-24 22:40:17 - starting HEAD tinderbox run for i386/i386
TB --- 2013-09-24 22:40:17 - cleaning the object tree
TB --- 2013-09-24 22:40:17 - /usr/local/bin/svn stat /src
TB --- 2013-09-24 22:40:22 - At svn revision 255864
TB --- 2013-09-24 22:40:23 - building world
TB --- 2013-09-24 22:40:23 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-24 22:40:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-24 22:40:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-24 22:40:23 - SRCCONF=/dev/null
TB --- 2013-09-24 22:40:23 - TARGET=i386
TB --- 2013-09-24 22:40:23 - TARGET_ARCH=i386
TB --- 2013-09-24 22:40:23 - TZ=UTC
TB --- 2013-09-24 22:40:23 - __MAKE_CONF=/dev/null
TB --- 2013-09-24 22:40:23 - cd /src
TB --- 2013-09-24 22:40:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Sep 24 22:40:30 UTC 2013
>>> 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
[...]
/obj/i386.i386/src/tmp/usr/include/cam/cam_compat.h:98:36: error: use of 
undeclared identifier 'PATHINQ_SETTINGS_SIZE'
char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE];
 ^
In file included from ioctl.c:48:
/obj/i386.i386/src/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no 
previous extern declaration for non-static variable 'ssi_cables' 
[-Wmissing-variable-declarations]
const char *ssi_cables[] =
^
1 warning and 17 errors generated.
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 01:41:50 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 01:41:50 - ERROR: failed to build world
TB --- 2013-09-25 01:41:50 - 8954.23 user 1546.45 system 10893.21 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-i386.full
___
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 amd64/amd64

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-24 22:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-24 22:40:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-24 22:40:17 - starting HEAD tinderbox run for amd64/amd64
TB --- 2013-09-24 22:40:17 - cleaning the object tree
TB --- 2013-09-24 22:40:17 - /usr/local/bin/svn stat /src
TB --- 2013-09-24 22:40:22 - At svn revision 255864
TB --- 2013-09-24 22:40:23 - building world
TB --- 2013-09-24 22:40:23 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-24 22:40:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-24 22:40:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-24 22:40:23 - SRCCONF=/dev/null
TB --- 2013-09-24 22:40:23 - TARGET=amd64
TB --- 2013-09-24 22:40:23 - TARGET_ARCH=amd64
TB --- 2013-09-24 22:40:23 - TZ=UTC
TB --- 2013-09-24 22:40:23 - __MAKE_CONF=/dev/null
TB --- 2013-09-24 22:40:23 - cd /src
TB --- 2013-09-24 22:40:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Sep 24 22:40:30 UTC 2013
>>> 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
[...]
/obj/amd64.amd64/src/tmp/usr/include/cam/cam_compat.h:98:36: error: use of 
undeclared identifier 'PATHINQ_SETTINGS_SIZE'
char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE];
 ^
In file included from ioctl.c:48:
/obj/amd64.amd64/src/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no 
previous extern declaration for non-static variable 'ssi_cables' 
[-Wmissing-variable-declarations]
const char *ssi_cables[] =
^
1 warning and 17 errors generated.
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 01:41:08 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 01:41:08 - ERROR: failed to build world
TB --- 2013-09-25 01:41:08 - 8955.44 user 1511.55 system 10851.00 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full
___
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 armv6/arm

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-24 22:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-24 22:40:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-24 22:40:17 - starting HEAD tinderbox run for armv6/arm
TB --- 2013-09-24 22:40:17 - cleaning the object tree
TB --- 2013-09-24 22:40:17 - /usr/local/bin/svn stat /src
TB --- 2013-09-24 22:40:22 - At svn revision 255864
TB --- 2013-09-24 22:40:23 - building world
TB --- 2013-09-24 22:40:23 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-24 22:40:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-24 22:40:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-24 22:40:23 - SRCCONF=/dev/null
TB --- 2013-09-24 22:40:23 - TARGET=arm
TB --- 2013-09-24 22:40:23 - TARGET_ARCH=armv6
TB --- 2013-09-24 22:40:23 - TZ=UTC
TB --- 2013-09-24 22:40:23 - __MAKE_CONF=/dev/null
TB --- 2013-09-24 22:40:23 - cd /src
TB --- 2013-09-24 22:40:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Sep 24 22:40:30 UTC 2013
>>> 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
[...]
/obj/arm.armv6/src/tmp/usr/include/cam/cam_compat.h:98:36: error: use of 
undeclared identifier 'PATHINQ_SETTINGS_SIZE'
char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE];
 ^
In file included from ioctl.c:48:
/obj/arm.armv6/src/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no 
previous extern declaration for non-static variable 'ssi_cables' 
[-Wmissing-variable-declarations]
const char *ssi_cables[] =
^
1 warning and 17 errors generated.
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 01:32:19 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 01:32:19 - ERROR: failed to build world
TB --- 2013-09-25 01:32:19 - 8352.53 user 1493.09 system 10322.45 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-armv6-arm.full
___
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 arm/arm

2013-09-24 Thread FreeBSD Tinderbox
TB --- 2013-09-24 22:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-09-24 22:40:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-09-24 22:40:17 - starting HEAD tinderbox run for arm/arm
TB --- 2013-09-24 22:40:17 - cleaning the object tree
TB --- 2013-09-24 22:40:17 - /usr/local/bin/svn stat /src
TB --- 2013-09-24 22:40:22 - At svn revision 255864
TB --- 2013-09-24 22:40:23 - building world
TB --- 2013-09-24 22:40:23 - CROSS_BUILD_TESTING=YES
TB --- 2013-09-24 22:40:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-09-24 22:40:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-09-24 22:40:23 - SRCCONF=/dev/null
TB --- 2013-09-24 22:40:23 - TARGET=arm
TB --- 2013-09-24 22:40:23 - TARGET_ARCH=arm
TB --- 2013-09-24 22:40:23 - TZ=UTC
TB --- 2013-09-24 22:40:23 - __MAKE_CONF=/dev/null
TB --- 2013-09-24 22:40:23 - cd /src
TB --- 2013-09-24 22:40:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Sep 24 22:40:30 UTC 2013
>>> 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
[...]
/obj/arm.arm/src/tmp/usr/include/cam/cam_compat.h:98:36: error: use of 
undeclared identifier 'PATHINQ_SETTINGS_SIZE'
char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE];
 ^
In file included from ioctl.c:48:
/obj/arm.arm/src/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no previous 
extern declaration for non-static variable 'ssi_cables' 
[-Wmissing-variable-declarations]
const char *ssi_cables[] =
^
1 warning and 17 errors generated.
*** Error code 1

Stop.
bmake[3]: stopped in /src/usr.bin/kdump
*** Error code 1

Stop.
bmake[2]: stopped in /src/usr.bin
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-09-25 01:32:03 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-09-25 01:32:03 - ERROR: failed to build world
TB --- 2013-09-25 01:32:03 - 8341.33 user 1486.75 system 10306.59 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full
___
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: build error revision 255864

2013-09-24 Thread Glen Barber
On Tue, Sep 24, 2013 at 09:38:11PM -0300, Marcelo Gondim wrote:
> Hi all,
> 
> I'm having this errorbuilding 255864 revision:
> 

This is due to the recent changes in sys/cam.  We're working on it.

Glen

> cc  -O2 -pipe  -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"
> -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo 
> -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib
> -std=gnu99 -Qunused-arguments -fstack-protector  -c 
> /usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/float.c
> --- usr.sbin.all__D ---
> --- gstat.o ---
> cc  -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
> -Wnested-externs -Wredundant-decls -Wold-style-definition
> -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body
> -Wno-string-plus-int -c /usr/src/usr.sbin/gstat/gstat.c
> --- gstat.8.gz ---
> gzip -cn /usr/src/usr.sbin/gstat/gstat.8 > gstat.8.gz
> --- gnu.all__D ---
> --- footnote.o ---
> cc  -O2 -pipe  -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"
> -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo 
> -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib
> -std=gnu99 -Qunused-arguments -fstack-protector  -c 
> /usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/footnote.c
> --- usr.bin.all__D ---
> 1 warning and 17 errors generated.
> *** [ioctl.o] Error code 1
> 
> bmake[4]: stopped in /usr/src/usr.bin/kdump
> --- lib.all__D ---
> --- typeinfo.po ---
> c++  -pg  -O2 -pipe -I/usr/src/lib/libcxxrt/../../contrib/libcxxrt
> -Qunused-arguments -fstack-protector -Wno-empty-body
> -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value
> -Wno-parentheses-equality -Wno-unused-function -Wno-conversion
> -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter
> -Wno-parentheses -Wno-c++11-extensions -c
> /usr/src/lib/libcxxrt/../../contrib/libcxxrt/typeinfo.cc -o
> typeinfo.po
> --- usr.bin.all__D ---
> --- kdump.o ---
> 18 warnings generated.
> --- gnu.all__D ---
> A failure has been detected in another branch of the parallel make
> 
> bmake[6]: stopped in /usr/src/gnu/usr.bin/texinfo/makeinfo
> *** [all] Error code 2
> 
> bmake[5]: stopped in /usr/src/gnu/usr.bin/texinfo
> 1 error
> 
> bmake[5]: stopped in /usr/src/gnu/usr.bin/texinfo
> *** [all] Error code 2
> 
> bmake[4]: stopped in /usr/src/gnu/usr.bin
> 1 error
> 
> bmake[4]: stopped in /usr/src/gnu/usr.bin
> *** [all] Error code 2
> 
> bmake[3]: stopped in /usr/src/gnu
> 1 error
> 
> bmake[3]: stopped in /usr/src/gnu
> *** [gnu.all__D] Error code 2
> 
> bmake[2]: stopped in /usr/src
> --- usr.sbin.all__D ---
> A failure has been detected in another branch of the parallel make
> 
> bmake[4]: stopped in /usr/src/usr.sbin/gstat
> *** [all] Error code 2
> 
> bmake[3]: stopped in /usr/src/usr.sbin
> 1 error
> 
> bmake[3]: stopped in /usr/src/usr.sbin
> *** [usr.sbin.all__D] Error code 2
> 
> bmake[2]: stopped in /usr/src
> --- usr.bin.all__D ---
> 1 error
> 
> bmake[4]: stopped in /usr/src/usr.bin/kdump
> *** [all] Error code 2
> 
> bmake[3]: stopped in /usr/src/usr.bin
> 1 error
> 
> bmake[3]: stopped in /usr/src/usr.bin
> *** [usr.bin.all__D] Error code 2
> 
> bmake[2]: stopped in /usr/src
> --- lib.all__D ---
> A failure has been detected in another branch of the parallel make
> 
> bmake[4]: stopped in /usr/src/lib/libcxxrt
> *** [all] Error code 2
> 
> bmake[3]: stopped in /usr/src/lib
> 1 error
> 
> bmake[3]: stopped in /usr/src/lib
> *** [lib.all__D] Error code 2
> 
> bmake[2]: stopped in /usr/src
> 4 errors
> 
> bmake[2]: stopped in /usr/src
> *** [everything] Error code 2
> 
> bmake[1]: stopped in /usr/src
> 1 error
> 
> bmake[1]: stopped in /usr/src
> *** [buildworld] Error code 2
> 
> make: stopped in /usr/src
> 1 error
> 
> make: stopped in /usr/src
> 
> Cheers,
> 
> ___
> 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"


pgpDd2jhoaKdM.pgp
Description: PGP signature


Re: FreeBSD 10.0 Alpha 2 panic "kernel trap 12 with interrupts disable"

2013-09-24 Thread Miguel Clara
Sorry for the late reply...

Worked like a charm! So the issue should be indeed fixed!


On Sun, Sep 22, 2013 at 10:25 PM, Miguel Clara wrote:

> Interesting Idea... I wasn't aware the snapshots were from previous
> versions before the regressions, thanks for the heads up!
>
> Time to put this to the test, I'll report back after compiling r255788
> thanks!
>
>
>
> >
>> > The link I gave to you contains a snapshot as per r255342 (which is
>> > way before the regression was introduced). You can use that, then
>> > checkout the sources via svnlite and rebuild. I don't see a reason why
>> > you cannot use that and you want to wait for ALPHA3, but alas.
>> >
>>
>> Alternatively, you can boot the snapshot and use the livecd
>> functionality to rebuild your existing kernel using your current
>> installation as a chroot(8) target.  This should work fine regardless of
>> the revision of the snapshot.
>>
>> Glen
>>
>>
>
___
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 error revision 255864

2013-09-24 Thread Marcelo Gondim

Hi all,

I'm having this errorbuilding 255864 revision:

cc  -O2 -pipe  -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" 
-I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo 
-I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib 
-std=gnu99 -Qunused-arguments -fstack-protector  -c 
/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/float.c

--- usr.sbin.all__D ---
--- gstat.o ---
cc  -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c 
/usr/src/usr.sbin/gstat/gstat.c

--- gstat.8.gz ---
gzip -cn /usr/src/usr.sbin/gstat/gstat.8 > gstat.8.gz
--- gnu.all__D ---
--- footnote.o ---
cc  -O2 -pipe  -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" 
-I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo 
-I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib 
-std=gnu99 -Qunused-arguments -fstack-protector  -c 
/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/makeinfo/footnote.c

--- usr.bin.all__D ---
1 warning and 17 errors generated.
*** [ioctl.o] Error code 1

bmake[4]: stopped in /usr/src/usr.bin/kdump
--- lib.all__D ---
--- typeinfo.po ---
c++  -pg  -O2 -pipe -I/usr/src/lib/libcxxrt/../../contrib/libcxxrt 
-Qunused-arguments -fstack-protector -Wno-empty-body 
-Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion 
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
-Wno-parentheses -Wno-c++11-extensions -c 
/usr/src/lib/libcxxrt/../../contrib/libcxxrt/typeinfo.cc -o typeinfo.po

--- usr.bin.all__D ---
--- kdump.o ---
18 warnings generated.
--- gnu.all__D ---
A failure has been detected in another branch of the parallel make

bmake[6]: stopped in /usr/src/gnu/usr.bin/texinfo/makeinfo
*** [all] Error code 2

bmake[5]: stopped in /usr/src/gnu/usr.bin/texinfo
1 error

bmake[5]: stopped in /usr/src/gnu/usr.bin/texinfo
*** [all] Error code 2

bmake[4]: stopped in /usr/src/gnu/usr.bin
1 error

bmake[4]: stopped in /usr/src/gnu/usr.bin
*** [all] Error code 2

bmake[3]: stopped in /usr/src/gnu
1 error

bmake[3]: stopped in /usr/src/gnu
*** [gnu.all__D] Error code 2

bmake[2]: stopped in /usr/src
--- usr.sbin.all__D ---
A failure has been detected in another branch of the parallel make

bmake[4]: stopped in /usr/src/usr.sbin/gstat
*** [all] Error code 2

bmake[3]: stopped in /usr/src/usr.sbin
1 error

bmake[3]: stopped in /usr/src/usr.sbin
*** [usr.sbin.all__D] Error code 2

bmake[2]: stopped in /usr/src
--- usr.bin.all__D ---
1 error

bmake[4]: stopped in /usr/src/usr.bin/kdump
*** [all] Error code 2

bmake[3]: stopped in /usr/src/usr.bin
1 error

bmake[3]: stopped in /usr/src/usr.bin
*** [usr.bin.all__D] Error code 2

bmake[2]: stopped in /usr/src
--- lib.all__D ---
A failure has been detected in another branch of the parallel make

bmake[4]: stopped in /usr/src/lib/libcxxrt
*** [all] Error code 2

bmake[3]: stopped in /usr/src/lib
1 error

bmake[3]: stopped in /usr/src/lib
*** [lib.all__D] Error code 2

bmake[2]: stopped in /usr/src
4 errors

bmake[2]: stopped in /usr/src
*** [everything] Error code 2

bmake[1]: stopped in /usr/src
1 error

bmake[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src

Cheers,

___
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: and64-build i386 mtree doesn't work too (Re: r255795/i386 built on r255795/amd64 still could not start devdpassword)

2013-09-24 Thread Dimitry Andric
On Sep 24, 2013, at 14:24, Lev Serebryakov  wrote:
> LS>>  Now I have r255795/i386 built on r255795/amd64 (with "make TARGET=i386 
> buildworld
> LS>> buildkernel").
> LS>  Also, it could not start "make buildworld" by itself, as "mtree" 
> complains
> LS> about line 2 of etc/mtree/BSD.usr.dist ("no parent node").
> LS>  It looks like, i386 world built by amd64 host is completely broken 
> somewhere
> LS> in text processing tool.
> So, nobody interested? Building 32 bit world on 64 bit host is not
> supported now?

Hi Lev,

I just tried buildworld TARGET=i386 on an amd64 host, and it worked just
fine.  Are you using any make.conf or src.conf?

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Jilles Tjoelker
On Tue, Sep 24, 2013 at 10:29:09PM +0300, Konstantin Belousov wrote:
> On Tue, Sep 24, 2013 at 09:19:49PM +0200, Jilles Tjoelker wrote:
> > On Tue, Sep 24, 2013 at 12:37:30AM +0300, Konstantin Belousov wrote:
> > > On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote:
> > > > Has anyone taken a look at this PR yet?

> > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=182161

> > > This looks like a valid bug, but probably not a valid testcase.

> > > Let me elaborate.  When a signal is delivered, return from the signal
> > > handler is performed by the sigreturn(2), which reloads the whole
> > > register file when crossing kernel->user boundary due to sys_sigreturn(9)
> > > setting PCB_FULL_IRET flag.  As result, the whole trap frame at the
> > > time of the syscall entry is restored, and ERESTART return is not
> > > exercised.

> > > I was not able to reproduce the issue with the supplied test program
> > > on HEAD.  I suspect that the program actually exposed the bug in the
> > > signal delivery in the threaded processes, which I introduced for 9.1
> > > and fixed in r251047 & r251365.

> > The ERESTART return happens if there is no signal or no longer a signal.
> > The latter is how the bug in the PR occurs: a SIGCHLD delivery via
> > handler in one thread races with a SIGCHLD acceptance in wait4() in
> > another thread. Note wait4() returning a value in the other thread in
> > the fourth line of the kdump output in the PR.

> > For some reason, I can reproduce this easily on my local quad-core
> > r255729 stable/9 system but not on ref9-amd64.freebsd.org or
> > ref10-amd64.freebsd.org.

> > I can also reproduce the bug on my local system by racing signal
> > delivery via handler with acceptance in sigtimedwait().

> So, could you, please, check the r255844 on your machine ?

I cannot reproduce it with that (patch applied to stable/9 kernel). The
test programs run fine for minutes.

-- 
Jilles Tjoelker
___
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: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Konstantin Belousov
On Tue, Sep 24, 2013 at 09:19:49PM +0200, Jilles Tjoelker wrote:
> On Tue, Sep 24, 2013 at 12:37:30AM +0300, Konstantin Belousov wrote:
> > On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote:
> > > Has anyone taken a look at this PR yet?
> 
> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=182161
> 
> > This looks like a valid bug, but probably not a valid testcase.
> 
> > Let me elaborate.  When a signal is delivered, return from the signal
> > handler is performed by the sigreturn(2), which reloads the whole
> > register file when crossing kernel->user boundary due to sys_sigreturn(9)
> > setting PCB_FULL_IRET flag.  As result, the whole trap frame at the
> > time of the syscall entry is restored, and ERESTART return is not
> > exercised.
> 
> > I was not able to reproduce the issue with the supplied test program
> > on HEAD.  I suspect that the program actually exposed the bug in the
> > signal delivery in the threaded processes, which I introduced for 9.1
> > and fixed in r251047 & r251365.
> 
> The ERESTART return happens if there is no signal or no longer a signal.
> The latter is how the bug in the PR occurs: a SIGCHLD delivery via
> handler in one thread races with a SIGCHLD acceptance in wait4() in
> another thread. Note wait4() returning a value in the other thread in
> the fourth line of the kdump output in the PR.
> 
> For some reason, I can reproduce this easily on my local quad-core
> r255729 stable/9 system but not on ref9-amd64.freebsd.org or
> ref10-amd64.freebsd.org.
> 
> I can also reproduce the bug on my local system by racing signal
> delivery via handler with acceptance in sigtimedwait().

So, could you, please, check the r255844 on your machine ?


pgpcOoMcZXi28.pgp
Description: PGP signature


Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Jilles Tjoelker
On Tue, Sep 24, 2013 at 12:37:30AM +0300, Konstantin Belousov wrote:
> On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote:
> > Has anyone taken a look at this PR yet?

> > http://www.freebsd.org/cgi/query-pr.cgi?pr=182161

> This looks like a valid bug, but probably not a valid testcase.

> Let me elaborate.  When a signal is delivered, return from the signal
> handler is performed by the sigreturn(2), which reloads the whole
> register file when crossing kernel->user boundary due to sys_sigreturn(9)
> setting PCB_FULL_IRET flag.  As result, the whole trap frame at the
> time of the syscall entry is restored, and ERESTART return is not
> exercised.

> I was not able to reproduce the issue with the supplied test program
> on HEAD.  I suspect that the program actually exposed the bug in the
> signal delivery in the threaded processes, which I introduced for 9.1
> and fixed in r251047 & r251365.

The ERESTART return happens if there is no signal or no longer a signal.
The latter is how the bug in the PR occurs: a SIGCHLD delivery via
handler in one thread races with a SIGCHLD acceptance in wait4() in
another thread. Note wait4() returning a value in the other thread in
the fourth line of the kdump output in the PR.

For some reason, I can reproduce this easily on my local quad-core
r255729 stable/9 system but not on ref9-amd64.freebsd.org or
ref10-amd64.freebsd.org.

I can also reproduce the bug on my local system by racing signal
delivery via handler with acceptance in sigtimedwait().

-- 
Jilles Tjoelker
___
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: and64-build i386 mtree doesn't work too (Re: r255795/i386 built on r255795/amd64 still could not start devdpassword)

2013-09-24 Thread Lev Serebryakov
Hello, Lev.
You wrote 23 сентября 2013 г., 19:29:05:


LS>>  Now I have r255795/i386 built on r255795/amd64 (with "make TARGET=i386 
buildworld
LS>> buildkernel").
LS>  Also, it could not start "make buildworld" by itself, as "mtree" complains
LS> about line 2 of etc/mtree/BSD.usr.dist ("no parent node").
LS>  It looks like, i386 world built by amd64 host is completely broken 
somewhere
LS> in text processing tool.
 So, nobody interested? Building 32 bit world on 64 bit host is not
 supported now?

-- 
// Black Lion AKA Lev Serebryakov 

___
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: load averages with problem in FreeBSD 10.0-Alpha1?

2013-09-24 Thread Marcelo Gondim

Em 24/09/13 08:11, Bryan Drewery escreveu:

On 9/17/2013 4:08 PM, Marcelo Gondim wrote:

The problem happens when DUMMYNET enabled in kernel:

options DUMMYNET

If compiled with kernel load average have a problem. May have been some
change in the DUMMYNETcode?



Fixed here:

http://svnweb.freebsd.org/changeset/base/255835

Bryan



Yes Bryan, I saw.  :)

Thanks and best regards,


___
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: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey Kandaurov
On 24 September 2013 15:44, Edward Tomasz Napierała  wrote:
> Wiadomość napisana przez Sergey Kandaurov  w dniu 24 wrz 
> 2013, o godz. 13:00:
>> On 24 September 2013 14:40, Sergey Kandaurov  wrote:
>>> On 24 September 2013 11:46, Sergey V. Dyatko  
>>> wrote:
 Hi,

 today I tried to play a bit with new iscsi

 r255812 isn't fully complete fix?

>>> [...]
 run  `kldload iscsi_initiator` and got a panic:
>>>
>>> Something like this quick'n'dirty should work.
>>> Compile tested only.
>>>
>>> Index: sys/dev/iscsi_initiator/iscsi.c
>>> ===
>>> --- sys/dev/iscsi_initiator/iscsi.c(revision 255841)
>>> +++ sys/dev/iscsi_initiator/iscsi.c(working copy)
>>> @@ -715,7 +715,8 @@
>>>  TUNABLE_INT_FETCH("net.iscsi_initiator.max_pdus", &max_pdus);
>>>
>>>  isc =  malloc(sizeof(struct isc_softc), M_ISCSI, M_ZERO|M_WAITOK);
>>> - isc->dev = make_dev(&iscsi_cdevsw, max_sessions, UID_ROOT,
>>> GID_WHEEL, 0600, "iscsi");
>>> + isc->dev = make_dev_credf(MAKEDEV_CHECKNAME, &iscsi_cdevsw, 
>>> max_sessions,
>>> +   NULL, UID_ROOT, GID_WHEEL, 0600, "iscsi");
>>>  isc->dev->si_drv1 = isc;
>>>  mtx_init(&isc->isc_mtx, "iscsi-isc", NULL, MTX_DEF);
>>
>> Erm, of course it shall be checked against failure.
>
> Sure.  What do you think about this:
>
> Index: sys/dev/iscsi_initiator/iscsi.c
> ===
> --- sys/dev/iscsi_initiator/iscsi.c (revision 255834)
> +++ sys/dev/iscsi_initiator/iscsi.c (working copy)
> @@ -715,8 +715,14 @@ iscsi_start(void)
>   TUNABLE_INT_FETCH("net.iscsi_initiator.max_pdus", &max_pdus);
>
>   isc =  malloc(sizeof(struct isc_softc), M_ISCSI, M_ZERO|M_WAITOK);
> - isc->dev = make_dev(&iscsi_cdevsw, max_sessions, UID_ROOT, GID_WHEEL, 
> 0600, "iscsi");
> - isc->dev->si_drv1 = isc;
> + isc->dev = make_dev_credf(MAKEDEV_CHECKNAME, &iscsi_cdevsw, 
> max_sessions,
> + NULL, UID_ROOT, GID_WHEEL, 0600, "iscsi");
> + if (isc->dev == NULL) {
> + xdebug("iscsi_initiator: make_dev_credf failed");
> + // XXX: don't return; otherwise it would panic on unload
> + } else {
> +isc->dev->si_drv1 = isc;
> + }
>   mtx_init(&isc->isc_mtx, "iscsi-isc", NULL, MTX_DEF);
>
>   TAILQ_INIT(&isc->isc_sess);
>

LGTM, except there is different indentation where for function calls
each new line aligned with the first function argument.

-- 
wbr,
pluknet
___
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: unbound: start BEFORE ntpd?

2013-09-24 Thread Dag-Erling Smørgrav
Larry Rosenman  writes:
> When I rebooted my box today after the latest rc.d changes for
> unbound, I noted that ntpd started BEFORE unbound therefore could NOT
> look up hosts.  Are there more tweaks needed here?

Yes - I forgot to commit this:

Index: NETWORKING
===
--- NETWORKING  (revision 255837)
+++ NETWORKING  (working copy)
@@ -6,7 +6,7 @@
 # PROVIDE: NETWORKING NETWORK
 # REQUIRE: netif netoptions routing ppp ipfw stf faith
 # REQUIRE: defaultroute routed mrouted route6d mroute6d resolv bridge
-# REQUIRE: static_arp static_ndp
+# REQUIRE: static_arp static_ndp local_unbound
 
 #  This is a dummy dependency, for services which require networking
 #  to be operational before starting.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
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: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Edward Tomasz Napierała
Wiadomość napisana przez Sergey Kandaurov  w dniu 24 wrz 
2013, o godz. 13:00:
> On 24 September 2013 14:40, Sergey Kandaurov  wrote:
>> On 24 September 2013 11:46, Sergey V. Dyatko  wrote:
>>> Hi,
>>> 
>>> today I tried to play a bit with new iscsi
>>> 
>>> r255812 isn't fully complete fix?
>>> 
>> [...]
>>> run  `kldload iscsi_initiator` and got a panic:
>> 
>> Something like this quick'n'dirty should work.
>> Compile tested only.
>> 
>> Index: sys/dev/iscsi_initiator/iscsi.c
>> ===
>> --- sys/dev/iscsi_initiator/iscsi.c(revision 255841)
>> +++ sys/dev/iscsi_initiator/iscsi.c(working copy)
>> @@ -715,7 +715,8 @@
>>  TUNABLE_INT_FETCH("net.iscsi_initiator.max_pdus", &max_pdus);
>> 
>>  isc =  malloc(sizeof(struct isc_softc), M_ISCSI, M_ZERO|M_WAITOK);
>> - isc->dev = make_dev(&iscsi_cdevsw, max_sessions, UID_ROOT,
>> GID_WHEEL, 0600, "iscsi");
>> + isc->dev = make_dev_credf(MAKEDEV_CHECKNAME, &iscsi_cdevsw, 
>> max_sessions,
>> +   NULL, UID_ROOT, GID_WHEEL, 0600, "iscsi");
>>  isc->dev->si_drv1 = isc;
>>  mtx_init(&isc->isc_mtx, "iscsi-isc", NULL, MTX_DEF);
> 
> Erm, of course it shall be checked against failure.

Sure.  What do you think about this:

Index: sys/dev/iscsi_initiator/iscsi.c
===
--- sys/dev/iscsi_initiator/iscsi.c (revision 255834)
+++ sys/dev/iscsi_initiator/iscsi.c (working copy)
@@ -715,8 +715,14 @@ iscsi_start(void)
  TUNABLE_INT_FETCH("net.iscsi_initiator.max_pdus", &max_pdus);
 
  isc =  malloc(sizeof(struct isc_softc), M_ISCSI, M_ZERO|M_WAITOK);
- isc->dev = make_dev(&iscsi_cdevsw, max_sessions, UID_ROOT, GID_WHEEL, 
0600, "iscsi");
- isc->dev->si_drv1 = isc;
+ isc->dev = make_dev_credf(MAKEDEV_CHECKNAME, &iscsi_cdevsw, max_sessions,
+ NULL, UID_ROOT, GID_WHEEL, 0600, "iscsi");
+ if (isc->dev == NULL) {
+ xdebug("iscsi_initiator: make_dev_credf failed");
+ // XXX: don't return; otherwise it would panic on unload
+ } else {
+isc->dev->si_drv1 = isc;
+ }
  mtx_init(&isc->isc_mtx, "iscsi-isc", NULL, MTX_DEF);
 
  TAILQ_INIT(&isc->isc_sess);

___
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: load averages with problem in FreeBSD 10.0-Alpha1?

2013-09-24 Thread Bryan Drewery
On 9/17/2013 4:08 PM, Marcelo Gondim wrote:
> The problem happens when DUMMYNET enabled in kernel:
> 
> options DUMMYNET
> 
> If compiled with kernel load average have a problem. May have been some
> change in the DUMMYNETcode?
> 
> 

Fixed here:

http://svnweb.freebsd.org/changeset/base/255835

Bryan

___
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"


unbound: start BEFORE ntpd?

2013-09-24 Thread Larry Rosenman

DES,
When I rebooted my box today after the latest rc.d changes for 
unbound, I noted that ntpd started BEFORE unbound therefore

could NOT look up hosts.

Are there more tweaks needed here?



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
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: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Russ Cox
I don't have a machine at hand that I can rebuild the kernel on, but I
agree that setting PCB_FULL_IRET should fix the problem.

Russ
___
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: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey Kandaurov
On 24 September 2013 14:40, Sergey Kandaurov  wrote:
> On 24 September 2013 11:46, Sergey V. Dyatko  wrote:
>> Hi,
>>
>> today I tried to play a bit with new iscsi
>>
>> r255812 isn't fully complete fix?
>>
> [...]
>> run  `kldload iscsi_initiator` and got a panic:
>
> Something like this quick'n'dirty should work.
> Compile tested only.
>
> Index: sys/dev/iscsi_initiator/iscsi.c
> ===
> --- sys/dev/iscsi_initiator/iscsi.c(revision 255841)
> +++ sys/dev/iscsi_initiator/iscsi.c(working copy)
> @@ -715,7 +715,8 @@
>   TUNABLE_INT_FETCH("net.iscsi_initiator.max_pdus", &max_pdus);
>
>   isc =  malloc(sizeof(struct isc_softc), M_ISCSI, M_ZERO|M_WAITOK);
> - isc->dev = make_dev(&iscsi_cdevsw, max_sessions, UID_ROOT,
> GID_WHEEL, 0600, "iscsi");
> + isc->dev = make_dev_credf(MAKEDEV_CHECKNAME, &iscsi_cdevsw, 
> max_sessions,
> +   NULL, UID_ROOT, GID_WHEEL, 0600, "iscsi");
>   isc->dev->si_drv1 = isc;
>   mtx_init(&isc->isc_mtx, "iscsi-isc", NULL, MTX_DEF);

Erm, of course it shall be checked against failure.

-- 
wbr,
pluknet
___
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: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey Kandaurov
On 24 September 2013 11:46, Sergey V. Dyatko  wrote:
> Hi,
>
> today I tried to play a bit with new iscsi
>
> r255812 isn't fully complete fix?
>
[...]
> run  `kldload iscsi_initiator` and got a panic:

Something like this quick'n'dirty should work.
Compile tested only.

Index: sys/dev/iscsi_initiator/iscsi.c
===
--- sys/dev/iscsi_initiator/iscsi.c(revision 255841)
+++ sys/dev/iscsi_initiator/iscsi.c(working copy)
@@ -715,7 +715,8 @@
  TUNABLE_INT_FETCH("net.iscsi_initiator.max_pdus", &max_pdus);

  isc =  malloc(sizeof(struct isc_softc), M_ISCSI, M_ZERO|M_WAITOK);
- isc->dev = make_dev(&iscsi_cdevsw, max_sessions, UID_ROOT,
GID_WHEEL, 0600, "iscsi");
+ isc->dev = make_dev_credf(MAKEDEV_CHECKNAME, &iscsi_cdevsw, max_sessions,
+   NULL, UID_ROOT, GID_WHEEL, 0600, "iscsi");
  isc->dev->si_drv1 = isc;
  mtx_init(&isc->isc_mtx, "iscsi-isc", NULL, MTX_DEF);


-- 
wbr,
pluknet
___
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"


panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey V. Dyatko
Hi,

today I tried to play a bit with new iscsi

r255812 isn't fully complete fix?

what I did:
1) create ctl.conf:
pidfile /var/run/ctld.pid
portal-group example2 {
discovery-auth-group no-authentication
listen 127.0.0.1
listen 0.0.0.0:3261
}
target iqn.desktop:target0 {
alias "Testing target"
auth-group no-authentication
portal-groupexample2
lun 0 {
path /dev/md0
blocksize 4096
#   size 4G
}
 }
2) dd if=/dev/zero of=/path/to/file bs=1M count=200
3) mdconfig -a -t vnode -f /path/to/file
4) start iscsid and ctld
5) iscsictl -A -h locahost -t iqn.desktop:target0 (wrong hostname)
6) iscsictl -A -h localhost -t iqn.desktop:target0 

after [6] /var/log/messages: 
Sep 24 10:31:50 tiger kernel: cfiscsi_ioctl_handoff: new connection
from iqn.1994-09.org.freebsd:tiger.minsk.domain (127.0.0.1) to
iqn.desktop:target0 
Sep 24 10:31:50 tiger kernel: da0 at iscsi2 bus 0
scbus6 target 0 lun 0 
Sep 24 10:31:50 tiger kernel: da0:  Fixed Direct
Access SCSI-5 device 
Sep 24 10:31:50 tiger kernel: da0: 200MB (51200 4096 byte sectors: 64H
32S/T 25C)

also I see following (step 5, I suppose, how I can cancel it ?): 
Sep 24 10:32:08 tiger iscsid[1428]: locahost (iqn.desktop:target0):
failed to connect to locahost: Connection refused
Sep 24 10:32:08 tiger kernel: WARNING: locahost (iqn.desktop:target0):
login timed out after 61 seconds; reconnecting 
Sep 24 10:33:10 tiger iscsid[1402]: child process 1428 terminated with
exit status 1 
Sep 24 10:33:10 tiger kernel: WARNING: locahost (iqn.desktop:target0):
login timed out after 61 seconds; reconnecting 
Sep 24 10:33:10 tiger iscsid[1433]: locahost (iqn.desktop:target0):
failed to connect to locahost: Connection refused

Ok, seems I can work with that, I can do newfs /dev/da0, mount it and
so on.

Now i'm trying to tun iscontrol on my laptop (beta1, r255449):
laptop# iscontrol -dt 192.168.9.98
errno=61
connect: Connection refused
^C
hm... possible something wrong... trying to reproduce that on desktop...
run  `kldload iscsi_initiator` and got a panic:

tiger# kgdb /boot/kernel/kernel /var/crash/vmcore.last
-> http://paste.org.ru/?rtc74f

I can provide additional information if you need it

-- 
wbr, tiger
___
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"