Subject: Re: caddr_t change breaks COMPAT_LINUX32 (amd64)
To: None <current-users@netbsd.org>
From: Bucky Katz <bucky@picovex.com>
List: current-users
Date: 03/04/2007 23:42:16
"Blair Sadewitz" <blair.sadewitz@gmail.com> writes:

> cc1: warnings being treated as errors
> ../../../../compat/linux32/common/linux32_exec.c: In function 'linux32_e_proc_in
> it':
> ../../../../compat/linux32/common/linux32_exec.c:178: warning: pointer of type '
> void *' used in arithmetic
>
> Just noticed this building a kernel from sources updated five minutes
> ago from anoncvs.netbsd.org.
> Pretty sure this is related to the caddr_t change, but I could always be wrong.
>
> Not sure yet where the problem lies; someone else probably is. ;)
>
> --Blair
>

FWIW, I'm now seeing the same sort of error trying to build INTEGRATOR kernels
in evbarm:

/stuff/projects/netbsd/current/src/sys/arch/evbarm/integrator/int_bus_dma.c:
In function 'integrator_bus_dmamap_sync':
/stuff/projects/netbsd/current/src/sys/arch/evbarm/integrator/int_bus_dma.c:521:
warning: pointer of type 'void *' used in arithmetic
*** [int_bus_dma.o] Error code 1
1 error