From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 19:30:02 2010 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 C70E910656AD for ; Wed, 1 Sep 2010 19:30:02 +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 883098FC18 for ; Wed, 1 Sep 2010 19:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o81JU2dL019065 for ; Wed, 1 Sep 2010 19:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o81JU2tt019062; Wed, 1 Sep 2010 19:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 1 Sep 2010 19:30:02 GMT Resent-Message-Id: <201009011930.o81JU2tt019062@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, Dan Lukes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 572A010656B8 for ; Wed, 1 Sep 2010 19:24:13 +0000 (UTC) (envelope-from dan@master8.ms.mff.cuni.cz) Received: from master8.ms.mff.cuni.cz (master8.ms.mff.cuni.cz [195.113.20.25]) by mx1.freebsd.org (Postfix) with ESMTP id E4D3B8FC1B for ; Wed, 1 Sep 2010 19:24:12 +0000 (UTC) Received: from master8.ms.mff.cuni.cz (localhost [127.0.0.1]) by master8.ms.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id o81Iw1wB055636 for ; Wed, 1 Sep 2010 20:58:01 +0200 (CEST) (envelope-from dan@master8.ms.mff.cuni.cz) Received: (from root@localhost) by master8.ms.mff.cuni.cz (8.14.4/8.14.4/Submit) id o81Iw1st055635; Wed, 1 Sep 2010 20:58:01 +0200 (CEST) (envelope-from dan) Message-Id: <201009011858.o81Iw1st055635@master8.ms.mff.cuni.cz> Date: Wed, 1 Sep 2010 20:58:01 +0200 (CEST) From: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/150199: kernel doesn't compile with SYSVMSG and any of COMPAT_FREEBSD[456] but no COMPAT_FREEBSD7 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 19:30:03 -0000 >Number: 150199 >Category: kern >Synopsis: kernel doesn't compile with SYSVMSG and any of COMPAT_FREEBSD[456] but no COMPAT_FREEBSD7 >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: Wed Sep 01 19:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 8.1-RELEASE i386 >Organization: Obludarium >Environment: System: FreeBSD 8.1-RELEASE i386 src/sys/kern/sysv_msg.c,v 1.77.2.2.2.1 2010/06/14 02:09:06 kensmith >Description: Kernel doesn't compile when SYSVMSG and any of COMPAT_FREEBSD[456] but NO COMPAT_FREEBSD7 module compiled in because of: /usr/src/sys/kern/sysv_msg.c:163: error: 'freebsd7_msgctl' undeclared here (not in a function) The relevant part of code is: #if defined(COMPAT_FREEBSD4) || defined(COMPAT_FREEBSD5) || \ defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD7) SYSCALL_INIT_HELPER(msgsys), SYSCALL_INIT_HELPER(freebsd7_msgctl), #endif >How-To-Repeat: try to compile kernel with option set specified above >Fix: I can't supply fix for now, only the workaround: when SYSVMSG and any of COMPAT_FREEBSD[456] required then COMPAT_FREEBSD7 needs to be present also >Release-Note: >Audit-Trail: >Unformatted: