Re: [head tinderbox] failure on amd64/amd64

From: Shawn Webb <lattera_at_gmail.com>
Date: Wed, 27 Nov 2013 08:59:55 -0500
On Wed, Nov 27, 2013 at 8:07 AM, FreeBSD Tinderbox <tinderbox_at_freebsd.org>wrote:
>
> >>> stage 3.2: building everything
> [...]
>         ^
> /src/sys/sys/sdt.h:153:19: note: expanded from macro 'SDT_PROBE_DEFINE'
>         struct sdt_probe sdt_##prov##_##mod##_##func##_##name[1] = {
>      \
>                          ^
> <scratch space>:51:1: note: expanded from here
> sdt_vnet_functions_vnet_destroy_entry
> ^
> 4 errors generated.
> *** Error code 1
>
> Stop.
> bmake[1]: stopped in /obj/amd64.amd64/src/sys/LINT-VIMAGE
> *** Error code 1
>
> Stop.
> bmake: stopped in /src
> *** Error code 1
>
> Stop in /src.
> TB --- 2013-11-27 13:07:05 - WARNING: /usr/bin/make returned exit code  1
> TB --- 2013-11-27 13:07:05 - ERROR: failed to build LINT-VIMAGE kernel
> TB --- 2013-11-27 13:07:05 - 15909.88 user 3061.45 system 20807.46 real
>
>
> http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full
>

Seems like this was a typo or copy/paste error. This patch fixes it:

diff --git a/sys/net/vnet.c b/sys/net/vnet.c
index 977bf59..bceb2ef 100644
--- a/sys/net/vnet.c
+++ b/sys/net/vnet.c
_at__at_ -216,7 +216,7 _at__at_ SDT_PROBE_DEFINE2(vnet, functions, vnet_alloc, return,
     "int", "struct vnet *");
 SDT_PROBE_DEFINE2(vnet, functions, vnet_destroy, entry,
     "int", "struct vnet *");
-SDT_PROBE_DEFINE1(vnet, functions, vnet_destroy, entry,
+SDT_PROBE_DEFINE1(vnet, functions, vnet_destroy, return,
     "int");

 #ifdef DDB
Received on Wed Nov 27 2013 - 12:59:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC