* Build failure for perf daemon on perf-tools-next
@ 2024-07-04 19:18 Arnaldo Carvalho de Melo
0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2024-07-04 19:18 UTC (permalink / raw)
To: Namhyung Kim; +Cc: Linux Kernel Mailing List
Hi,
I hadn't notice this before, its like this code isn't being
built and some change made it build or that daemon->start field (or curr
local variable) changed its type or we have a new compiler that has a
new type check, I'm still checking:
perfbuilder@number:~$ dsh debian:experimental-x-mips
$ bash
toolsbuilder@84768d80be97:/$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
toolsbuilder@84768d80be97:/$ mips-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=mips-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc-cross/mips-linux-gnu/13/lto-wrapper
Target: mips-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-25' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --without-target-system-zlib --enable-multiarch --disable-werror --enable-multilib --with-arch-32=mips32r2 --with-fp-32=xx --with-lxc1-sxc1=no --enable-targets=all --with-arch-64=mips64r2 --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=mips-linux-gnu --program-prefix=mips-linux-gnu- --includedir=/usr/mips-linux-gnu/include --with-build-config=bootstrap-lto-lean --enable-link-serialization=8
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Debian 13.2.0-25)
toolsbuilder@84768d80be97:/$
21 6.70 debian:experimental-x-mips : FAIL gcc version 13.2.0 (Debian 13.2.0-25)
builtin-daemon.c: In function 'cmd_session_list':
builtin-daemon.c:691:35: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Werror=format=]
691 | fprintf(out, "%c%lu",
| ~~^
| |
| long unsigned int
| %llu
692 | /* session up time */
693 | csv_sep, (curr - daemon->start) / 60);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| time_t {aka long long int}
builtin-daemon.c:703:52: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]
703 | fprintf(out, " up: %lu minutes\n",
| ~~^
| |
| long unsigned int
| %llu
704 | (curr - daemon->start) / 60);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| time_t {aka long long int}
builtin-daemon.c:730:43: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Werror=format=]
730 | fprintf(out, "%c%lu",
| ~~^
| |
| long unsigned int
| %llu
731 | /* session up time */
732 | csv_sep, (curr - session->start) / 60);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| time_t {aka long long int}
builtin-daemon.c:748:52: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]
748 | fprintf(out, " up: %lu minutes\n",
| ~~^
| |
| long unsigned int
| %llu
749 | (curr - session->start) / 60);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| time_t {aka long long int}
cc1: all warnings being treated as errors
tests/workloads/landlock.c:27:15: error: packed attribute causes inefficient alignment for 'allowed_access' [-Werror=attributes]
27 | __u64 allowed_access;
| ^~~~~~~~~~~~~~
tests/workloads/landlock.c:28:15: error: packed attribute causes inefficient alignment for 'parent_fd' [-Werror=attributes]
28 | __s32 parent_fd;
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [/git/perf-6.10.0-rc3/tools/build/Makefile.build:158: workloads] Error 2
make[3]: *** [/git/perf-6.10.0-rc3/tools/build/Makefile.build:158: tests] Error 2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-04 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 19:18 Build failure for perf daemon on perf-tools-next Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.