>>> phpspy: Building community/phpspy 0.7.0-r0 (using abuild 3.13.0-r3) started Wed, 10 Jul 2024 21:59:28 +0000 >>> phpspy: Checking sanity of /home/buildozer/aports/community/phpspy/APKBUILD... >>> phpspy: Analyzing dependencies... >>> phpspy: Installing for build: build-base perl linux-headers (1/7) Installing libbz2 (1.0.8-r6) (2/7) Installing perl (5.40.0-r1) (3/7) Installing linux-headers (6.6-r0) (4/7) Installing .makedepends-phpspy (20240710.215929) (5/7) Installing perl-error (0.17029-r2) (6/7) Installing perl-git (2.45.2-r1) (7/7) Installing git-perl (2.45.2-r1) Executing busybox-1.36.1-r31.trigger OK: 312 MiB in 109 packages >>> phpspy: Cleaning up srcdir >>> phpspy: Cleaning up pkgdir >>> phpspy: Cleaning up tmpdir >>> phpspy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/phpspy-0.7.0.tar.gz >>> phpspy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/edge/termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081.tar.gz.part' termbox2-915b186bdc9 100% |********************************| 60101 0:00:00 ETA '/var/cache/distfiles/edge/termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081.tar.gz.part' saved >>> phpspy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/phpspy-0.7.0.tar.gz >>> phpspy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081.tar.gz >>> phpspy: Checking sha512sums... phpspy-0.7.0.tar.gz: OK termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081.tar.gz: OK >>> phpspy: Unpacking /var/cache/distfiles/edge/phpspy-0.7.0.tar.gz... >>> phpspy: Unpacking /var/cache/distfiles/edge/termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081.tar.gz... '/home/buildozer/aports/community/phpspy/src/phpspy-0.7.0/vendor/termbox2' -> '/home/buildozer/aports/community/phpspy/src/termbox2-915b186bdc94c6a79537dbe1e7479af2d26f5081' gcc -std=c11 -Wall -Wextra -pedantic -g -O3 -Wno-address-of-packed-member -Os -fstack-clash-protection -Wformat -Werror=format-security -I. -I./vendor -Ivendor/termbox2/ phpspy.c pgrep.c top.c addr_objdump.c event_fout.c event_callgrind.c -o phpspy -Wl,--as-needed,-O1,--sort-common -pthread phpspy.c: In function 'usage': phpspy.c:125:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 125 | fprintf(fp, " (default: %lu; 0=unlimited)\n", opt_trace_limit); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu phpspy.c:145:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 145 | fprintf(fp, " (default: %lu; 0=find dynamically)\n", opt_sapi_globals_addr); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu phpspy.c:147:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 147 | fprintf(fp, " (default: %lu; 0=find dynamically)\n", opt_executor_globals_addr); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu phpspy.c: In function 'get_php_version': phpspy.c:763:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 763 | if (copy_proc_mem(pid, "basic_functions_module", (void*)target->basic_functions_module_addr, &basic_functions_module, sizeof(basic_functions_module)) == 0) { | ^ In file included from phpspy.c:1: phpspy_trace.c: In function 'trace_request_info_70': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_70': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:862: phpspy_trace.c: In function 'trace_globals_70': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_70': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_71': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_71': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:865: phpspy_trace.c: In function 'trace_globals_71': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_71': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_72': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_72': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:868: phpspy_trace.c: In function 'trace_globals_72': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_72': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_73': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_73': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:871: phpspy_trace.c: In function 'trace_globals_73': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_73': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_74': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_74': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:874: phpspy_trace.c: In function 'trace_globals_74': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_74': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_80': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_80': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:877: phpspy_trace.c: In function 'trace_globals_80': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_80': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_81': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_81': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:880: phpspy_trace.c: In function 'trace_globals_81': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_81': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_82': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_82': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:883: phpspy_trace.c: In function 'trace_globals_82': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_82': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_83': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_83': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:886: phpspy_trace.c: In function 'trace_globals_83': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_83': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_84': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_84': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:889: phpspy_trace.c: In function 'trace_globals_84': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_84': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ event_callgrind.c: In function 'callgrind_dump': event_callgrind.c:209:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 209 | fprintf(udata->fout, "%d %ld\n", caller->loc.lineno, caller->exclusive); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld event_callgrind.c:216:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 216 | fprintf(udata->fout, "calls=%ld %d\n", callee->count, callee->loc.lineno); | ~~^ ~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld event_callgrind.c:217:40: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 217 | fprintf(udata->fout, "%d %ld\n", caller->loc.lineno, callee->inclusive); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld >>> phpspy: Entering fakeroot... gcc -std=c11 -Wall -Wextra -pedantic -g -O3 -Wno-address-of-packed-member -Os -fstack-clash-protection -Wformat -Werror=format-security -I. -I./vendor -Ivendor/termbox2/ phpspy.c pgrep.c top.c addr_objdump.c event_fout.c event_callgrind.c -o phpspy -Wl,--as-needed,-O1,--sort-common -pthread phpspy.c: In function 'usage': phpspy.c:125:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 125 | fprintf(fp, " (default: %lu; 0=unlimited)\n", opt_trace_limit); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu phpspy.c:145:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 145 | fprintf(fp, " (default: %lu; 0=find dynamically)\n", opt_sapi_globals_addr); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu phpspy.c:147:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 147 | fprintf(fp, " (default: %lu; 0=find dynamically)\n", opt_executor_globals_addr); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu phpspy.c: In function 'get_php_version': phpspy.c:763:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 763 | if (copy_proc_mem(pid, "basic_functions_module", (void*)target->basic_functions_module_addr, &basic_functions_module, sizeof(basic_functions_module)) == 0) { | ^ In file included from phpspy.c:1: phpspy_trace.c: In function 'trace_request_info_70': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_70': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:862: phpspy_trace.c: In function 'trace_globals_70': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_70': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_71': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_71': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:865: phpspy_trace.c: In function 'trace_globals_71': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_71': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_72': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_72': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:868: phpspy_trace.c: In function 'trace_globals_72': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_72': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_73': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_73': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:871: phpspy_trace.c: In function 'trace_globals_73': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_73': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_74': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_74': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:874: phpspy_trace.c: In function 'trace_globals_74': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_74': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_80': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_80': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:877: phpspy_trace.c: In function 'trace_globals_80': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_80': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_81': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_81': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:880: phpspy_trace.c: In function 'trace_globals_81': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_81': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_82': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_82': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:883: phpspy_trace.c: In function 'trace_globals_82': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_82': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_83': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_83': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:886: phpspy_trace.c: In function 'trace_globals_83': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_83': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_request_info_84': phpspy_trace.c:162:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:162:5: note: in expansion of macro 'try_copy_proc_mem' 162 | try_copy_proc_mem("sapi_globals", (void*)target->sapi_globals_addr, &sapi_globals, sizeof(sapi_globals)); | ^~~~~~~~~~~~~~~~~ phpspy_trace.c: In function 'trace_memory_info_84': phpspy_trace.c:205:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:205:5: note: in expansion of macro 'try_copy_proc_mem' 205 | try_copy_proc_mem("alloc_globals", (void*)target->alloc_globals_addr, &alloc_globals, sizeof(alloc_globals)); | ^~~~~~~~~~~~~~~~~ In file included from phpspy_trace_tpl.c:33, from phpspy.c:889: phpspy_trace.c: In function 'trace_globals_84': phpspy_trace.c:232:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 232 | symtable = (zend_array *)(context->target.executor_globals_addr + offsetof(zend_executor_globals, symbol_table)); | ^ phpspy_trace.c: In function 'copy_executor_globals_84': phpspy_trace.c:321:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^ phpspy.h:60:53: note: in definition of macro 'try' 60 | #define try(__rv, __call) do { if (((__rv) = (__call)) != 0) return (__rv); } while(0) | ^~~~~~ phpspy_trace.c:321:5: note: in expansion of macro 'try_copy_proc_mem' 321 | try_copy_proc_mem("executor_globals", (void*)context->target.executor_globals_addr, executor_globals, sizeof(*executor_globals)); | ^~~~~~~~~~~~~~~~~ event_callgrind.c: In function 'callgrind_dump': event_callgrind.c:209:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 209 | fprintf(udata->fout, "%d %ld\n", caller->loc.lineno, caller->exclusive); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld event_callgrind.c:216:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 216 | fprintf(udata->fout, "calls=%ld %d\n", callee->count, callee->loc.lineno); | ~~^ ~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld event_callgrind.c:217:40: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 217 | fprintf(udata->fout, "%d %ld\n", caller->loc.lineno, callee->inclusive); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lld install -D -v -m 755 phpspy /home/buildozer/aports/community/phpspy/pkg/phpspy/usr/bin/phpspy created directory: '/home/buildozer/aports/community/phpspy/pkg/' created directory: '/home/buildozer/aports/community/phpspy/pkg/phpspy/' created directory: '/home/buildozer/aports/community/phpspy/pkg/phpspy/usr/' created directory: '/home/buildozer/aports/community/phpspy/pkg/phpspy/usr/bin' 'phpspy' -> '/home/buildozer/aports/community/phpspy/pkg/phpspy/usr/bin/phpspy' 'stackcollapse-phpspy.pl' -> '/home/buildozer/aports/community/phpspy/pkg/phpspy/usr/bin/stackcollapse-phpspy' 'vendor/flamegraph.pl' -> '/home/buildozer/aports/community/phpspy/pkg/phpspy/usr/bin/flamegraph-phpspy' >>> phpspy*: Running postcheck for phpspy >>> phpspy*: Preparing package phpspy... >>> phpspy*: Stripping binaries >>> phpspy*: Scanning shared objects >>> phpspy*: Tracing dependencies... perl so:libc.musl-armv7.so.1 >>> phpspy*: Package size: 152.0 KB >>> phpspy*: Compressing data... >>> phpspy*: Create checksum... >>> phpspy*: Create phpspy-0.7.0-r0.apk >>> phpspy: Build complete at Wed, 10 Jul 2024 21:59:40 +0000 elapsed time 0h 0m 12s >>> phpspy: Cleaning up srcdir >>> phpspy: Cleaning up pkgdir >>> phpspy: Uninstalling dependencies... (1/7) Purging .makedepends-phpspy (20240710.215929) (2/7) Purging linux-headers (6.6-r0) (3/7) Purging git-perl (2.45.2-r1) (4/7) Purging perl-git (2.45.2-r1) (5/7) Purging perl-error (0.17029-r2) (6/7) Purging perl (5.40.0-r1) (7/7) Purging libbz2 (1.0.8-r6) Executing busybox-1.36.1-r31.trigger OK: 270 MiB in 102 packages >>> phpspy: Updating the community/armv7 repository index... >>> phpspy: Signing the index...