perf build failure with v6.11-rc4 (commit 4bbe60029319 ("perf daemon: Fix the build on 32-bit architectures"))
Arnaldo Carvalho de Melo
arnaldo.melo at gmail.com
Wed Aug 21 20:03:06 AEST 2024
On Wed, Aug 21, 2024, 6:06 AM LEROY Christophe <
christophe.leroy2 at cs-soprasteria.com> wrote:
> Got the following build failure on v6.11-rc4, see
> https://github.com/chleroy/linux/actions/runs/10485680041/job/29042302519
>
>
>
>
> Can you try with
https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/commit/?h=perf-tools-next&id=6236ebe07131a7746d870f1d8eb3637a8df13e70
?
- Arnaldo
builtin-daemon.c: In function 'cmd_session_list':
> Error: builtin-daemon.c:692:16: error: format '%llu' expects argument of
> type 'long long unsigned int', but argument 4 has type 'long int'
> [-Werror=format=]
> 692 | fprintf(out, "%c%" PRIu64,
> | ^~~~~
> 693 | /* session up time */
> 694 | csv_sep, (curr - daemon->start) / 60);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | long int
> In file included from builtin-daemon.c:3:
> /usr/powerpc-linux-gnu/include/inttypes.h:105:34: note: format string is
> defined here
> 105 | # define PRIu64 __PRI64_PREFIX "u"
> Error: builtin-daemon.c:704:17: error: format '%llu' expects argument of
> type 'long long unsigned int', but argument 3 has type 'long int'
> [-Werror=format=]
> 704 | fprintf(out, " up: %" PRIu64 " minutes\n",
> | ^~~~~~~~~~~~~~
> 705 | (curr - daemon->start) / 60);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | long int
> In file included from builtin-daemon.c:3:
> /usr/powerpc-linux-gnu/include/inttypes.h:105:34: note: format string is
> defined here
> 105 | # define PRIu64 __PRI64_PREFIX "u"
> Error: builtin-daemon.c:731:17: error: format '%llu' expects argument of
> type 'long long unsigned int', but argument 4 has type 'long int'
> [-Werror=format=]
> 731 | fprintf(out, "%c%" PRIu64,
> | ^~~~~
> 732 | /* session up time */
> 733 | csv_sep, (curr - session->start) / 60);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | long int
> In file included from builtin-daemon.c:3:
> /usr/powerpc-linux-gnu/include/inttypes.h:105:34: note: format string is
> defined here
> 105 | # define PRIu64 __PRI64_PREFIX "u"
> Error: builtin-daemon.c:749:17: error: format '%llu' expects argument of
> type 'long long unsigned int', but argument 3 has type 'long int'
> [-Werror=format=]
> 749 | fprintf(out, " up: %" PRIu64 " minutes\n",
> | ^~~~~~~~~~~~~~
> 750 | (curr - session->start) / 60);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | long int
> In file included from builtin-daemon.c:3:
> /usr/powerpc-linux-gnu/include/inttypes.h:105:34: note: format string is
> defined here
> 105 | # define PRIu64 __PRI64_PREFIX "u"
>
>
> Christophe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20240821/b6cc43a6/attachment.htm>
More information about the Linuxppc-dev
mailing list