Current-Users archive

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

Re: Build failue - port amd64 - vmstat



On Dec 25, 2010, at 6:05 11PM, Hisashi T Fujinaka wrote:

> On Sat, 25 Dec 2010, Paul Goyette wrote:
> 
>> With sources updated as of 2010-12-25 21:25:39 UTC
>> 
>> cc1: warnings being treated as errors
>> /build/netbsd-local/src/usr.bin/vmstat/vmstat.c: In function 'cpucounters':
>> /build/netbsd-local/src/usr.bin/vmstat/vmstat.c:994: warning: assignment 
>> from incompatible pointer type
>> /build/netbsd-local/src/usr.bin/vmstat/vmstat.c:994: warning: assignment 
>> from incompatible pointer type
>> *** [vmstat.o] Error code 1
>> nbmake: stopped in /build/netbsd-local/src/usr.bin/vmstat
>> 1 error
> 
> vmstat is breaking my sparc cross-compile, too. Has been for a week, I
> think.

vmstat appears to have been fixed; my build is now breaking at
/usr/src/tests/lib/libc/gen/t_siginfo.c:

/usr/src/tests/lib/libc/gen/t_siginfo.c: In function 'sig_debug':
/usr/src/tests/lib/libc/gen/t_siginfo.c:79: warning: format '%lx' expects type 
'long unsigned int', but argument 3 has type 'int'
/usr/src/tests/lib/libc/gen/t_siginfo.c:79: warning: format '%lx' expects type 
'long unsigned int', but argument 3 has type 'int'
/usr/src/tests/lib/libc/gen/t_siginfo.c: In function 'sigchild_action':
/usr/src/tests/lib/libc/gen/t_siginfo.c:132: warning: format '%d' expects type 
'int', but argument 2 has type 'clock_t'
/usr/src/tests/lib/libc/gen/t_siginfo.c:132: warning: format '%d' expects type 
'int', but argument 2 has type 'clock_t'
/usr/src/tests/lib/libc/gen/t_siginfo.c:133: warning: format '%d' expects type 
'int', but argument 2 has type 'clock_t'
/usr/src/tests/lib/libc/gen/t_siginfo.c:133: warning: format '%d' expects type 
'int', but argument 2 has type 'clock_t'

                --Steve Bellovin, http://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index