lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYt1ZtucYds=p-Z+4sZ+nHMeEAFh2Fbe63VS_03-UsRwBg@mail.gmail.com>
Date:   Mon, 3 Jul 2023 12:55:59 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     open list <linux-kernel@...r.kernel.org>,
        linux-perf-users@...r.kernel.org, bpf <bpf@...r.kernel.org>
Cc:     Andrei Vagin <avagin@...gle.com>,
        "Peter Zijlstra (Intel)" <peterz@...radead.org>,
        Kees Cook <keescook@...omium.org>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Arnd Bergmann <arnd@...db.de>
Subject: next: perf: 32-bit: bench/sched-seccomp-notify.c:139:24: error:
 format '%lu' expects argument of type 'long unsigned int', but argument 2 has
 type 'uint64_t'

Following build regressions noticed on Linux next-20230703.

Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

Regressions found on i386:

  - build/gcc-11-lkftconfig-perf

Regressions found on arm:

  - build/gcc-10-lkftconfig-perf
  - build/gcc-11-lkftconfig-perf

Build error:
=======
bench/sched-seccomp-notify.c: In function 'bench_sched_seccomp_notify':
bench/sched-seccomp-notify.c:139:24: error: format '%lu' expects
argument of type 'long unsigned int', but argument 2 has type
'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
  139 |   printf("# Executed %lu system calls\n\n",
      |                      ~~^
      |                        |
      |                        long unsigned int
      |                      %llu
  140 |    loops);
      |    ~~~~~
      |    |
      |    uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
make[4]: *** [tools/build/Makefile.build:97:
/home/tuxbuild/.cache/tuxmake/builds/1/build/bench/sched-seccomp-notify.o]
Error 1

Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230703/testrun/18069798/suite/build/test/gcc-10-lkftconfig-perf/history/


--
Linaro LKFT
https://lkft.linaro.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ