From owner-freebsd-alpha@FreeBSD.ORG Fri Oct 3 03:42:47 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E15D16A4B3 for ; Fri, 3 Oct 2003 03:42:47 -0700 (PDT) Received: from monica.vsb.cz (monica.vsb.cz [158.196.149.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68EF743FEA for ; Fri, 3 Oct 2003 03:42:46 -0700 (PDT) (envelope-from ivan.dolezal@vsb.cz) Received: from 127.0.0.1 (localhost [127.0.0.1]) by monica.vsb.cz (Postfix) with SMTP id 9CE3350172; Fri, 3 Oct 2003 12:42:45 +0200 (CEST) Received: from vsb.cz (kocour.vsb.cz [158.196.158.46]) by monica.vsb.cz (Postfix) with ESMTP id 5E9454FBDD; Fri, 3 Oct 2003 12:42:45 +0200 (CEST) Message-ID: <3F7D52A5.9070406@vsb.cz> Date: Fri, 03 Oct 2003 12:42:45 +0200 From: Ivan Dolezal User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: cs, en-us, en MIME-Version: 1.0 To: freebsd-alpha@freebsd.org, users-l@freebsd.cz Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: can't compile kernel without bpf; isc-dhcpv2 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 10:42:47 -0000 Hello and thank you for replies in advance: For some reasons (that I have no influence on) I have to run ISC DHCPDv2 on server. Unlike v3, v2 is not part of ports. I can still compile it smoothly, but when the daemon is running, it takes over all memory and CPU within two hours (on 500 MHz, 256 MB). I forgot to write: the same problem occurs on 4.8 and 5.1-p2. And yes, I compiled my kernel with bpf as required. Oh, this is another, even worse problem: I am not able to compile the 5.1 kernel without bpf on some other system - it ends up saying: ... sh /usr/src/sys/conf/newvers.sh KOCOUR cc -c -O -pipe -mcpu=pentiumpro -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/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel if_ieee80211subr.o: In function `ieee80211_ifattach': if_ieee80211subr.o(.text+0x63): undefined reference to `bpfattach2' *** Error code 1 All I did was taking GENERIC, uncommenting options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS ...as this has been a workaround for some bugs in recent advisories, commenting device bpf and changing ident. Does anybody have some experience with any of that, please? Ivan Dolezal PS: I wrote an e-mail like this yesterday, but without subscribing first. I couldn't find it in browsable archive, so I am writing that again. Sorry for bothering if you got this twice.