Subject: Re: compile fails for -current on i386
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 09/11/2003 21:04:21
In article <20030911204600.2CD927B43@berkshire.research.att.com>,
Steven M. Bellovin <smb@research.att.com> wrote:

I've put sigcontext back for now, so it should work again.

christos

>In message <HL2Du0.n23@tac.nyc.ny.us>, Christos Zoulas writes:
>>In article <20030911164042.E81517B43@berkshire.research.att.com>,
>>Steve Bellovin <smb@research.att.com> wrote:
>>>I'm trying to build -current, with cvs source sufficiently up-to-date 
>>>that it has the sigret14 fix.  It's failing in a different spot now:
>>>
>>>CC=/usr/tools/bin/i386--netbsdelf-gcc
>>>/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -d
>>>/usr/netbsd/usr/include   -i /usr/src/lib/libarch/i386/i386_vm86.c
>>>/usr/netbsd/usr/include/machine/vm86.h(55): incomplete structure or
>>>union sigcontext: vmsc [31]
>>>/usr/netbsd/usr/include/machine/vm86.h(56): warning: zero sized struct [47]
>>>
>>>*** Failed target:  i386_vm86.ln
>>>*** Failed command: CC=/usr/tools/bin/i386--netbsdelf-gcc
>>>/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -d
>>>/usr/netbsd/usr/include -i /usr/src/lib/libarch/i386/i386_vm86.c
>>>*** Error code 1
>>>
>>
>>I just fixed this.
>>
>
>I got past that spot; now, it's dying somewhat later....
>
>CC=/usr/tools/bin/i386--netbsdelf-gcc
>/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -d
>/usr/netbsd/usr/include -I/usr/src/lib/libpthread/arch/i386
>-I/usr/src/lib/libpthread -I/usr/obj/lib/libpthread -D_LIBC  -i
>/usr/src/lib/libpthread/pthread_sig.c
>/usr/src/lib/libpthread/pthread_int.h(313): incomplete structure or
>union sigcontext: psc_context [31]
>/usr/src/lib/libpthread/pthread_int.h(315): warning: zero sized struct [47]
>/usr/src/lib/libpthread/pthread_sig.c(707): incomplete structure or
>union sigcontext: xxxsc [31]
>/usr/src/lib/libpthread/pthread_sig.c(891): illegal member use: sc_mask [102]
>/usr/src/lib/libpthread/pthread_sig.c(891): assignment type mismatch [171]
>/usr/src/lib/libpthread/pthread_sig.c(891): illegal member use:
>sc_onstack [102]
>/usr/src/lib/libpthread/pthread_sig.c(891): illegal member use:
>sc_onstack [102]
>/usr/src/lib/libpthread/pthread_sig.c(887): illegal member use: sc_mask [102]
>/usr/src/lib/libpthread/pthread_sig.c(887): assignment type mismatch [171]
>
>*** Failed target:  pthread_sig.ln
>*** Failed command: CC=/usr/tools/bin/i386--netbsdelf-gcc
>/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -d
>/usr/netbsd/usr/include -I/usr/src/lib/libpthread/arch/i386
>-I/usr/src/lib/libpthread -I/usr/obj/lib/libpthread -D_LIBC -i
>/usr/src/lib/libpthread/pthread_sig.c
>*** Error code 1
>
>Stop.
>nbmake: stopped in /usr/src/lib/libpthread
>
>
>		--Steve Bellovin, http://www.research.att.com/~smb
>
>