From owner-freebsd-stable@FreeBSD.ORG Sat Oct 8 22:44:55 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 113AF16A41F for ; Sat, 8 Oct 2005 22:44:55 +0000 (GMT) (envelope-from creep@daedalus.desk.pl) Received: from daedalus.desk.pl (daedalus.desk.pl [62.233.238.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5433243D49 for ; Sat, 8 Oct 2005 22:44:54 +0000 (GMT) (envelope-from creep@daedalus.desk.pl) Received: from localhost (localhost [127.0.0.1]) by daedalus.desk.pl (Postfix) with ESMTP id 9453D36653A for ; Sun, 9 Oct 2005 00:41:24 +0200 (CEST) Received: from daedalus.desk.pl ([127.0.0.1]) by localhost (daedalus [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27049-05 for ; Sun, 9 Oct 2005 00:41:23 +0200 (CEST) Received: by daedalus.desk.pl (Postfix, from userid 1023) id 63D7636651C; Sun, 9 Oct 2005 00:41:23 +0200 (CEST) Date: Sun, 9 Oct 2005 00:41:23 +0200 From: Marcin Koziej To: "To:freebsd-stable"@freebsd.org Message-ID: <20051008224123.GA27493@daedalus.desk.pl> References: <20051004120018.GA21556@daedalus.desk.pl> <20051004141119.GA677@cl084016105115.unet.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20051004141119.GA677@cl084016105115.unet.cz> User-Agent: Mutt/1.4.1i X-Antivirus: Skaner Antywirusowy DESK.pl X-Mailman-Approved-At: Sun, 09 Oct 2005 12:12:24 +0000 Cc: Subject: Re: STABLE kernel fails to build on sys/fs/devfs/devfs_vnops.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 22:44:55 -0000 > > I tried to build today's STABLE on 6.0-BETA2 FreeBSD 6.0-BETA2 #1: Wed Aug 3 > > Kernel config differs from GENERIC just by atapicam device. > > Obviously, your userland and kernel sources are not synchronized. It is > probably the cause of failed build. > > Update complete source tree and try again. It doesn't seem to be that simple to me. I have rm -rf'ed all the sources and cvsupped with tag=RELENG_6 and I cannot build a GENERIC kernel. The problem seems to be forward declarations of: static struct vop_vector devfs_vnodeops; static struct vop_vector devfs_specops; static struct fileops devfs_ops_f; which are initialized later in the code. The compiler flag -Wredundant-decls stops on this. These declarations appeared in rev 1.114.2.4 of /src/sys/fs/devfs/devfs_vnops.c I guess it must be something with my system because that change was on 18th of September. I use a normal compiler ( 3.4.4 [FreeBSD] 20050518) on 6.0-BETA2. -- m. Brain power of a glass of water.