NetBSD Problem Report #31063
From unex@linija.org Thu Aug 25 00:11:51 2005
Return-Path: <unex@linija.org>
Received: from mail.linija.org (linija.org [84.32.87.91])
by narn.netbsd.org (Postfix) with ESMTP id 1AFA163B104
for <gnats-bugs@gnats.NetBSD.org>; Thu, 25 Aug 2005 00:11:51 +0000 (UTC)
Message-Id: <20050825001143.1E4D3233C4F@mail.linija.org>
Date: Thu, 25 Aug 2005 03:11:43 +0300 (EEST)
From: unex@linija.org
Reply-To: unex@linija.org
To: gnats-bugs@netbsd.org
Subject: config should check conflicts and dependences
X-Send-Pr-Version: 3.95
>Number: 31063
>Category: kern
>Synopsis: config should check conflicts and dependences
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 25 00:12:00 +0000 2005
>Last-Modified: Thu Aug 25 01:27:01 +0000 2005
>Originator: unex@linija.org
>Release: NetBSD 2.0.2_STABLE
>Organization:
>Environment:
System: NetBSD linija.org 2.0.2_STABLE NetBSD 2.0.2_STABLE (Linija-$Revision) #0: Sun Jun 12 16:43:39 EEST 2005 root@linija.org:/usr/obj/sys/arch/i386/compile/LINIJA i386
>Description:
In NetBSD 3.0_BETA pf can't co-exist with altq, so if I'll make config with altq and pf lines, it compiles with errors like:
/usr/src/sys/dist/pf/net/pf.c: In function `pf_send_tcp':
/usr/src/sys/dist/pf/net/pf.c:1355: error: dereferencing pointer to incomplete type
Same with VERIFIED_EXEC, if I compile it with fingerprint hash (for ex. VERIFIED_EXEC_FP_RMD160), I'll get errors:
kern_verifiedexec.o(.text+0x176): In function `veriexec_init_fp_ops':
: undefined reference to `RMD160Init'
I think, config should warn about conflicts and dependences like this.
>How-To-Repeat:
Compile kernel with VERIFIED_EXEC and any fingerprint hash, but WITHOUT pseudo-device crypto, or compile pf with altq.
>Fix:
>Audit-Trail:
From: Rui Paulo <rpaulo@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/31063: config should check conflicts and dependences
Date: Thu, 25 Aug 2005 02:25:19 +0100
--2OzUYMsT4j3Kc+NU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2005.08.25 00:12:00 +0000, unex@linija.org wrote:
| >Number: 31063
| >Category: kern
| >Synopsis: config should check conflicts and dependences
| >Confidential: no
| >Severity: serious
| >Priority: high
| >Responsible: kern-bug-people
| >State: open
| >Class: sw-bug
| >Submitter-Id: net
| >Arrival-Date: Thu Aug 25 00:12:00 +0000 2005
| >Originator: unex@linija.org
| >Release: NetBSD 2.0.2_STABLE
| >Organization:
| >Environment:
| System: NetBSD linija.org 2.0.2_STABLE NetBSD 2.0.2_STABLE (Linija-$Revis=
ion) #0: Sun Jun 12 16:43:39 EEST 2005 root@linija.org:/usr/obj/sys/arch/i3=
86/compile/LINIJA i386
|=20
| >Description:
|=20
| In NetBSD 3.0_BETA pf can't co-exist with altq, so if I'll make config wi=
th altq and pf lines, it compiles with errors like:
| /usr/src/sys/dist/pf/net/pf.c: In function `pf_send_tcp':
| /usr/src/sys/dist/pf/net/pf.c:1355: error: dereferencing pointer to inco=
mplete type
| Same with VERIFIED_EXEC, if I compile it with fingerprint hash (for ex. V=
ERIFIED_EXEC_FP_RMD160), I'll get errors:
| kern_verifiedexec.o(.text+0x176): In function `veriexec_init_fp_ops':
| : undefined reference to `RMD160Init'
| I think, config should warn about conflicts and dependences like this.
I think this is hard to do. There are far a lot more possibilities that we
cannot predict that easily.
-- Rui Paulo
--2OzUYMsT4j3Kc+NU
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFDDR3/ZPqyxs9FH4QRAjO3AJ9mMkPCu7Ay6rEfdsbdn64A4yUEGwCfVjq8
NfCwblikUdgYu6iq3p++yPA=
=XpaN
-----END PGP SIGNATURE-----
--2OzUYMsT4j3Kc+NU--
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.