From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 6 22:20:08 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FD621065675 for ; Fri, 6 Jan 2012 22:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7BC568FC20 for ; Fri, 6 Jan 2012 22:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q06MK8rI070476 for ; Fri, 6 Jan 2012 22:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q06MK8fG070475; Fri, 6 Jan 2012 22:20:08 GMT (envelope-from gnats) Resent-Date: Fri, 6 Jan 2012 22:20:08 GMT Resent-Message-Id: <201201062220.q06MK8fG070475@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugen Konkov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C1AB106564A for ; Fri, 6 Jan 2012 22:13:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5978C8FC13 for ; Fri, 6 Jan 2012 22:13:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q06MDBe6075456 for ; Fri, 6 Jan 2012 22:13:11 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q06MDB8m075452; Fri, 6 Jan 2012 22:13:11 GMT (envelope-from nobody) Message-Id: <201201062213.q06MDB8m075452@red.freebsd.org> Date: Fri, 6 Jan 2012 22:13:11 GMT From: Eugen Konkov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/163880: can not build kernel if some device has no buildable code even if 'nodevice' in config file present X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 22:20:08 -0000 >Number: 163880 >Category: misc >Synopsis: can not build kernel if some device has no buildable code even if 'nodevice' in config file present >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 06 22:20:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Eugen Konkov >Release: >Organization: ISP FreeLine >Environment: >Description: if I comment out 'device et' or try 'nodevice et' in KERNCONF file and if_et.c contain: #cat /usr/src/sys/dev/et/if_et.c aldsfjadl;fadjf NO COMPILEABLE CODE HERE I can not build kernel at all. >How-To-Repeat: comment out some device option in KERNCONF file or add 'nodevice et' for example. and echo "tra-ta-ta" > /usr/src/sys/dev/et/if_et.c try to build kernel >Fix: >Release-Note: >Audit-Trail: >Unformatted: