From owner-freebsd-current@FreeBSD.ORG Mon Dec 7 16:03:58 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 CD51D106566B; Mon, 7 Dec 2009 16:03:58 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 8A5E78FC12; Mon, 7 Dec 2009 16:03:57 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NHg41-0000jX-Av; Mon, 07 Dec 2009 16:03:56 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NHg40-0003Yd-MC; Mon, 07 Dec 2009 16:03:53 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nB7G3qLo082805; Mon, 7 Dec 2009 16:03:52 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nB7G3qoh082804; Mon, 7 Dec 2009 16:03:52 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 7 Dec 2009 16:03:52 +0000 From: Anton Shterenlikht To: Marius Strobl Message-ID: <20091207160352.GE82748@mech-cluster241.men.bris.ac.uk> References: <20091207100536.GA33324@mech-cluster241.men.bris.ac.uk> <20091207153223.GA51206@alchemy.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207153223.GA51206@alchemy.franken.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Cc: freebsd-current@freebsd.org, Anton Shterenlikht , 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: Mon, 07 Dec 2009 16:03:58 -0000 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. well, my box has only one cpu, so I disabled SMP and am building UP kernel. Are you saying I better enable SMP? Anyway, I'll update the sources and try again. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423