Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
At Wed, 21 Oct 2009 15:50:00 -0700, JINMEI Tatuya wrote: > On success, "backtrace_test" simply exits without any output (I know > it's not a good UI); if something goes wrong it will dump some warning > messages to stderr and exit with a non-0 exit code. If the test fails > on your platform, please report it to bind9-b...@isc.org, including > the OS, its version, and hardware architecture (x86, amd64, sparc, > etc). I've seen a couple of prompt reports (thanks!), and these reports reminded me that I forgot to ask for one more element of the platform: compiler. Please include which compiler you use with your reports. Thanks again, --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
On 2009-10-21, at 6:50 PM, JINMEI Tatuya / 神明達哉 wrote: Dear beta testers, At Tue, 20 Oct 2009 20:29:20 +, Evan Hunt wrote: BIND 9.7.0b1 is now available. [snip] - On some platforms, named and other binaries can now print out a stack backtrace an assertion failure, to aid in debugging. I'd like to know platforms for which this feature does NOT work, so that we can fix the problem (preferably) or disable this feature at ./configure time for such platforms. To see if it works for your platform, please perform the following steps: 1. build 9.7.0b1 2. go to the "bind-9.7.0b1/bin/tests" directory 3. % make backtrace_test 4. % ./backtrace_test On success, "backtrace_test" simply exits without any output (I know it's not a good UI); if something goes wrong it will dump some warning messages to stderr and exit with a non-0 exit code. If the test fails on your platform, please report it to bind9-b...@isc.org, including the OS, its version, and hardware architecture (x86, amd64, sparc, etc). Possibly also useful to report success here so that many people aren't needlessly repeating the same test. It passed for me on: x86_64 / Mac OS X 10.6.1 / Darwin dhcp4.sanxion.org 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386 x86 / Ubuntu 9.04 / Linux sb 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux There are several known defects: - this feature doesn't work if it's built with libtool - this doesn't work for Windows (probably obvious) these cases don't have to be tested. Thanks, --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
On 2009-10-21, at 8:19 PM, Dave Knight wrote: x86_64 / Mac OS X 10.6.1 / Darwin dhcp4.sanxion.org 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386 i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) x86 / Ubuntu 9.04 / Linux sb 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
At Wed, 21 Oct 2009 20:19:59 -0400, Dave Knight wrote: > > > If the test fails > > on your platform, please report it to bind9-b...@isc.org, including > > the OS, its version, and hardware architecture (x86, amd64, sparc, > > etc). > Possibly also useful to report success here so that many people aren't > needlessly repeating the same test. Yes, that's indeed helpful as we actually plan to take an "opt-in" approach, that is, enabling it only for those known to work. This is a list of platforms I've confirmed to work correctly: - FreeBSD 6.1-RELEASE i386, gcc (GCC) 3.4.4 [FreeBSD] 20050518 - FreeBSD 7.0-RC1 amd64, gcc (GCC) 4.2.1 20070719 [FreeBSD] - FreeBSD 8.0-RC1 ia64, gcc (GCC) 4.2.1 20070719 [FreeBSD] - Linux 2.6.25 i686, gcc (Debian 4.3.2-1.1) 4.3.2 - Linux 2.6.18-6-amd64, gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) - SunOS 5.10 i86pc(amd64), Sun C 5.7 2005/01/07 - SunOS 5.10 i86pc(amd64), gcc (GCC) 3.4.2 (producing 32-bit code) In general, I expect it should work on - most x86/amd64/IA64 + gcc platforms (regardless of OS) - most Linux variants (assuming the compiler is gcc, regardless of machine arch) So, if it does NOT work on a platform that matches the above condition, it's good to know. Likewise, if it DOES works on a platform that doesn't match the condition, it's also a good input. Other results, which are actually expected but not yet confirmed, are also appreciated. Thanks once again, --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
~/bind-9.7.0b1/bin/tests# uname -rna FreeBSD hostname 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Aug 11 20:18:22 UTC 2009 r...@hostname:/usr/obj/usr/src/sys/GENERIC amd64 [10:09] ttyp0/0 {861}~/bind-9.7.0b1/bin/tests# gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ~/bind-9.7.0b1/bin/tests# uname -rna FreeBSD hostname 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #1: Fri Aug 7 09:47:09 CEST 2009 r...@hostname:/usr/obj/usr/src/sys/GENERIC i386 [10:12] ttyp0/0 r...@hostname{1585}~/bind-9.7.0b1/bin/tests# gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
JINMEI, we're not using sparc for our bind installations, but this is a feedback on your 'call for testers' (bind compilation went successfully on both compilers): solaris 10 sparc, sun studio 12u1 compiler: $ uname -a SunOS chuck 5.10 Generic_141414-10 sun4u sparc SUNW,Sun-Fire-V440 $ cc -V cc: Sun C 5.10 SunOS_sparc 2009/06/03 [tests]$ ./backtrace_test isc_backtrace_gettrace failed: not implemented [tests]$ echo $? 1 solaris 10 sparc, sun gcc compiler: $ gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) [tests]$ ./backtrace_test isc_backtrace_gettrace failed: not implemented ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
> > Possibly also useful to report success here so that many people aren't > > needlessly repeating the same test. - NetBSD 4.99.62 amd64, gcc 4.1.3 20080202 prerelease (NetBSD nb1 20080202) - NetBSD 5.0.0_PATCH i386, pcc 0.9.9 (HEAD) for i386-unknown-netbsdelf5.0.0. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
RE: call for testers (Re: ISC BIND 9.7.0b1 is now available)
Backtrace executes successfully on the latest build of OpenSolaris for SPARC (snv_125) with gcc version 3.4.6 # uname -a SunOS nemesis 5.11 snv_125 sun4u sparc SUNW, 5-slot Sun Enterprise E3500 # gcc -v Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 Regards, -Original Message- From: bind-users-boun...@lists.isc.org [mailto:bind-users-boun...@lists.isc.org] On Behalf Of JINMEI Tatuya / Sent: Wednesday, October 21, 2009 8:18 PM To: bind-us...@isc.org Subject: Re: call for testers (Re: ISC BIND 9.7.0b1 is now available) At Wed, 21 Oct 2009 15:50:00 -0700, JINMEI Tatuya wrote: > On success, "backtrace_test" simply exits without any output (I know > it's not a good UI); if something goes wrong it will dump some warning > messages to stderr and exit with a non-0 exit code. If the test fails > on your platform, please report it to bind9-b...@isc.org, including > the OS, its version, and hardware architecture (x86, amd64, sparc, > etc). I've seen a couple of prompt reports (thanks!), and these reports reminded me that I forgot to ask for one more element of the platform: compiler. Please include which compiler you use with your reports. Thanks again, --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
At Thu, 22 Oct 2009 10:09:12 -0400, "Gerry Scott" wrote: > Backtrace executes successfully on the latest build of OpenSolaris for SPARC > (snv_125) with gcc version 3.4.6 > > # uname -a > SunOS nemesis 5.11 snv_125 sun4u sparc SUNW, 5-slot Sun Enterprise E3500 > > # gcc -v > Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs > Configured with: ../configure --with-as=/usr/ccs/bin/as > --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 > Thread model: posix > gcc version 3.4.6 Thanks for testing. This is an interesting result...I didn't expect it works for SunOS + sparc. Can you identify if your system has a "backtrace()" library function in libc? Does your system have /usr/include/execinfo.h? --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
> Date: Wed, 21 Oct 2009 15:50:00 -0700 > From: JINMEI Tatuya / ...@l@C#:H(B > > > 1. build 9.7.0b1 > 2. go to the "bind-9.7.0b1/bin/tests" directory > 3. % make backtrace_test > 4. % ./backtrace_test metis% uname -a SunOS metis 5.9 Generic_122300-31 sun4u sparc SUNW,Ultra-1 metis% make backtrace_test gcc -I/home/ghicks/incoming/bind/bind-9.7.0b1 -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/dns/include -I../../lib/dns/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/noatomic/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/isccfg/include -I../../lib/isccfg/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/lwres/include -I../../lib/lwres/unix/include -I../../lib/lwres/include -D_REENTRANT -DBIND9 -D_XPG4_2 -D__EXTENSIONS__ -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -o backtrace_test_nosymtbl \ backtrace_test.c ../../lib/isc/libisc.a -L/usr/local/ssl/lib -R/usr/local/ssl/lib -R/usr/local/ssl/lib -lcrypto -ldl -lnsl -lsocket -lpthread -lthread #first step: create a first symbol table rm -f symtbl.c if test X/usr/bin/perl != X; then \ /usr/bin/perl ../../util/mksymtbl.pl \ backtrace_test_nosymtbl; else \ cp ../../lib/isc/backtrace-emptytbl.c symtbl.c; fi #second step: build a binary with the first symbol table gcc -I/home/ghicks/incoming/bind/bind-9.7.0b1 -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/dns/include -I../../lib/dns/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/noatomic/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/isccfg/include -I../../lib/isccfg/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/lwres/include -I../../lib/lwres/unix/include -I../../lib/lwres/include -D_REENTRANT -DBIND9 -D_XPG4_2 -D__EXTENSIONS__ -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing \ -o backtrace_test0 backtrace_test.c symtbl.c \ ../../lib/isc/libisc-nosymtbl.a -L/usr/local/ssl/lib -R/usr/local/ssl/lib -R/usr/local/ssl/lib -lcrypto -ldl -lnsl -lsocket -lpthread -lthread rm -f symtbl.c #third step: create a second symbol table if test X/usr/bin/perl != X; then \ /usr/bin/perl ../../util/mksymtbl.pl backtrace_test0; else \ cp ../../lib/isc/backtrace-emptytbl.c symtbl.c; fi #fourth step: build the final binary rm -f backtrace_test0 gcc -I/home/ghicks/incoming/bind/bind-9.7.0b1 -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/dns/include -I../../lib/dns/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/noatomic/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/isccfg/include -I../../lib/isccfg/include -I/home/ghicks/incoming/bind/bind-9.7.0b1/lib/lwres/include -I../../lib/lwres/unix/include -I../../lib/lwres/include -D_REENTRANT -DBIND9 -D_XPG4_2 -D__EXTENSIONS__ -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing \ -o backtrace_test backtrace_test.c symtbl.c ../../lib/isc/libisc-nosymtbl.a -L/usr/local/ssl/lib -R/usr/local/ssl/lib -R/usr/local/ssl/lib -lcrypto -ldl -lnsl -lsocket -lpthread -lthread rm -f symtbl.c metis% ./backtrace_test isc_backtrace_gettrace failed: not implemented metis% > > On success, "backtrace_test" simply exits without any output (I know > it's not a good UI); if something goes wrong it will dump some warning > messages to stderr and exit with a non-0 exit code. If the test fails > on your platform, please report it to bind9-b...@isc.org, including > the OS, its version, and hardware architecture (x86, amd64, sparc, > etc). > > There are several known defects: > - this feature doesn't work if it's built with libtool > - this doesn't work for Windows (probably obvious) > these cases don't have to be tested. > > Thanks, > > --- > JINMEI, Tatuya > Internet Systems Consortium, Inc. > ___ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users - Gregory Hicks | Principal Systems Engineer | Direct: 408.569.7928 People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf -- George Orwell The price of freedom is eternal vigilance. -- Thomas Jefferson "The best we can hope for concerning the people at large is that they be properly armed." --Alexander Hamilton ___ bind-use
RE: call for testers (Re: ISC BIND 9.7.0b1 is now available)
JINMEI, OpenSolaris build 125 includes execinfo.h within the /usr/include directory. Also, backtrace() functionality has been included within the OS since build 63. http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6536146 Regards, Gerry Scott President and Principal Engineer WAN Systems Email: gsc...@wansyseng.com "Empowering businesses with efficient, effective and secure local, wide area and Internet infrastructure. Customer satisfaction is key to the bottom-line; the network is key to providing the customer experience". -Original Message- From: JINMEI Tatuya / [mailto:jin...@isc.org] Sent: Monday, October 26, 2009 4:33 AM To: gscot...@gmail.com Cc: bind-us...@isc.org Subject: Re: call for testers (Re: ISC BIND 9.7.0b1 is now available) At Thu, 22 Oct 2009 10:09:12 -0400, "Gerry Scott" wrote: > Backtrace executes successfully on the latest build of OpenSolaris for SPARC > (snv_125) with gcc version 3.4.6 > > # uname -a > SunOS nemesis 5.11 snv_125 sun4u sparc SUNW, 5-slot Sun Enterprise E3500 > > # gcc -v > Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs > Configured with: ../configure --with-as=/usr/ccs/bin/as > --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 > Thread model: posix > gcc version 3.4.6 Thanks for testing. This is an interesting result...I didn't expect it works for SunOS + sparc. Can you identify if your system has a "backtrace()" library function in libc? Does your system have /usr/include/execinfo.h? --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: call for testers (Re: ISC BIND 9.7.0b1 is now available)
At Mon, 26 Oct 2009 11:42:53 -0400, "Gerry Scott" wrote: > OpenSolaris build 125 includes execinfo.h within the /usr/include directory. > Also, backtrace() functionality has been included within the OS since build > 63. > > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6536146 Okay, that's good know. Thanks, --- JINMEI, Tatuya Internet Systems Consortium, Inc. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users