Date: Wed, 06 Feb 2008 12:02:40 +0100 From: Kris Kennaway <kris@FreeBSD.org> To: Stefan Lambrev <stefan.lambrev@moneybookers.com> Cc: freebsd-performance@freebsd.org Subject: Re: network performance Message-ID: <47A993D0.1060901@FreeBSD.org> In-Reply-To: <47A98CDC.2090407@moneybookers.com> References: <4794E6CC.1050107@moneybookers.com> <47A0B023.5020401@moneybookers.com> <m21w7x5ilg.wl%gnn@neville-neil.com> <47A3074A.3040409@moneybookers.com> <47A72EAB.6070602@moneybookers.com> <20080204182945.GA49276@heff.fud.org.nz> <47A780C0.2060201@moneybookers.com> <47A799A6.3070502@moneybookers.com> <47A84751.8020109@moneybookers.com> <47A8D233.8020506@FreeBSD.org> <47A8DCD6.3060209@moneybookers.com> <47A8E1F1.4040309@FreeBSD.org> <47A98CDC.2090407@moneybookers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Lambrev wrote: > Greetings, > > Kris Kennaway wrote: >> http://www.freebsd.org/~kris/p4-net.tbz is a sys/ tarball from my p4 >> branch, which includes these and other optimizations. > I have some problems with compiling new kernel: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona > -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > -I. -I/usr/src/sys -I/usr/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 -fno-omit-frame-pointer -mcmodel=kernel > -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror > /usr/src/sys/ufs/ufs/ufs_lookup.c > /usr/src/sys/ufs/ufs/ufs_lookup.c: In function 'ufs_lookup': > /usr/src/sys/ufs/ufs/ufs_lookup.c:171: error: 'td' undeclared (first use > in this function) > /usr/src/sys/ufs/ufs/ufs_lookup.c:171: error: (Each undeclared > identifier is reported only once > /usr/src/sys/ufs/ufs/ufs_lookup.c:171: error: for each function it > appears in.) > /usr/src/sys/ufs/ufs/ufs_lookup.c:173:45: error: macro "VOP_LOCK" passed > 3 arguments, but takes just 2 > /usr/src/sys/ufs/ufs/ufs_lookup.c:173: error: 'VOP_LOCK' undeclared > (first use in this function) > *** Error code 1 > > Sorry, forgot to check in a fix. Apply this patch: http://www.freebsd.org/~kris/ufs_lookup.c.diff (you'll need to specify the path by hand) Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A993D0.1060901>