Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure for bpf - cross-building evbmips on amd64 host



On Mon, Jan 25, 2010 at 04:51:18PM -0800, Paul Goyette wrote:
> Sources were updated just a couple hours ago, at 2010-01-25 23:05:04 UTC
>
> Using this build.sh command
>
> ===> build.sh command: ./build.sh \
> -T /build/netbsd-local/tools/x86_64/mipseb-evbmips \
> -D /build/netbsd-local/dest/mipseb-evbmips \
> -O /build/netbsd-local/obj/mipseb-evbmips \
> -R /build/netbsd-local/release \
> -m evbmips -a mipseb -j8 -x \
> release
>
> I get the following error message
>
> --- dependall-bpf ---
> /build/netbsd-local/tools/x86_64/mipseb-evbmips/bin/mipseb--netbsd-gcc -O2 
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
> -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings  -Werror  
> -ffreestanding  -fno-strict-aliasing -Wno-pointer-sign -G 0 -ffixed-23 
> -mno-abicalls  -I/build/netbsd-local/src/common/include 
> -I/build/netbsd-local/src/common/include  -nostdinc -I. 
> -I/build/netbsd-local/src/sys/modules/bpf -isystem 
> /build/netbsd-local/src/sys -isystem /build/netbsd-local/src/sys/arch 
> -isystem /build/netbsd-local/src/sys/../common/include -D_KERNEL -D_LKM 
> -D_MODULE -c    /build/netbsd-local/src/sys/net/bpf.c
> cc1: warnings being treated as errors
> /build/netbsd-local/src/sys/net/bpf.c: In function 'bpf_modcmd':
> /build/netbsd-local/src/sys/net/bpf.c:1945: warning: implicit declaration of 
> function 'atomic_swap_ptr'
> *** [bpf.o] Error code 1
>
>
> The same sources successfully built an amd64 release...

Probably the "random archs include random headers" phenomenon.
cvs up bpf.c and try again.


Home | Main Index | Thread Index | Old Index