Re: current sparc buildkernel error

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Tue, 8 Dec 2009 12:40:24 +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.

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.

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
Received on Tue Dec 08 2009 - 11:40:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC