Re: [head tinderbox] failure on i386/pc98

From: Arnaud Lacombe <lacombar_at_gmail.com>
Date: Fri, 18 Mar 2011 19:45:23 -0400
Hi,

On Fri, Mar 18, 2011 at 7:37 PM, FreeBSD Tinderbox
<tinderbox_at_freebsd.org> wrote:
> [...]
> awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/eisa/eisa_if.m -c ;  cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue eisa_if.c
> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/e1000/if_em.c -I/src/sys/dev/e1000
> In file included from /src/sys/dev/e1000/if_em.c:86:
> /src/sys/dev/e1000/if_em.h:216:1: error: "SYSCTL_ADD_UQUAD" redefined
> In file included from /src/sys/dev/e1000/if_em.c:55:
> /src/sys/sys/sysctl.h:370:1: error: this is the location of the previous definition
> *** Error code 1
>
This should fix it:

diff --git a/src/if_em.h b/src/if_em.h
index 367d249..9381fc8 100644
--- a/src/if_em.h
+++ b/src/if_em.h
_at__at_ -213,7 +213,7 _at__at_
 #define EM_MSIX_BAR            3       /* On 82575 */

 /* More backward compatibility */
-#if !defined(SYSTCL_ADD_UQUAD)
+#if !defined(SYSCTL_ADD_UQUAD)
 #define SYSCTL_ADD_UQUAD SYSCTL_ADD_QUAD
 #endif

For the record, I privately sent jfv_at_ a patch about this build failure
a month ago ...

 - Arnaud




> Stop in /obj/pc98.i386/src/sys/LINT.
> *** Error code 1
>
> Stop in /src.
> *** Error code 1
>
> Stop in /src.
> TB --- 2011-03-18 23:37:17 - WARNING: /usr/bin/make returned exit code  1
> TB --- 2011-03-18 23:37:17 - ERROR: failed to build lint kernel
> TB --- 2011-03-18 23:37:18 - 5616.87 user 985.87 system 7037.37 real
>
>
> http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.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"
>
Received on Fri Mar 18 2011 - 23:16:42 UTC

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