[head tinderbox] failure on amd64/amd64

Roman Divacky rdivacky at freebsd.org
Sat Nov 10 19:08:02 UTC 2012


The XNB_ASSERT is defined as a statement expression, but it's result is
not used anywhere (not in a single place).

Ken, can this be just rewritten as do { ... } while(0) ? Or is there a special
reason why it is a statement expression?

Roman

On Sat, Nov 10, 2012 at 05:49:35PM +0000, FreeBSD Tinderbox wrote:
> TB --- 2012-11-10 11:20:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
> TB --- 2012-11-10 11:20:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012     des at freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
> TB --- 2012-11-10 11:20:00 - starting HEAD tinderbox run for amd64/amd64
> TB --- 2012-11-10 11:20:00 - cleaning the object tree
> TB --- 2012-11-10 11:27:18 - checking out /src from svn://svn.freebsd.org/base/head
> TB --- 2012-11-10 11:27:18 - cd /tinderbox/HEAD/amd64/amd64
> TB --- 2012-11-10 11:27:18 - /usr/local/bin/svn cleanup /src
> TB --- 2012-11-10 11:27:59 - /usr/local/bin/svn update /src
> TB --- 2012-11-10 11:28:05 - At svn revision 242854
> TB --- 2012-11-10 11:28:06 - building world
> TB --- 2012-11-10 11:28:06 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 11:28:06 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 11:28:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 11:28:06 - SRCCONF=/dev/null
> TB --- 2012-11-10 11:28:06 - TARGET=amd64
> TB --- 2012-11-10 11:28:06 - TARGET_ARCH=amd64
> TB --- 2012-11-10 11:28:06 - TZ=UTC
> TB --- 2012-11-10 11:28:06 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 11:28:06 - cd /src
> TB --- 2012-11-10 11:28:06 - /usr/bin/make -B buildworld
> >>> Building an up-to-date make(1)
> >>> World build started on Sat Nov 10 11:28:13 UTC 2012
> >>> 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 Sat Nov 10 15:03:20 UTC 2012
> TB --- 2012-11-10 15:03:20 - generating LINT kernel config
> TB --- 2012-11-10 15:03:20 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 15:03:20 - /usr/bin/make -B LINT
> TB --- 2012-11-10 15:03:20 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 15:03:20 - /usr/sbin/config -m LINT
> TB --- 2012-11-10 15:03:20 - building LINT kernel
> TB --- 2012-11-10 15:03:20 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 15:03:20 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 15:03:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 15:03:20 - SRCCONF=/dev/null
> TB --- 2012-11-10 15:03:20 - TARGET=amd64
> TB --- 2012-11-10 15:03:20 - TARGET_ARCH=amd64
> TB --- 2012-11-10 15:03:20 - TZ=UTC
> TB --- 2012-11-10 15:03:20 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 15:03:20 - cd /src
> TB --- 2012-11-10 15:03:20 - /usr/bin/make -B buildkernel KERNCONF=LINT
> >>> Kernel build for LINT started on Sat Nov 10 15:03:20 UTC 2012
> >>> 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
> >>> Kernel build for LINT completed on Sat Nov 10 15:33:26 UTC 2012
> TB --- 2012-11-10 15:33:26 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 15:33:26 - /usr/sbin/config -m LINT-NOINET
> TB --- 2012-11-10 15:33:26 - building LINT-NOINET kernel
> TB --- 2012-11-10 15:33:26 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 15:33:26 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 15:33:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 15:33:26 - SRCCONF=/dev/null
> TB --- 2012-11-10 15:33:26 - TARGET=amd64
> TB --- 2012-11-10 15:33:26 - TARGET_ARCH=amd64
> TB --- 2012-11-10 15:33:26 - TZ=UTC
> TB --- 2012-11-10 15:33:26 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 15:33:26 - cd /src
> TB --- 2012-11-10 15:33:26 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
> >>> Kernel build for LINT-NOINET started on Sat Nov 10 15:33:26 UTC 2012
> >>> 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
> >>> Kernel build for LINT-NOINET completed on Sat Nov 10 15:58:49 UTC 2012
> TB --- 2012-11-10 15:58:49 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 15:58:49 - /usr/sbin/config -m LINT-NOINET6
> TB --- 2012-11-10 15:58:49 - building LINT-NOINET6 kernel
> TB --- 2012-11-10 15:58:49 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 15:58:49 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 15:58:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 15:58:49 - SRCCONF=/dev/null
> TB --- 2012-11-10 15:58:49 - TARGET=amd64
> TB --- 2012-11-10 15:58:49 - TARGET_ARCH=amd64
> TB --- 2012-11-10 15:58:49 - TZ=UTC
> TB --- 2012-11-10 15:58:49 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 15:58:49 - cd /src
> TB --- 2012-11-10 15:58:49 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6
> >>> Kernel build for LINT-NOINET6 started on Sat Nov 10 15:58:49 UTC 2012
> >>> 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
> >>> Kernel build for LINT-NOINET6 completed on Sat Nov 10 16:25:57 UTC 2012
> TB --- 2012-11-10 16:25:57 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 16:25:57 - /usr/sbin/config -m LINT-NOIP
> TB --- 2012-11-10 16:25:57 - building LINT-NOIP kernel
> TB --- 2012-11-10 16:25:57 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 16:25:57 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 16:25:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 16:25:57 - SRCCONF=/dev/null
> TB --- 2012-11-10 16:25:57 - TARGET=amd64
> TB --- 2012-11-10 16:25:57 - TARGET_ARCH=amd64
> TB --- 2012-11-10 16:25:57 - TZ=UTC
> TB --- 2012-11-10 16:25:57 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 16:25:57 - cd /src
> TB --- 2012-11-10 16:25:57 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP
> >>> Kernel build for LINT-NOIP started on Sat Nov 10 16:25:57 UTC 2012
> >>> 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
> >>> Kernel build for LINT-NOIP completed on Sat Nov 10 16:48:53 UTC 2012
> TB --- 2012-11-10 16:48:53 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 16:48:53 - /usr/sbin/config -m LINT-VIMAGE
> TB --- 2012-11-10 16:48:53 - building LINT-VIMAGE kernel
> TB --- 2012-11-10 16:48:53 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 16:48:53 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 16:48:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 16:48:53 - SRCCONF=/dev/null
> TB --- 2012-11-10 16:48:53 - TARGET=amd64
> TB --- 2012-11-10 16:48:53 - TARGET_ARCH=amd64
> TB --- 2012-11-10 16:48:53 - TZ=UTC
> TB --- 2012-11-10 16:48:53 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 16:48:53 - cd /src
> TB --- 2012-11-10 16:48:53 - /usr/bin/make -B buildkernel KERNCONF=LINT-VIMAGE
> >>> Kernel build for LINT-VIMAGE started on Sat Nov 10 16:48:54 UTC 2012
> >>> 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
> >>> Kernel build for LINT-VIMAGE completed on Sat Nov 10 17:15:51 UTC 2012
> TB --- 2012-11-10 17:15:51 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 17:15:51 - /usr/sbin/config -m GENERIC
> TB --- 2012-11-10 17:15:51 - building GENERIC kernel
> TB --- 2012-11-10 17:15:51 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 17:15:51 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 17:15:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 17:15:51 - SRCCONF=/dev/null
> TB --- 2012-11-10 17:15:51 - TARGET=amd64
> TB --- 2012-11-10 17:15:51 - TARGET_ARCH=amd64
> TB --- 2012-11-10 17:15:51 - TZ=UTC
> TB --- 2012-11-10 17:15:51 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 17:15:51 - cd /src
> TB --- 2012-11-10 17:15:51 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
> >>> Kernel build for GENERIC started on Sat Nov 10 17:15:51 UTC 2012
> >>> 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
> >>> Kernel build for GENERIC completed on Sat Nov 10 17:41:47 UTC 2012
> TB --- 2012-11-10 17:41:47 - cd /src/sys/amd64/conf
> TB --- 2012-11-10 17:41:47 - /usr/sbin/config -m XENHVM
> TB --- 2012-11-10 17:41:47 - building XENHVM kernel
> TB --- 2012-11-10 17:41:47 - CROSS_BUILD_TESTING=YES
> TB --- 2012-11-10 17:41:47 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-11-10 17:41:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-11-10 17:41:47 - SRCCONF=/dev/null
> TB --- 2012-11-10 17:41:47 - TARGET=amd64
> TB --- 2012-11-10 17:41:47 - TARGET_ARCH=amd64
> TB --- 2012-11-10 17:41:47 - TZ=UTC
> TB --- 2012-11-10 17:41:47 - __MAKE_CONF=/dev/null
> TB --- 2012-11-10 17:41:47 - cd /src
> TB --- 2012-11-10 17:41:47 - /usr/bin/make -B buildkernel KERNCONF=XENHVM
> >>> Kernel build for XENHVM started on Sat Nov 10 17:41:48 UTC 2012
> >>> 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
> [...]
> /src/sys/dev/xen/netback/netback_unit_tests.c:500:2: error: expression result unused [-Werror,-Wunused-value]
>         XNB_ASSERT(pkt.car_size == 110);
>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /src/sys/dev/xen/netback/netback_unit_tests.c:74:2: note: expanded from macro 'XNB_ASSERT'
>  ! passed; })
>  ^ ~~~~~~
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> *** [netback.o] Error code 1
> 
> Stop in /obj/amd64.amd64/src/sys/XENHVM.
> *** [buildkernel] Error code 1
> 
> Stop in /src.
> *** Error code 1
> 
> Stop in /src.
> TB --- 2012-11-10 17:49:35 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2012-11-10 17:49:35 - ERROR: failed to build XENHVM kernel
> TB --- 2012-11-10 17:49:35 - 16677.17 user 2898.01 system 23374.49 real
> 
> 
> http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


More information about the freebsd-amd64 mailing list