Hi,
i have problems compiling a new kernel with IPF 4.1.11 as loadable
module on FreeBSD 5.4-p11:
--------------------------------------------------------------
>>> stage 3.2: building everything
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj
MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/
usr/src/i386/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/
legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/
legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/i386
INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/
legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/
i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/
i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/
usr/bin make KERNEL=kernel all -DNO_MODULES_OBJ
cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-
decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -
Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -
nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/
usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/
sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/
dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-
growth=100 --param large-function-growth=1000 -mno-align-long-
strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -
mno-sse2 -ffreestanding -Werror /usr/src/sys/i386/i386/locore.s
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror
aic7xxx_reg_print.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror
aic79xx_reg_print.c
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/
device_if.m -c ; cc -c -O -pipe -Wall -Wredundant-decls -Wnested-
externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/
contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/
pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/
freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -
fno-common -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-
boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -
Werror device_if.c
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -
c ; cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -
Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -
Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/
src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/
sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/
sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -
finline-limit=8000 --param inline-unit-growth=100 --param large-
function-growth=1000 -mno-align-long-strings -mpreferred-stack-
boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -
Werror bus_if.c
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/
cpufreq_if.m -c ; cc -c -O -pipe -Wall -Wredundant-decls -Wnested-
externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/
contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/
pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/
freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -
fno-common -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-
boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -
Werror cpufreq_if.c
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/
linker_if.m -c ; cc -c -O -pipe -Wall -Wredundant-decls -Wnested-
externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/
contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/
pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/
freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -
fno-common -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-
boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -
Werror linker_if.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/cam.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/cam_periph.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/cam_queue.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/cam_sim.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/cam_xpt.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_all.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_cd.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_ch.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_da.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_low.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_low_pisa.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_pass.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_sa.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/cam/scsi/scsi_ses.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/contrib/ipfilter/netinet/fil.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/contrib/ipfilter/netinet/ip_auth.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/
src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/
contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/
contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-
growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -
mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/
src/sys/contrib/ipfilter/netinet/ip_fil.c
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `iplioctl':
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:483: warning: implicit
declaration of function `RW_EXIT'
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:483: warning: nested
extern declaration of `RW_EXIT'
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:625: warning: nested
extern declaration of `RW_EXIT'
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:483: warning:
redundant redeclaration of 'RW_EXIT'
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:483: warning: previous
implicit declaration of 'RW_EXIT' was here
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
----------------------------------------
Kernel is compiled with following additional options:
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK
Same environment with IPF 4.1.10 compiles smooth...
regards
andy
Am 18.03.2006 um 23:07 schrieb Darren Reed:
This release of IPFilter comes after the code base has been covered
by Coverity scans via both FreeBSD and NetBSD. This picked up a whole
range of "bugs", some of which were quite deliberate choices at the
time - like not free'ing up malloc'd space when returning from a
function in a program that runs and exist. Anyhow, the good news
is that the code has been through that already.
There are two important changes with this release.
The first is I have added in poll(2) support for the device driver
on FreeBSD, NetBSD, Solaris and Linux. ipmon hasn't yet been
updated to use this, that'll come next.
The second is I've "fixed" /dev/ipauth so it can be used now.
The motivation for this came with the desire to write a program
to use grey-listing to help stem the spam tide. More on that in
another email.
For Solaris users, you will need to update pfil as well, to 2.1.8.
This change is required because to address testing of ipfauth, I
needed to generate TCP RSTs and that wasn't happening if I just
receive a new packet and no traffic before hand. The only problem
with this fix is that if I generate the first packet to go out of
a NIC after it is plumb'd, and it is a TCP RST, it has the wrong
checksum. Subsequent packets, even if an ARP is required, are all
fine.
On the feature side of things, someone didn't like that it wasn't
possible to list multiple interfaces in a single rule, like is
possible with addresses, so this is now possible:
block in on (ex0 ex1) all
http://coombs.anu.edu.au/~avalon/ip_fil4.1.11.tar.gz
http://coombs.anu.edu.au/~avalon/pfil-2.1.8.tar.gz
Darren
#
4.1.11 - Released 19 March 2006
Patch for NAT with ipfsync from N. Ersen (SESCI) - www.enderunix.org
NetBSD coverity report fixes (from run 5)
Possible to reacquire ipf_auth without releasing it in some
circumstances
Locking in FreeBSD's iplioctl for ipf_global isn't present like it
shoudl be
Add poll support for platforms I can build on: NetBSD, FreeBSD,
Solaris, Linux
Using auth rules to return "keep state" got broken with pushing
fr_addstate
call into fr_firewall
all use of '!' in map/rdr rules to match use in ipf configs
add -L command line option to ipmon to set the default syslog facility
looking up a port number is more complex than needed in ipft_tx.c
allow lib/getport to work when neither tcp or udp are specified in
a rule
remove some dead code from lib/addicmpc, lib/facpri.c, lib/icmpcode.c
program in some more cases where TCP packets fail an initial in-window
check but should be allowed to match
filter rule added with NAT/state handling of SIOCSTPUT doesn't
properly
initialise all fields, making it possible to panic
simplify NAT ICMP error handling where it updates checksums
rename "min" variables to "xmin" on NetBSD to avoid problems with the
macro "min"
#ifdef's for NetBSD compile incorrect for pfil interface
support select/poll on NetBSD
copying out a packet with an auth rule fails (EFAULT) because the
wrong
pointer is passed to copyoutptr
ip_len/ip_off where byte swapped twice instead of once for packets
going to be stored on the auth queue
change timeout queue manipulation functions to make fewer mutex calls
fix use of skip rules with groups
fix coding problems discovered by the coverity project for FreeBSD
update BPF program validation with FreeBSD changes
4.1.10 - Released 6 December 2005