Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ SRC /home/build/oils/_build/deps-source/uftrace/uftrace-0.13 ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils Usage: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/configure [] --help print this message --prefix= set install root dir as (default: /usr/local) --bindir= set executable install dir as (default: ${prefix}/bin) --libdir= set library install dir as (default: ${prefix}/lib) --mandir= set manual doc install dir as (default: ${prefix}/share/man) --objdir= set build dir as (default: ${PWD}) --sysconfdir= override the etc dir as --with-elfutils= search for elfutils in /include and /lib --without-libelf build without libelf (and libdw) (even if found on the system) --without-libdw build without libdw (even if found on the system) --without-libstdc++ build without libstdc++ (even if found on the system) --without-libpython build without libpython (even if found on the system) --without-libluajit build without libluajit (even if found on the system) --without-libncurses build without libncursesw (even if found on the system) --without-libunwind build without libunwind (even if found on the system) --without-capstone build without libcapstone (even if found on the system) --without-perf build without perf event (even if available) --without-schedule build without scheduler event (even if available) --arch= set target architecture (default: system default arch) e.g. x86_64, aarch64, i386, or arm --cross-compile= Specify the compiler prefix during compilation e.g. CC is overridden by $(CROSS_COMPILE)gcc --cflags= pass extra C compiler flags --ldflags= pass extra linker flags -p preserve old setting -o output filename Some influential environment variables: ARCH Target architecture e.g. x86_64, aarch64, i386, or arm CROSS_COMPILE Specify the compiler prefix during compilation e.g. CC is overridden by $(CROSS_COMPILE)gcc CFLAGS C compiler flags LDFLAGS linker flags uftrace detected system features: ... prefix: /wedge/oils-for-unix.org/pkg/uftrace/0.13 ... libelf: [ on ] - more flexible ELF data handling ... libdw: [ on ] - DWARF debug info support ... libpython: [ on ] - python scripting support ... libluajit: [ OFF ] - luajit scripting support ... libncursesw: [ on ] - TUI support ... cxa_demangle: [ on ] - full demangler support with libstdc++ ... perf_event: [ on ] - perf (PMU) event support ... schedule: [ on ] - scheduler event support ... capstone: [ OFF ] - full dynamic tracing support ... libunwind: [ OFF ] - stacktrace support (optional for debugging) GEN version.h CC uftrace.o CC cmds/dump.o CC cmds/graph.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/graph.c:7: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/graph.c: In function ‘create_graph’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/graph.c:213:53: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 213 | struct session_graph *graph = xzalloc(sizeof(*graph)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/graph.c:213:53: note: earlier argument should specify number of elements, later size of each element 213 | struct session_graph *graph = xzalloc(sizeof(*graph)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC cmds/info.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/info.c:20: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/info.c: In function ‘read_taskinfo’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/info.c:539:51: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 539 | int *tids = xcalloc(sizeof(*tids), info->nr_tid); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/info.c:539:51: note: earlier argument should specify number of elements, later size of each element 539 | int *tids = xcalloc(sizeof(*tids), info->nr_tid); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ CC cmds/live.o CC cmds/record.o CC cmds/recv.o CC cmds/replay.o CC cmds/report.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/report.c:4: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/report.c: In function ‘insert_node’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/report.c:36:38: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 36 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/report.c:36:38: note: earlier argument should specify number of elements, later size of each element 36 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC cmds/script.o CC cmds/tui.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:14: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c: In function ‘create_data’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:414:49: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 414 | struct tui_graph *graph = xzalloc(sizeof(*graph)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:414:49: note: earlier argument should specify number of elements, later size of each element 414 | struct tui_graph *graph = xzalloc(sizeof(*graph)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c: In function ‘update_report_node’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:503:38: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 503 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:503:38: note: earlier argument should specify number of elements, later size of each element 503 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c: In function ‘append_graph_node’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:656:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 656 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/cmds/tui.c:656:30: note: earlier argument should specify number of elements, later size of each element 656 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/argspec.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c:10: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c: In function ‘parse_argspec’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c:77:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 77 | arg = xzalloc(sizeof(*arg)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c:77:29: note: earlier argument should specify number of elements, later size of each element 77 | arg = xzalloc(sizeof(*arg)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/auto-args.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c:8: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c: In function ‘find_dwarf_argspec’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c:173:38: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 173 | dwarf_filter = xzalloc(sizeof(*dwarf_filter)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c:173:38: note: earlier argument should specify number of elements, later size of each element 173 | dwarf_filter = xzalloc(sizeof(*dwarf_filter)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/data-file.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/data-file.c:12: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/data-file.c: In function ‘open_data_file’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/data-file.c:533:40: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 533 | kernel = xzalloc(sizeof(*kernel)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/data-file.c:533:40: note: earlier argument should specify number of elements, later size of each element 533 | kernel = xzalloc(sizeof(*kernel)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/debug.o CC utils/demangle.o CC utils/dwarf.o CC utils/event.o CC utils/extern.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/extern.c:22: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/extern.c: In function ‘setup_extern_data’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/extern.c:54:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 54 | extn = xzalloc(sizeof(*extn)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/extern.c:54:30: note: earlier argument should specify number of elements, later size of each element 54 | extn = xzalloc(sizeof(*extn)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/field.o CC utils/filter.o CC utils/fstack.o CC utils/graph.o CC utils/hashmap.o CC utils/kernel.o CC utils/pager.o CC utils/perf.o CC utils/rbtree.o CC utils/regs.o CC utils/report.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/report.c:5: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/report.c: In function ‘report_diff_nodes’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/report.c:507:38: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 507 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/report.c:507:38: note: earlier argument should specify number of elements, later size of each element 507 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/report.c:525:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 525 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/report.c:525:46: note: earlier argument should specify number of elements, later size of each element 525 | node = xzalloc(sizeof(*node)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/script-luajit.o CC utils/script-python.o CC utils/script.o CC utils/session.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/session.c:9: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/session.c: In function ‘create_task’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/session.c:535:27: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 535 | t = xzalloc(sizeof(*t)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/session.c:535:27: note: earlier argument should specify number of elements, later size of each element 535 | t = xzalloc(sizeof(*t)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC utils/socket.o CC utils/symbol-libelf.o CC utils/symbol-rawelf.o CC utils/symbol.o CC utils/tracefs.o CC utils/utils.o CC arch/x86_64/cpuinfo.o CC arch/x86_64/symbol.o In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c:10: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c: In function ‘mcount_arch_plthook_setup’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c:106:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 106 | ctx = xzalloc(sizeof(*ctx)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c:106:29: note: earlier argument should specify number of elements, later size of each element 106 | ctx = xzalloc(sizeof(*ctx)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ LINK arch/x86_64/uftrace.o FLAGS: * new build flags or cross compiler CC FPIC libtraceevent/event-parse.o CC FPIC libtraceevent/event-plugin.o CC FPIC libtraceevent/trace-seq.o CC FPIC libtraceevent/parse-filter.o CC FPIC libtraceevent/parse-utils.o CC FPIC libtraceevent/kbuffer-parse.o LINK libtraceevent/libtraceevent.a LINK uftrace CC FPIC libmcount/dynamic.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘alloc_codepage’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: note: earlier argument should specify number of elements, later size of each element 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘create_mdi’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: note: earlier argument should specify number of elements, later size of each element 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘parse_pattern_list’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: note: earlier argument should specify number of elements, later size of each element 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: note: earlier argument should specify number of elements, later size of each element 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC libmcount/event.op CC FPIC libmcount/mcount.op CC FPIC libmcount/misc.op CC FPIC libmcount/plthook.op CC FPIC libmcount/pmu.op CC FPIC libmcount/record.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:15: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c: In function ‘prepare_shmem_buffer’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: note: earlier argument should specify number of elements, later size of each element 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ CC FPIC libmcount/wrap.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘collect_uftrace_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: note: earlier argument should specify number of elements, later size of each element 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘merge_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: note: earlier argument should specify number of elements, later size of each element 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ CC FPIC libmcount/debug.op CC FPIC libmcount/regs.op CC FPIC libmcount/rbtree.op CC FPIC libmcount/filter.op CC FPIC libmcount/demangle.op CC FPIC libmcount/utils.op CC FPIC libmcount/script.op CC FPIC libmcount/script-python.op CC FPIC libmcount/script-luajit.op CC FPIC libmcount/auto-args.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c:8: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c: In function ‘find_dwarf_argspec’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c:173:38: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 173 | dwarf_filter = xzalloc(sizeof(*dwarf_filter)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/auto-args.c:173:38: note: earlier argument should specify number of elements, later size of each element 173 | dwarf_filter = xzalloc(sizeof(*dwarf_filter)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC libmcount/dwarf.op CC FPIC libmcount/hashmap.op CC FPIC libmcount/argspec.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c:10: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c: In function ‘parse_argspec’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c:77:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 77 | arg = xzalloc(sizeof(*arg)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/argspec.c:77:29: note: earlier argument should specify number of elements, later size of each element 77 | arg = xzalloc(sizeof(*arg)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC libmcount/tracefs.op CC FPIC libmcount/socket.op CC FPIC libmcount/symbol-libelf.op CC FPIC libmcount/symbol-rawelf.op CC FPIC libmcount/symbol.op ASM arch/x86_64/dynamic.op ASM arch/x86_64/fentry.op ASM arch/x86_64/mcount.op ASM arch/x86_64/plthook.op ASM arch/x86_64/xray.op CC FPIC arch/x86_64/mcount-dynamic.op CC FPIC arch/x86_64/mcount-event.op CC FPIC arch/x86_64/mcount-insn.op CC FPIC arch/x86_64/mcount-noplt.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-noplt.c:10: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-noplt.c: In function ‘mcount_arch_hook_no_plt’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-noplt.c:50:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 50 | pd = xzalloc(sizeof(*pd)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-noplt.c:50:28: note: earlier argument should specify number of elements, later size of each element 50 | pd = xzalloc(sizeof(*pd)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC arch/x86_64/mcount-support.op CC FPIC arch/x86_64/symbol.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c:10: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c: In function ‘mcount_arch_plthook_setup’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c:106:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 106 | ctx = xzalloc(sizeof(*ctx)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/symbol.c:106:29: note: earlier argument should specify number of elements, later size of each element 106 | ctx = xzalloc(sizeof(*ctx)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ LINK arch/x86_64/mcount-entry.op LINK libmcount/libmcount.so CC FPIC libmcount/dynamic-fast.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘alloc_codepage’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: note: earlier argument should specify number of elements, later size of each element 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘create_mdi’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: note: earlier argument should specify number of elements, later size of each element 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘parse_pattern_list’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: note: earlier argument should specify number of elements, later size of each element 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: note: earlier argument should specify number of elements, later size of each element 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC libmcount/event-fast.op CC FPIC libmcount/mcount-fast.op CC FPIC libmcount/misc-fast.op CC FPIC libmcount/plthook-fast.op CC FPIC libmcount/pmu-fast.op CC FPIC libmcount/record-fast.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:15: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c: In function ‘prepare_shmem_buffer’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: note: earlier argument should specify number of elements, later size of each element 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ CC FPIC libmcount/wrap-fast.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘collect_uftrace_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: note: earlier argument should specify number of elements, later size of each element 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘merge_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: note: earlier argument should specify number of elements, later size of each element 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ LINK libmcount/libmcount-fast.so CC FPIC libmcount/dynamic-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘alloc_codepage’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: note: earlier argument should specify number of elements, later size of each element 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘create_mdi’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: note: earlier argument should specify number of elements, later size of each element 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘parse_pattern_list’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: note: earlier argument should specify number of elements, later size of each element 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: note: earlier argument should specify number of elements, later size of each element 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC libmcount/event-single.op CC FPIC libmcount/mcount-single.op CC FPIC libmcount/misc-single.op CC FPIC libmcount/plthook-single.op CC FPIC libmcount/pmu-single.op CC FPIC libmcount/record-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:15: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c: In function ‘prepare_shmem_buffer’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: note: earlier argument should specify number of elements, later size of each element 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ CC FPIC libmcount/wrap-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘collect_uftrace_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: note: earlier argument should specify number of elements, later size of each element 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘merge_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: note: earlier argument should specify number of elements, later size of each element 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ LINK libmcount/libmcount-single.so CC FPIC libmcount/dynamic-fast-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘alloc_codepage’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:86:28: note: earlier argument should specify number of elements, later size of each element 86 | cp = xzalloc(sizeof(*cp)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘create_mdi’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:270:29: note: earlier argument should specify number of elements, later size of each element 270 | mdi = xzalloc(sizeof(*mdi)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c: In function ‘parse_pattern_list’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:419:36: note: earlier argument should specify number of elements, later size of each element 419 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:443:36: note: earlier argument should specify number of elements, later size of each element 443 | pl = xzalloc(sizeof(*pl)); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:193:38: note: in definition of macro ‘xzalloc’ 193 | void *__ptr = calloc(sz, 1); \ | ^~ CC FPIC libmcount/event-fast-single.op CC FPIC libmcount/mcount-fast-single.op CC FPIC libmcount/misc-fast-single.op CC FPIC libmcount/plthook-fast-single.op CC FPIC libmcount/pmu-fast-single.op CC FPIC libmcount/record-fast-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:15: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c: In function ‘prepare_shmem_buffer’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/record.c:75:39: note: earlier argument should specify number of elements, later size of each element 75 | shmem->buffer = xcalloc(sizeof(*shmem->buffer), 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ CC FPIC libmcount/wrap-fast-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:11, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘collect_uftrace_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:204:30: note: earlier argument should specify number of elements, later size of each element 204 | envp = xcalloc(sizeof(*envp), n + 2); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c: In function ‘merge_envp’: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:239:30: note: earlier argument should specify number of elements, later size of each element 239 | envp = xcalloc(sizeof(*envp), n + 1); | ^ /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:202:38: note: in definition of macro ‘xcalloc’ 202 | void *__ptr = calloc(sz, n); \ | ^~ LINK libmcount/libmcount-fast-single.so CC FPIC libmcount/mcount-nop.op LINK libmcount/libmcount-nop.so CC misc/demangler.o LINK misc/demangler CC misc/symbols.o LINK misc/symbols CC misc/dbginfo.o LINK misc/dbginfo real 0m22.317s user 0m18.637s sys 0m3.463s ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils ~/oils Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ /home/build/oils/_build/wedge/tmp/uftrace-0.13 /home/build/oils CC uftrace.o LINK uftrace INSTALL uftrace INSTALL libmcount INSTALL bash-completion Makefile:36: To install man pages, please install 'pandoc'. real 0m0.612s user 0m0.341s sys 0m0.184s /home/build/oils Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ SMOKE TEST ~/oils/_build/wedge/smoke-test/uftrace-0.13 ~/oils + wedge-smoke-test /wedge/oils-for-unix.org/pkg/uftrace/0.13 /home/build/oils/_build/deps-source/uftrace/ + local install_dir=/wedge/oils-for-unix.org/pkg/uftrace/0.13 + local wedge_dir=/home/build/oils/_build/deps-source/uftrace/ + local uftrace=/wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace + /wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace --version + tee version.txt uftrace v0.13 ( x86_64 dwarf tui perf sched ) + grep python3 version.txt + echo 'FAILED to build with Python 3 support' FAILED to build with Python 3 support + return 1