From owner-freebsd-bugs@FreeBSD.ORG Thu May 31 20:00:13 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 097EB16A46C for ; Thu, 31 May 2007 20:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id CA2B513C4B9 for ; Thu, 31 May 2007 20:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4VK0CVp000610 for ; Thu, 31 May 2007 20:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4VK0CxV000609; Thu, 31 May 2007 20:00:12 GMT (envelope-from gnats) Resent-Date: Thu, 31 May 2007 20:00:12 GMT Resent-Message-Id: <200705312000.l4VK0CxV000609@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, Larry Baird Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3AF716A400 for ; Thu, 31 May 2007 19:55:50 +0000 (UTC) (envelope-from lab@gta.com) Received: from gta.com (gta-edge-199-20.gta.com [199.120.225.20]) by mx1.freebsd.org (Postfix) with SMTP id 7DA9C13C447 for ; Thu, 31 May 2007 19:55:50 +0000 (UTC) (envelope-from lab@gta.com) Received: (qmail 52629 invoked by uid 1000); 31 May 2007 19:29:08 -0000 Message-Id: <20070531192908.52628.qmail@gta.com> Date: 31 May 2007 19:29:08 -0000 From: Larry Baird To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/113204: dcons module doesn't compile if "MODULES_WITH_WORLD=true" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Larry Baird List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 20:00:13 -0000 >Number: 113204 >Category: kern >Synopsis: dcons module doesn't compile if "MODULES_WITH_WORLD=true" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 31 20:00:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Larry Baird >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD dragon.gta.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed May 30 07:4 0:40 EDT 2007 root@dragon.gta.com:/usr/src/sys/i386/compile/DRAGON i386 >Description: if MODULES_WITH_WORLD=true then dcons doesn't compile during buildworld. >How-To-Repeat: add "MODULES_WITH_WORLD=true" to /etc/make.conf cd /usr/src && make buildworld >Fix: Patch is: --- sys/modules/dcons/Makefile.orig Thu May 31 15:22:38 2007 +++ sys/modules/dcons/Makefile Thu May 31 15:25:53 2007 @@ -5,7 +5,8 @@ KMOD = dcons SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \ - opt_dcons.h opt_ddb.h opt_comconsole.h + opt_dcons.h opt_ddb.h opt_comconsole.h \ + opt_kdb.h opt_gdb.h .if !defined(KERNBUILDDIR) opt_ddb.h: @@ -13,6 +14,12 @@ opt_comconsole.h: echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@ + +opt_kdb.h: + echo "" > $@ + +opt_gdb.h: + echo "" > $@ .endif CFLAGS+= -I${.CURDIR}/../.. >Release-Note: >Audit-Trail: >Unformatted: