From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 7 14:01:16 2010 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id F150C10656AC; Tue, 7 Sep 2010 14:01:16 +0000 (UTC) Date: Tue, 7 Sep 2010 14:01:16 +0000 From: Alexander Best To: John Baldwin Message-ID: <20100907140116.GA70520@freebsd.org> References: <201009071145.o87BjwoX080145@freefall.freebsd.org> <201009070915.18394.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009070915.18394.jhb@freebsd.org> Cc: freebsd-bugs@freebsd.org Subject: Re: kern/150199: [build] 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 List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 14:01:17 -0000 On Tue Sep 7 10, John Baldwin wrote: > On Tuesday, September 07, 2010 7:45:58 am arundel@freebsd.org wrote: > > Synopsis: [build] kernel doesn't compile with SYSVMSG and any of COMPAT_FREEBSD[456] but no COMPAT_FREEBSD7 > > > > Responsible-Changed-From-To: freebsd-bugs->jhb > > Responsible-Changed-By: arundel > > Responsible-Changed-When: Tue Sep 7 11:40:48 UTC 2010 > > Responsible-Changed-Why: > > John might have an opinion on this PR, since he added the '20090624' entry to > > /usr/src/UPDATING which deals with the COMPAT_FREEBSD[4-7] options. > > Not a bug: > > 20090624: > The ABI of various structures related to the SYSV IPC API have been > changed. As a result, the COMPAT_FREEBSD[456] and COMPAT_43 kernel > options now all require COMPAT_FREEBSD7. Bump __FreeBSD_version to > 800100. wouldn't something like the following make sense? .if !defined(COMPAT_FREEBSD7) . if defined(COMPAT_43) | defined(COMPAT_FREEBSD4) | defined(COMPAT_FREEBSD5) | defined(COMPAT_FREEBSD6) COMPAT_FREEBSD7 = true . endif .endif cheers. alex > > -- > John Baldwin -- a13x