_at_SVN r334360 i386 build fails (pmc-related)

From: Michael Butler <imb_at_protected-networks.net>
Date: Tue, 29 May 2018 19:40:30 -0400
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
Received on Tue May 29 2018 - 21:40:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC