From owner-freebsd-current@FreeBSD.ORG Tue Dec 8 13:21:28 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 642551065672 for ; Tue, 8 Dec 2009 13:21:28 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.freebsd.org (Postfix) with ESMTP id 223038FC0A for ; Tue, 8 Dec 2009 13:21:27 +0000 (UTC) Received: by servww6.ww.uni-erlangen.de (Postfix, from userid 512) id 0585862091; Tue, 8 Dec 2009 14:03:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by servww6.ww.uni-erlangen.de (Postfix) with ESMTP id CF2666208F; Tue, 8 Dec 2009 14:03:07 +0100 (CET) Date: Tue, 8 Dec 2009 14:03:07 +0100 (CET) From: Gheorghe Ardelean To: Anton Shterenlikht In-Reply-To: <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> <20091208124024.GA20313@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Tue, 08 Dec 2009 14:31:58 +0000 Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: current sparc buildkernel error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 13:21:28 -0000 On Tue, 8 Dec 2009, Anton Shterenlikht wrote: > On Mon, Dec 07, 2009 at 04:32:23PM +0100, Marius Strobl wrote: >> On Mon, Dec 07, 2009 at 10:05:36AM +0000, Anton Shterenlikht wrote: >>> On FreeBSD 8.0-RELEASE sparc64 >>> >>> I've successfully build current world, but on buildkernel I get: >>> >>> cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c >>> /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': >>> /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type >>> *** Error code 1 >>> >> >> This should be fixed in r200215. AFAICT it was only exposed by >> UP kernel builds. > > I updated the sources, but still get the same error: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/sparc64/sparc64/trap.c > /usr/src/sys/sparc64/sparc64/trap.c: In function 'syscall': > /usr/src/sys/sparc64/sparc64/trap.c:561: error: dereferencing pointer to incomplete type > *** Error code 1 > 1 error > > This is on FreeBSD 8.0-RELEASE sparc64. > > buildworld stage went fine. > > What is r200215? I tried to search for it, but got nothing. This is the SVN revision of the file containing the fix. You can explore via the WEB interface the repository and check for changes and change logs: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sparc64/sparc64/trap.c regards, Gheorghe.