Subject: Re: pkg/5618: libscsi fails to build on alpha.
To: None <root@polaris.garbled.net>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: netbsd-bugs
Date: 06/19/1998 09:27:45
> Due to a difference in machine/ansi.c regarding va_list (on my 1.3 i386
> its defined *char, on the alpha its a structure) The libscsi pkg will not build.
>
> The code in question tries to initialize a variable like so:
> va_list ap=(va_list)0;
> My change was to do:
> va_list ap;
> ap.__base=(char *)0;
>
> (I ifdeffed it with __alpha__ so other ports wont break)
Uh, code which does this, or tries to do this, is almost certainly
(conceptually) broken.
cgd