Re: [head tinderbox] failure on ia64/ia64

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sat, 1 Dec 2012 14:31:18 +0100
On Sat, Dec 01, 2012 at 03:17:57AM +0000, FreeBSD Tinderbox wrote:
> 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  -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/kern/vfs_lookup.c
> /src/sys/kern/vfs_lookup.c:214:54: error: macro "AUDIT_ARG_UPATH1" passed 4 arguments, but takes just 3
> /src/sys/kern/vfs_lookup.c: In function 'namei':
> /src/sys/kern/vfs_lookup.c:214: error: 'AUDIT_ARG_UPATH1' undeclared (first use in this function)
> /src/sys/kern/vfs_lookup.c:214: error: (Each undeclared identifier is reported only once
> /src/sys/kern/vfs_lookup.c:214: error: for each function it appears in.)
> /src/sys/kern/vfs_lookup.c:216:54: error: macro "AUDIT_ARG_UPATH2" passed 4 arguments, but takes just 3
> /src/sys/kern/vfs_lookup.c:216: error: 'AUDIT_ARG_UPATH2' undeclared (first use in this function)
> *** [vfs_lookup.o] Error code 1
[...]

My recent commits broke the build in two ways, both should be fixed now,
I'm very sorry about that.

The code did compile for me on my development box, but it turned out
source code on my laptop didn't have latest changes. I tried to compile
it on my laptop before the commit, but run into problems with my
environment (my laptop is running HEAD from before the switch to clang
and the compilation was failing very early for other reasons), it is
late at night to figure out the fix (which was trivial: CC=gcc), so I
assumed that if the code builds on dev box it is fine. It wasn't.
My mistake, I should've waited till moring. Once again, sorry about
that!

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

Received on Sat Dec 01 2012 - 12:30:04 UTC

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