@SVN r334360 i386 build fails (pmc-related)
Michael Butler
imb at protected-networks.net
Tue May 29 23:40:33 UTC 2018
World build fails as follows:
--- cmd_pmc_stat.o ---
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:274:48: error: format specifies
type 'long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
fprintf(pmc_args.pa_printfile, "%16ld %s\n", cvals[CYCLES],
stat_mode_names[CYCLES]);
~~~~~ ^~~~~~~~~~~~~
%16llu
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:275:73: error: format specifies
type 'long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
fprintf(pmc_args.pa_printfile, "%16ld %s\t\t#\t%01.03f
inst/cycle\n", cvals[INST], stat_mode_names[INST],
~~~~~
^~~~~~~~~~~
%16llu
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:277:48: error: format specifies
type 'long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
fprintf(pmc_args.pa_printfile, "%16ld %s\n", cvals[BR],
stat_mode_names[BR]);
--- all_subdir_usr.sbin/ntp ---
--- all_subdir_usr.sbin/ntp/ntpdate ---
===> usr.sbin/ntp/ntpdate (all)
--- all_subdir_usr.sbin/pmc ---
~~~~~ ^~~~~~~~~
%16llu
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:280:7: error: format specifies type
'long' but the argument has type 'uint64_t' (aka 'unsigned long long')
[-Werror,-Wformat]
cvals[BR_MISS], stat_mode_names[BR_MISS],
^~~~~~~~~~~~~~
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:284:7: error: format specifies type
'long' but the argument has type 'uint64_t' (aka 'unsigned long long')
[-Werror,-Wformat]
cvals[BR_MISS], stat_mode_names[BR_MISS]);
^~~~~~~~~~~~~~
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:285:48: error: format specifies
type 'long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
fprintf(pmc_args.pa_printfile, "%16ld %s%s", cvals[CACHE],
stat_mode_names[CACHE],
~~~~~ ^~~~~~~~~~~~
%16llu
/usr/src/usr.sbin/pmc/cmd_pmc_stat.c:290:48: error: format specifies
type 'long' but the argument has type 'uint64_t' (aka 'unsigned long
long') [-Werror,-Wformat]
fprintf(pmc_args.pa_printfile, "%16ld %s%s", cvals[CACHE_MISS],
stat_mode_names[CACHE_MISS],
~~~~~ ^~~~~~~~~~~~~~~~~
%16llu
7 errors generated.
*** [cmd_pmc_stat.o] Error code 1
imb
More information about the freebsd-current
mailing list