Subject: Re: 1.4 -> current
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 08/15/1999 22:45:37
In article <199908152052.QAA02421@Twig.Rodents.Montreal.QC.CA>,
der Mouse <mouse@Rodents.Montreal.QC.CA> wrote:
>
>This appears to be because sys/arch/sparc/include/ansi.h in the old
>tree defines _BSD_SIZE_T_ as unsigned int, whereas the new one defines
>it as unsigned long.  This ends up getting used for size_t, which
>breaks the prototypes in systm.h.
>
>For the time being, I'm going to add a private patch to change this
>back, since on my SPARCs, unsigned int and unsigned long are the same.
>But I'd be interested to know what the right fix is....
>

This has been answered many times, and should go to a FAQ. With the
new ELF toolchain, size_t changed. Add NOGCCERROR to your mk.conf
or environment, ignore the warnings and build your kernel.

christos