Actions
Bug #309
closed"Warning" messages during "make" on a 32bits system
Start date:
07/17/2012
Due date:
% Done:
0%
Estimated time:
Description
When installing LTTng on a 32bits system, the "make" of lttng-tools is showing some warnings. This warning doesn't appears on the 64bits version of the same system (Debian testing, same hardware).
Here is the system informations:
xaf@station11-32:~/git/lttng-tools$ uname -a Linux station11-32 3.2.0-3-686-pae #1 SMP Thu Jun 28 08:56:46 UTC 2012 i686 GNU/Linux xaf@station11-32:~/git/lttng-tools$ cat /proc/version Linux version 3.2.0-3-686-pae (Debian 3.2.21-3) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-8) ) #1 SMP Thu Jun 28 08:56:46 UTC 2012 xaf@station11-32:~/git/lttng-tools$ cat /proc/cpuinfo | grep "model name" model name : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz model name : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz model name : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz model name : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz xaf@station11-32:~/git/lttng-tools$
And the "make" result :
Making all in src make[1]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src » Making all in common make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common » Making all in compat make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/compat » CC compat-fcntl.lo CC compat-epoll.lo CCLD libcompat.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/compat » Making all in hashtable make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/hashtable » CC hashtable.lo CC utils.lo CC rculfhash.lo CC rculfhash-mm-chunk.lo CC rculfhash-mm-mmap.lo CC rculfhash-mm-order.lo CCLD libhashtable.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/hashtable » Making all in kernel-ctl make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/kernel-ctl » CC kernel-ctl.lo CCLD libkernel-ctl.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/kernel-ctl » Making all in sessiond-comm make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/sessiond-comm » CC sessiond-comm.lo CC unix.lo CC inet.lo CC inet6.lo CCLD libsessiond-comm.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/sessiond-comm » Making all in relayd make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/relayd » CC relayd.lo relayd.c: In function 'relayd_add_stream': relayd.c:199:2: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] relayd.c:199:2: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] relayd.c:199:2: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] relayd.c:199:2: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] relayd.c: In function 'relayd_send_metadata': relayd.c:309:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat] relayd.c:309:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat] relayd.c:309:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat] relayd.c:309:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat] CCLD librelayd.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/relayd » Making all in kernel-consumer make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/kernel-consumer » CC kernel-consumer.lo kernel-consumer.c: In function 'lttng_kconsumer_on_read_subbuffer_mmap': kernel-consumer.c:110:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c:110:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c:110:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c:110:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c: In function 'lttng_kconsumer_on_read_subbuffer_splice': kernel-consumer.c:214:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c:214:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c:214:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c:214:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] kernel-consumer.c: In function 'lttng_kconsumer_read_subbuffer': kernel-consumer.c:632:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' [-Wformat] kernel-consumer.c:632:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' [-Wformat] kernel-consumer.c:632:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' [-Wformat] kernel-consumer.c:632:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' [-Wformat] CCLD libkernel-consumer.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/kernel-consumer » Making all in ust-consumer make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common/ust-consumer » CC ust-consumer.lo ust-consumer.c: In function 'lttng_ustconsumer_on_read_subbuffer_mmap': ust-consumer.c:100:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] ust-consumer.c:100:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] ust-consumer.c:100:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] ust-consumer.c:100:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint64_t' [-Wformat] ust-consumer.c: In function 'lttng_ustconsumer_recv_cmd': ust-consumer.c:397:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' [-Wformat] ust-consumer.c:397:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' [-Wformat] ust-consumer.c:397:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' [-Wformat] ust-consumer.c:397:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' [-Wformat] CCLD libust-consumer.la make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common/ust-consumer » make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/common » CC runas.lo CC futex.lo CC uri.lo CCLD libcommon.la CC consumer.lo CCLD libconsumer.la copying selected object files to avoid basename conflicts... make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common » make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/src/common » Making all in lib make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/lib » Making all in lttng-ctl make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/lib/lttng-ctl » make all-am make[4]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/lib/lttng-ctl » CC lttng-ctl.lo CC filter-lexer.lo CC filter-parser.lo CC filter-visitor-set-parent.lo CC filter-visitor-xml.lo CC filter-visitor-generate-ir.lo CC filter-visitor-ir-check-binary-op-nesting.lo CC filter-visitor-generate-bytecode.lo CCLD liblttng-ctl.la CC filter-grammar-test.o CCLD filter-grammar-test make[4]: quittant le répertoire « /home/xaf/git/lttng-tools/src/lib/lttng-ctl » make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/lib/lttng-ctl » make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/lib » make[3]: Rien à faire pour « all-am ». make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/lib » make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/src/lib » Making all in bin make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/bin » Making all in lttng-consumerd make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng-consumerd » CC lttng-consumerd.o CCLD lttng-consumerd make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng-consumerd » Making all in lttng make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng » CC conf.o CC start.o CC list.o CC create.o CC destroy.o CC stop.o CC enable_events.o CC disable_events.o CC enable_channels.o CC disable_channels.o CC add_context.o CC set_session.o CC version.o CC calibrate.o CC view.o CC enable_consumer.o CC disable_consumer.o CC utils.o CC lttng.o CCLD lttng make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng » Making all in lttng-sessiond make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng-sessiond » CC utils.o CC trace-kernel.o CC kernel.o CC context.o CC channel.o CC event.o CC shm.o CC session.o CC modprobe.o CC fd-limit.o CC consumer.o CC kernel-consumer.o CC filter.o CC trace-ust.o CC ust-app.o CC ust-consumer.o CC main.o CCLD lttng-sessiond make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng-sessiond » Making all in lttng-relayd make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng-relayd » CC main.o main.c: In function ‘relay_delete_session’: main.c:844:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:844:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:844:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:844:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c: In function ‘relay_stream_from_stream_id’: main.c:1015:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1015:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1015:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1015:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c: In function ‘relay_recv_metadata’: main.c:1057:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1057:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1057:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1057:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c: In function ‘relay_send_version’: main.c:1104:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1104:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1104:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1104:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c: In function ‘relay_process_data’: main.c:1213:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat] main.c:1213:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat] main.c:1213:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat] main.c:1213:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat] main.c: In function ‘relay_thread_worker’: main.c:1384:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1384:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1384:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] main.c:1384:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] CCLD lttng-relayd make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/bin/lttng-relayd » make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src/bin » make[3]: Rien à faire pour « all-am ». make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/src/bin » make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/src/bin » make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/src » make[2]: Rien à faire pour « all-am ». make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/src » make[1]: quittant le répertoire « /home/xaf/git/lttng-tools/src » Making all in tests make[1]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests » Making all in . make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests » make[2]: Rien à faire pour « all-am ». make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/tests » Making all in tools make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/tools » CC test_sessions.o CC session.o CCLD test_sessions CC test_kernel_data_trace.o CC trace-kernel.o CC consumer.o CC uri.o CCLD test_kernel_data_trace CC test_ust_data_trace.o CC trace-ust.o CCLD test_ust_data_trace make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/tools » Making all in kernel make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/kernel » CC kernel_all_events_basic.o CC sessiond-comm.o CC unix.o CC inet.o CC inet6.o CCLD kernel_all_events_basic CC kernel_event_basic.o CCLD kernel_event_basic make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/kernel » Making all in ust make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust » Making all in nprocesses make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust/nprocesses » CC gen-events-time.o CC tp.o CCLD gen-events-time make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust/nprocesses » Making all in high-throughput make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust/high-throughput » CC main.o CC tp.o CCLD gen-events make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust/high-throughput » Making all in low-throughput make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust/low-throughput » CC main.o CC tp.o CCLD gen-events make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust/low-throughput » Making all in before-after make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust/before-after » CC gen-nevents.o CC tp.o CCLD gen-nevents make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust/before-after » Making all in multi-session make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust/multi-session » CC gen-nevents.o CC tp.o CCLD gen-nevents make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust/multi-session » make[3]: entrant dans le répertoire « /home/xaf/git/lttng-tools/tests/ust » CC ust_global_event_basic.o CC sessiond-comm.o CC unix.o CC inet.o CC inet6.o CCLD ust_global_event_basic CC ust_global_event_wildcard.o CCLD ust_global_event_wildcard make[3]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust » make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/tests/ust » make[1]: quittant le répertoire « /home/xaf/git/lttng-tools/tests » Making all in include make[1]: entrant dans le répertoire « /home/xaf/git/lttng-tools/include » make all-am make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/include » make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/include » make[1]: quittant le répertoire « /home/xaf/git/lttng-tools/include » Making all in doc make[1]: entrant dans le répertoire « /home/xaf/git/lttng-tools/doc » Making all in man make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/doc/man » make[2]: Rien à faire pour « all ». make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/doc/man » make[2]: entrant dans le répertoire « /home/xaf/git/lttng-tools/doc » make[2]: Rien à faire pour « all-am ». make[2]: quittant le répertoire « /home/xaf/git/lttng-tools/doc » make[1]: quittant le répertoire « /home/xaf/git/lttng-tools/doc » make[1]: entrant dans le répertoire « /home/xaf/git/lttng-tools » make[1]: Rien à faire pour « all-am ». make[1]: quittant le répertoire « /home/xaf/git/lttng-tools »
Updated by Mathieu Desnoyers over 12 years ago
- Status changed from New to Confirmed
- Assignee set to Mathieu Desnoyers
Updated by Mathieu Desnoyers over 12 years ago
- Status changed from Confirmed to Resolved
Fixed by commit:
commit 77c7c900d190f7fb4f99a456c767f069da7e72b8
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Thu Aug 16 15:17:11 2012 -0400
Fix: 32-bit print format type mismatch warnings
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Actions