==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done ==> Making package: hotpatch-git 20200110.r90.fd2baf1-2 (Thu Feb 27 09:32:39 2020) ==> Retrieving sources... -> Cloning hotpatch-git git repo... Cloning into bare repository '/srv/build/builder/work/hotpatch-git/hotpatch-git'... ==> Validating source files with sha512sums... hotpatch-git ... Skipped Host and machine ids are equal (27f8a8a2107e4714a5587b00f7368723): refusing to link journals ==> Making package: hotpatch-git 20200110.r90.fd2baf1-2 (Thu 27 Feb 2020 09:32:46 AM EST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (10) jsoncpp-1.9.1-1 libnsl-1.2.0-2 libuv-1.34.2-1 perl-error-0.17029-1 perl-mailtools-2.21-2 perl-timedate-2.31-1 rhash-1.3.9-1 shared-mime-info-1.15-2 cmake-3.16.4-1 git-2.25.1-1 Total Download Size: 15.16 MiB Total Installed Size: 80.07 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading libnsl-1.2.0-2-x86_64.pkg.tar.xz... downloading shared-mime-info-1.15-2-x86_64.pkg.tar.zst... downloading jsoncpp-1.9.1-1-x86_64.pkg.tar.xz... downloading libuv-1.34.2-1-x86_64.pkg.tar.zst... downloading rhash-1.3.9-1-x86_64.pkg.tar.xz... downloading cmake-3.16.4-1-x86_64.pkg.tar.zst... downloading perl-error-0.17029-1-any.pkg.tar.zst... downloading perl-timedate-2.31-1-any.pkg.tar.zst... downloading perl-mailtools-2.21-2-any.pkg.tar.xz... downloading git-2.25.1-1-x86_64.pkg.tar.zst... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing shared-mime-info... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cmake... Optional dependencies for cmake qt5-base: cmake-gui installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-mime-tools: git send-email perl-net-smtp-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group git with gid 977. Creating user git (git daemon user) with uid 977 and gid 977. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Arming ConditionNeedsUpdate... (4/5) Warn about old perl modules (5/5) Updating the MIME type database... ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of hotpatch-git git repo... Cloning into 'hotpatch-git'... done. ==> Starting pkgver()... ==> Starting build()... CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Compiling for x86_64 64-bit -- Looking for features.h -- Looking for features.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for assert.h -- Looking for assert.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for elf.h -- Looking for elf.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for setjmp.h -- Looking for setjmp.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ptrace.h -- Looking for sys/ptrace.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for sys/syscall.h -- Looking for sys/syscall.h - found -- Looking for include files sys/types.h, sys/user.h -- Looking for include files sys/types.h, sys/user.h - found -- Looking for dl_iterate_phdr -- Looking for dl_iterate_phdr - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void * -- Check size of void * - done -- Configuring done -- Generating done -- Build files have been written to: /build/hotpatch-git/src/hotpatch-git/Release make[1]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[2]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target hotpatch_s make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 4%] Building C object src/CMakeFiles/hotpatch_s.dir/hotpatch.c.o /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_gather_functions’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:92:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 92 | LD_PROCMAPS_FIND_LIB(hp->exe_interp.name, true, HOTPATCH_LIB_LD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:92:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 92 | LD_PROCMAPS_FIND_LIB(hp->exe_interp.name, true, HOTPATCH_LIB_LD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:92:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 92 | LD_PROCMAPS_FIND_LIB(hp->exe_interp.name, true, HOTPATCH_LIB_LD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:98:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 98 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:99:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 99 | LD_PROCMAPS_FIND_LIB(LIB_LD, false, HOTPATCH_LIB_LD, ld_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:99:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 99 | LD_PROCMAPS_FIND_LIB(LIB_LD, false, HOTPATCH_LIB_LD, ld_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:99:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 99 | LD_PROCMAPS_FIND_LIB(LIB_LD, false, HOTPATCH_LIB_LD, ld_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:101:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 101 | LD_PROCMAPS_FIND_LIB(LIB_C, false, HOTPATCH_LIB_C, c_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:101:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 101 | LD_PROCMAPS_FIND_LIB(LIB_C, false, HOTPATCH_LIB_C, c_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:101:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 101 | LD_PROCMAPS_FIND_LIB(LIB_C, false, HOTPATCH_LIB_C, c_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:102:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 102 | LD_PROCMAPS_FIND_LIB(LIB_DL, false, HOTPATCH_LIB_DL, dl_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:102:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 102 | LD_PROCMAPS_FIND_LIB(LIB_DL, false, HOTPATCH_LIB_DL, dl_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:102:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 102 | LD_PROCMAPS_FIND_LIB(LIB_DL, false, HOTPATCH_LIB_DL, dl_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:103:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 103 | LD_PROCMAPS_FIND_LIB(LIB_PTHREAD, false, HOTPATCH_LIB_PTHREAD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:103:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 103 | LD_PROCMAPS_FIND_LIB(LIB_PTHREAD, false, HOTPATCH_LIB_PTHREAD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:103:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 103 | LD_PROCMAPS_FIND_LIB(LIB_PTHREAD, false, HOTPATCH_LIB_PTHREAD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:106:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 106 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:106:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 106 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:107:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 107 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:107:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 107 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:108:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 108 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:108:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 108 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:111:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 111 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:111:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 111 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:112:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 112 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:112:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 112 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:113:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 113 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:113:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 113 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:118:41: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 118 | " unavailable. Cannot proceed.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:122:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 122 | LD_LIB_FIND_FN_ADDR("dlopen", hp->fn_dlopen, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:122:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 122 | LD_LIB_FIND_FN_ADDR("dlopen", hp->fn_dlopen, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:123:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 123 | LD_LIB_FIND_FN_ADDR("dlclose", hp->fn_dlclose, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:123:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 123 | LD_LIB_FIND_FN_ADDR("dlclose", hp->fn_dlclose, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:124:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 124 | LD_LIB_FIND_FN_ADDR("dlsym", hp->fn_dlsym, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:124:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 124 | LD_LIB_FIND_FN_ADDR("dlsym", hp->fn_dlsym, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:126:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 126 | LD_LIB_FIND_FN_ADDR("__libc_dlopen_mode", hp->fn_dlopen, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:126:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 126 | LD_LIB_FIND_FN_ADDR("__libc_dlopen_mode", hp->fn_dlopen, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:127:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 127 | LD_LIB_FIND_FN_ADDR("__libc_dlclose", hp->fn_dlclose, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:127:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 127 | LD_LIB_FIND_FN_ADDR("__libc_dlclose", hp->fn_dlclose, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:128:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 128 | LD_LIB_FIND_FN_ADDR("__libc_dlsym", hp->fn_dlsym, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:128:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 128 | LD_LIB_FIND_FN_ADDR("__libc_dlsym", hp->fn_dlsym, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:133:35: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 133 | " found. Cannot proceed.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:137:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 137 | LD_LIB_FIND_FN_ADDR("pthread_create", hp->fn_pthread_create, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:137:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 137 | LD_LIB_FIND_FN_ADDR("pthread_create", hp->fn_pthread_create, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:139:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 139 | LD_LIB_FIND_FN_ADDR("pthread_detach", hp->fn_pthread_detach, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:139:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 139 | LD_LIB_FIND_FN_ADDR("pthread_detach", hp->fn_pthread_detach, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:147:19: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 147 | " magic.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:150:40: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 150 | " pthread usage in injection.\n", __func__, __LINE__); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_create’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:40:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 40 | fprintf(stderr, "[%s:%d] Invalid PID: %d\n", __func__, __LINE__, A); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:172:4: note: in expansion of macro ‘LOG_ERROR_INVALID_PID’ 172 | LOG_ERROR_INVALID_PID(pid); | ^~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:178:61: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 178 | fprintf(stderr, "[%s:%d] Exe symlink for pid %d : %s\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:182:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 182 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:197:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 197 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:203:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 203 | __func__, __LINE__); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:79:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 79 | fprintf(stderr, "[%s:%d] Exe headers loaded.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:207:3: note: in expansion of macro ‘LOG_INFO_HEADERS_LOADED’ 207 | LOG_INFO_HEADERS_LOADED(verbose); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:211:26: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 211 | "/proc/%d/maps.\n", __func__, __LINE__, pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:217:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 217 | __func__, __LINE__, pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:224:36: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 224 | " needed. Cannot proceed.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_read_symbol’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:277:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 277 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:285:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 285 | __func__, __LINE__, symbol, idx); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:295:61: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 295 | fprintf(stderr, "[%s:%d] Symbol %s has address 0x"LX"\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_attach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:321:60: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 321 | fprintf(stderr, "[%s:%d] Trying to attach to PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:326:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 326 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:330:57: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 330 | fprintf(stderr, "[%s:%d] Waiting for the child.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:335:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 335 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:339:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 339 | __func__, __LINE__, hp->pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:344:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 344 | __func__, __LINE__, hp->pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_detach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:357:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 357 | fprintf(stderr, "[%s:%d] Detaching from PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:362:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 362 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:366:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 366 | fprintf(stderr, "[%s:%d] Detached from PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_attach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:381:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 381 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_detach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:393:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 393 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_exec’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:405:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 405 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_wait’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:417:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 417 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:422:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 422 | __func__, __LINE__, pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_get_regs’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:437:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 437 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_set_regs’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:451:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 451 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_copydata’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:468:46: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 468 | fprintf(stderr, "[%s:%d] Pokedata: %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:475:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 475 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_peekdata’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:490:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 490 | fprintf(stderr, "[%s:%d] Peekdata: %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:495:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 495 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:501:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 501 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_pokedata’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:510:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 510 | fprintf(stderr, "[%s:%d] Pokedata: %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:515:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 515 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_set_execution_pointer’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:545:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 545 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:548:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 548 | fprintf(stderr, "[%s:%d] %s is %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:557:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 557 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:561:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 561 | __func__, __LINE__, HP_REG_IP_STR, ptr); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:568:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 568 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:572:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 572 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_inject_library’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:589:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 589 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:593:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 593 | fprintf(stderr, "[%s:%d] No malloc/dlopen found.\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:608:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 608 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:620:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 620 | __func__, __LINE__, tgtsz); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:696:53: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 696 | fprintf(stderr, "[%s:%d] Attaching to PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:701:44: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 701 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:706:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 706 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:712:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 712 | fprintf(stderr, "[%s:%d] Copying stack out.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:721:3: note: in expansion of macro ‘HP_NULLIFYSTACK’ 721 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:728:63: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 728 | fprintf(stderr, "[%s:%d] Copying "LU" bytes to 0x"LX".\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:735:3: note: in expansion of macro ‘HP_NULLIFYSTACK’ 735 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:741:54: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 741 | fprintf(stderr, "[%s:%d] Dll opened at 0x"LX"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:747:4: note: in expansion of macro ‘HP_NULLIFYSTACK’ 747 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:755:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 755 | __func__, __LINE__, symbol, result); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:757:5: note: in expansion of macro ‘HP_NULLIFYSTACK’ 757 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:769:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 769 | __func__, __LINE__, symbol, (void *)result); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:776:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 776 | __func__, __LINE__, symbol); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:783:19: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 783 | "found.\n", __func__, __LINE__, symbol); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:786:32: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 786 | " have been invoked.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:793:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 793 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:795:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 795 | fprintf(stderr, "[%s:%d] PID %d will be unstable.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:801:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 801 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:810:46: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 810 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:816:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 816 | fprintf(stderr, "[%s:%d] Detaching from PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:820:62: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 820 | fprintf(stderr, "[%s:%d] Error detaching from PID %d\n", __func__, | ^~~~~~~~ [ 9%] Building C object src/CMakeFiles/hotpatch_s.dir/exedetails.c.o In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_open_filename’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:53:62: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 53 | fprintf(stderr, "[%s:%d] File(%s) open error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:99:3: note: in expansion of macro ‘LOG_ERROR_FILE_OPEN’ 99 | LOG_ERROR_FILE_OPEN(filename); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:101:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 101 | fprintf(stderr, "[%s:%d] Exe file descriptor: %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_elf_identify’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:119:54: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 119 | fprintf(stderr, "[%s:%d] File is 32-bit ELF\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:125:54: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 125 | fprintf(stderr, "[%s:%d] File is 64-bit ELF\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:133:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 133 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:145:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 145 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:151:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 151 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:158:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 158 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:165:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 165 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:168:48: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 168 | fprintf(stderr, "[%s:%d] ELFOSABI: %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:174:53: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 174 | fprintf(stderr, "[%s:%d] OS ABI is Linux.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:182:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 182 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:187:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 187 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_symbol_table’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:200:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 200 | fprintf(stderr, "[%s:%d] Retrieving symbol table.\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:203:4: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 203 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:209:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 209 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:213:4: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 213 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:221:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 221 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:225:5: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 225 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:230:5: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 230 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:241:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 241 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:256:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 256 | __func__, __LINE__, idx, name, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:261:7: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 261 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:197:9: warning: variable ‘strsymtbl_size’ set but not used [-Wunused-but-set-variable] 197 | size_t strsymtbl_size = 0; | ^~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_section_headers’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:293:60: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 293 | fprintf(stderr, "[%s:%d] Retrieving section headers.\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:297:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 297 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:303:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 303 | __func__, __LINE__, (size_t)ei->sechdr_offset); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:305:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 305 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:309:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 309 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:315:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 315 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:320:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 320 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:325:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 325 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:329:57: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 329 | fprintf(stderr, "[%s:%d] Number of sections: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:336:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 336 | __func__, __LINE__, name, (void *)sechdrs[idx].sh_offset, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:340:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 340 | __func__, __LINE__, "N/A", (void *)sechdrs[idx].sh_offset, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:350:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 350 | __func__, __LINE__, sechdrs[idx].sh_offset, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:359:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 359 | __func__, __LINE__, name); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:363:20: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 363 | "table.\n", __func__, __LINE__); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_program_headers’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:384:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 384 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:389:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 389 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:393:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 393 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:397:57: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 397 | fprintf(stderr, "[%s:%d] Number of segments: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:406:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 406 | __func__, __LINE__, idx, proghdrs[idx].p_type, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:413:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 413 | fprintf(stderr, "[%s:%d] PT_INTERP section found\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:418:5: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 418 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:428:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 428 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:433:5: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 433 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:441:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 441 | __func__, __LINE__, ei->interp.name, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:445:59: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 445 | fprintf(stderr, "[%s:%d] PT_DYNAMIC section found\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:449:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 449 | fprintf(stderr, "[%s:%d] PT_LOAD section found\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_headers’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:466:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 466 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:470:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 470 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:474:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 474 | fprintf(stderr, "[%s:%d] Reading Elf header.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:479:50: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 479 | fprintf(stderr, "[%s:%d] 64-bit valid exe\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:483:50: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 483 | fprintf(stderr, "[%s:%d] 32-bit valid exe\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:490:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 490 | fprintf(stderr, "[%s:%d] Entry point %p\n", __func__, __LINE__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:75:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 75 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:494:3: note: in expansion of macro ‘LOG_ERROR_UNSUPPORTED_PROCESSOR’ 494 | LOG_ERROR_UNSUPPORTED_PROCESSOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:510:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 510 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:515:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 515 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_symbols’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:539:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 539 | __func__, __LINE__, filename); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:543:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 543 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:577:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 577 | __func__, __LINE__); | ^~~~~~~~ [ 13%] Building C object src/CMakeFiles/hotpatch_s.dir/loader.c.o /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_procmaps_dump’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:72:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 72 | fprintf(stderr, "[%s:%d] Pathname: %s\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:75:28: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 75 | " %d Offset: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:79:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 79 | __func__, __LINE__, pm->device_major, pm->device_minor); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:80:46: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 80 | fprintf(stderr, "[%s:%d] Inode: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:84:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:91:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 91 | fprintf(stderr, "[%s:%d] Pathname length: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:93:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 93 | fprintf(stderr, "[%s:%d] Filetype: %d\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_procmaps_parse’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:102:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 102 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:120:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 120 | __func__, __LINE__, strerror(err), token); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:131:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 131 | __func__, __LINE__, strerror(err), token); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:157:64: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 157 | fprintf(stderr, "[%s:%d] Unknown flag: %c\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:170:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 170 | __func__, __LINE__, strerror(err), token); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:186:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 186 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:213:18: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 213 | " %s\n", __func__, __LINE__, pm->pathname, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:230:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 230 | __func__, __LINE__, pm->pathname); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_load_maps’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:40:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 40 | fprintf(stderr, "[%s:%d] Invalid PID: %d\n", __func__, __LINE__, A); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:252:3: note: in expansion of macro ‘LOG_ERROR_INVALID_PID’ 252 | LOG_ERROR_INVALID_PID(pid); | ^~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:258:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 258 | fprintf(stderr, "[%s:%d] Using Proc Maps from %s\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:260:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 260 | fprintf(stderr, "[%s:%d] Using Proc Exe from %s\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:266:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 266 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:53:62: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 53 | fprintf(stderr, "[%s:%d] File(%s) open error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:271:4: note: in expansion of macro ‘LOG_ERROR_FILE_OPEN’ 271 | LOG_ERROR_FILE_OPEN(filename); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:278:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 278 | __func__, __LINE__, mapmax); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:282:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 282 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:288:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 288 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:294:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 294 | fprintf(stderr, "[%s:%d] Parsing %s\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:299:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 299 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:312:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 312 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_find_library’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:341:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 341 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:357:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 357 | __func__, __LINE__, libpath, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:364:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 364 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:369:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 369 | __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:373:25: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 373 | "match search\n", __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:376:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 376 | __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:437:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 437 | __func__, __LINE__, idx); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:440:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 440 | __func__, __LINE__, pm->pathname, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:447:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 447 | __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:459:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 459 | __func__, __LINE__, lib->pathname); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:465:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 465 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_find_address’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:489:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 489 | __func__, __LINE__, syms_num, lib->pathname); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:495:44: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 495 | ""LU" with address offset "LX"\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:515:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 515 | __func__, __LINE__, lib->pathname); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:519:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 519 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_procmaps_parse’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:234:13: warning: argument 1 null where non-null expected [-Wnonnull] 234 | memcpy(pm->pathname, token, strlen(token)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:61, from /build/hotpatch-git/src/hotpatch-git/src/loader.c:31: /usr/include/string.h:385:15: note: in a call to function ‘strlen’ declared here 385 | extern size_t strlen (const char *__s) | ^~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:234:13: warning: argument 2 null where non-null expected [-Wnonnull] 234 | memcpy(pm->pathname, token, strlen(token)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:61, from /build/hotpatch-git/src/hotpatch-git/src/loader.c:31: /usr/include/string.h:43:14: note: in a call to function ‘memcpy’ declared here 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ [ 18%] Linking C static library libhotpatch.a make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 18%] Built target hotpatch_s make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target hotpatcher make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 22%] Building C object src/CMakeFiles/hotpatcher.dir/main.c.o /build/hotpatch-git/src/hotpatch-git/src/main.c: In function ‘parse_arguments’: /build/hotpatch-git/src/hotpatch-git/src/main.c:99:40: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 99 | printf("[%s:%d] Out of memory\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/main.c:115:40: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 115 | printf("[%s:%d] Out of memory\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/main.c:125:40: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 125 | printf("[%s:%d] Out of memory\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/main.c: In function ‘main’: /build/hotpatch-git/src/hotpatch-git/src/main.c:174:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 174 | __func__, __LINE__, opts.pid); | ^~~~~~~~ [ 27%] Linking C executable hotpatcher make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 27%] Built target hotpatcher make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target hotpatch make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 31%] Building C object src/CMakeFiles/hotpatch.dir/hotpatch.c.o /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_gather_functions’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:92:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 92 | LD_PROCMAPS_FIND_LIB(hp->exe_interp.name, true, HOTPATCH_LIB_LD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:92:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 92 | LD_PROCMAPS_FIND_LIB(hp->exe_interp.name, true, HOTPATCH_LIB_LD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:92:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 92 | LD_PROCMAPS_FIND_LIB(hp->exe_interp.name, true, HOTPATCH_LIB_LD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:98:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 98 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:99:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 99 | LD_PROCMAPS_FIND_LIB(LIB_LD, false, HOTPATCH_LIB_LD, ld_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:99:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 99 | LD_PROCMAPS_FIND_LIB(LIB_LD, false, HOTPATCH_LIB_LD, ld_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:99:3: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 99 | LD_PROCMAPS_FIND_LIB(LIB_LD, false, HOTPATCH_LIB_LD, ld_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:101:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 101 | LD_PROCMAPS_FIND_LIB(LIB_C, false, HOTPATCH_LIB_C, c_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:101:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 101 | LD_PROCMAPS_FIND_LIB(LIB_C, false, HOTPATCH_LIB_C, c_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:101:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 101 | LD_PROCMAPS_FIND_LIB(LIB_C, false, HOTPATCH_LIB_C, c_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:102:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 102 | LD_PROCMAPS_FIND_LIB(LIB_DL, false, HOTPATCH_LIB_DL, dl_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:102:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 102 | LD_PROCMAPS_FIND_LIB(LIB_DL, false, HOTPATCH_LIB_DL, dl_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:102:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 102 | LD_PROCMAPS_FIND_LIB(LIB_DL, false, HOTPATCH_LIB_DL, dl_found); | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:62:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 62 | __func__, __LINE__, name);\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:103:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 103 | LD_PROCMAPS_FIND_LIB(LIB_PTHREAD, false, HOTPATCH_LIB_PTHREAD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:67:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:103:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 103 | LD_PROCMAPS_FIND_LIB(LIB_PTHREAD, false, HOTPATCH_LIB_PTHREAD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:73:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 73 | __func__, __LINE__, name); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:103:2: note: in expansion of macro ‘LD_PROCMAPS_FIND_LIB’ 103 | LD_PROCMAPS_FIND_LIB(LIB_PTHREAD, false, HOTPATCH_LIB_PTHREAD, | ^~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:106:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 106 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:106:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 106 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:107:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 107 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:107:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 107 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:108:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 108 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:108:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 108 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:111:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 111 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:111:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 111 | LD_LIB_FIND_FN_ADDR("malloc", hp->fn_malloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:112:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 112 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:112:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 112 | LD_LIB_FIND_FN_ADDR("realloc", hp->fn_realloc, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:113:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 113 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:113:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 113 | LD_LIB_FIND_FN_ADDR("free", hp->fn_free, LIB_LD); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:118:41: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 118 | " unavailable. Cannot proceed.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:122:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 122 | LD_LIB_FIND_FN_ADDR("dlopen", hp->fn_dlopen, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:122:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 122 | LD_LIB_FIND_FN_ADDR("dlopen", hp->fn_dlopen, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:123:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 123 | LD_LIB_FIND_FN_ADDR("dlclose", hp->fn_dlclose, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:123:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 123 | LD_LIB_FIND_FN_ADDR("dlclose", hp->fn_dlclose, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:124:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 124 | LD_LIB_FIND_FN_ADDR("dlsym", hp->fn_dlsym, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:124:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 124 | LD_LIB_FIND_FN_ADDR("dlsym", hp->fn_dlsym, LIB_DL); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:126:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 126 | LD_LIB_FIND_FN_ADDR("__libc_dlopen_mode", hp->fn_dlopen, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:126:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 126 | LD_LIB_FIND_FN_ADDR("__libc_dlopen_mode", hp->fn_dlopen, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:127:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 127 | LD_LIB_FIND_FN_ADDR("__libc_dlclose", hp->fn_dlclose, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:127:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 127 | LD_LIB_FIND_FN_ADDR("__libc_dlclose", hp->fn_dlclose, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:128:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 128 | LD_LIB_FIND_FN_ADDR("__libc_dlsym", hp->fn_dlsym, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:128:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 128 | LD_LIB_FIND_FN_ADDR("__libc_dlsym", hp->fn_dlsym, LIB_C); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:133:35: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 133 | " found. Cannot proceed.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:137:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 137 | LD_LIB_FIND_FN_ADDR("pthread_create", hp->fn_pthread_create, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:137:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 137 | LD_LIB_FIND_FN_ADDR("pthread_create", hp->fn_pthread_create, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:84:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, fn, outfn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:139:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 139 | LD_LIB_FIND_FN_ADDR("pthread_detach", hp->fn_pthread_detach, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:88:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 88 | __func__, __LINE__, fn, index); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:139:3: note: in expansion of macro ‘LD_LIB_FIND_FN_ADDR’ 139 | LD_LIB_FIND_FN_ADDR("pthread_detach", hp->fn_pthread_detach, | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:147:19: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 147 | " magic.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:150:40: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 150 | " pthread usage in injection.\n", __func__, __LINE__); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_create’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:40:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 40 | fprintf(stderr, "[%s:%d] Invalid PID: %d\n", __func__, __LINE__, A); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:172:4: note: in expansion of macro ‘LOG_ERROR_INVALID_PID’ 172 | LOG_ERROR_INVALID_PID(pid); | ^~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:178:61: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 178 | fprintf(stderr, "[%s:%d] Exe symlink for pid %d : %s\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:182:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 182 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:197:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 197 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:203:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 203 | __func__, __LINE__); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:79:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 79 | fprintf(stderr, "[%s:%d] Exe headers loaded.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:207:3: note: in expansion of macro ‘LOG_INFO_HEADERS_LOADED’ 207 | LOG_INFO_HEADERS_LOADED(verbose); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:211:26: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 211 | "/proc/%d/maps.\n", __func__, __LINE__, pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:217:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 217 | __func__, __LINE__, pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:224:36: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 224 | " needed. Cannot proceed.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_read_symbol’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:277:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 277 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:285:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 285 | __func__, __LINE__, symbol, idx); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:295:61: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 295 | fprintf(stderr, "[%s:%d] Symbol %s has address 0x"LX"\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_attach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:321:60: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 321 | fprintf(stderr, "[%s:%d] Trying to attach to PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:326:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 326 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:330:57: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 330 | fprintf(stderr, "[%s:%d] Waiting for the child.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:335:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 335 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:339:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 339 | __func__, __LINE__, hp->pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:344:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 344 | __func__, __LINE__, hp->pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_detach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:357:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 357 | fprintf(stderr, "[%s:%d] Detaching from PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:362:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 362 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:366:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 366 | fprintf(stderr, "[%s:%d] Detached from PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_attach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:381:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 381 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_detach’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:393:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 393 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_exec’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:405:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 405 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_wait’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:417:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 417 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:422:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 422 | __func__, __LINE__, pid); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_get_regs’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:437:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 437 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_set_regs’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:451:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 451 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_copydata’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:468:46: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 468 | fprintf(stderr, "[%s:%d] Pokedata: %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:475:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 475 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_peekdata’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:490:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 490 | fprintf(stderr, "[%s:%d] Peekdata: %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:495:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 495 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:501:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 501 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hp_pokedata’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:510:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 510 | fprintf(stderr, "[%s:%d] Pokedata: %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:515:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 515 | __func__, __LINE__, pid, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_set_execution_pointer’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:545:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 545 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:548:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 548 | fprintf(stderr, "[%s:%d] %s is %p\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:557:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 557 | __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:561:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 561 | __func__, __LINE__, HP_REG_IP_STR, ptr); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:568:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 568 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:572:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 572 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c: In function ‘hotpatch_inject_library’: /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:589:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 589 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:593:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 593 | fprintf(stderr, "[%s:%d] No malloc/dlopen found.\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:608:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 608 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:620:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 620 | __func__, __LINE__, tgtsz); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:696:53: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 696 | fprintf(stderr, "[%s:%d] Attaching to PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:701:44: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 701 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:706:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 706 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:712:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 712 | fprintf(stderr, "[%s:%d] Copying stack out.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:721:3: note: in expansion of macro ‘HP_NULLIFYSTACK’ 721 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:723:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 723 | HP_SETEXECWAITGET("malloc"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:728:63: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 728 | fprintf(stderr, "[%s:%d] Copying "LU" bytes to 0x"LX".\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:735:3: note: in expansion of macro ‘HP_NULLIFYSTACK’ 735 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:738:3: note: in expansion of macro ‘HP_SETEXECWAITGET’ 738 | HP_SETEXECWAITGET("dlopen"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:741:54: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 741 | fprintf(stderr, "[%s:%d] Dll opened at 0x"LX"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:747:4: note: in expansion of macro ‘HP_NULLIFYSTACK’ 747 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:751:4: note: in expansion of macro ‘HP_SETEXECWAITGET’ 751 | HP_SETEXECWAITGET("dlsym"); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:755:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 755 | __func__, __LINE__, symbol, result); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:639:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 639 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:757:5: note: in expansion of macro ‘HP_NULLIFYSTACK’ 757 | HP_NULLIFYSTACK(); | ^~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:648:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 648 | __func__, __LINE__, fn); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:652:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 652 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:656:43: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 656 | fprintf(stderr, "[%s:%d] Waiting...\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:660:51: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 660 | fprintf(stderr, "[%s:%d] Getting registers.\n", __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:765:5: note: in expansion of macro ‘HP_SETEXECWAITGET’ 765 | HP_SETEXECWAITGET(symbol); | ^~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:769:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 769 | __func__, __LINE__, symbol, (void *)result); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:776:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 776 | __func__, __LINE__, symbol); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:783:19: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 783 | "found.\n", __func__, __LINE__, symbol); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:786:32: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 786 | " have been invoked.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:793:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 793 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:795:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 795 | fprintf(stderr, "[%s:%d] PID %d will be unstable.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:801:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 801 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:810:46: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 810 | fprintf(stderr, "[%s:%d] Executing...\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:816:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 816 | fprintf(stderr, "[%s:%d] Detaching from PID %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/hotpatch.c:820:62: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 820 | fprintf(stderr, "[%s:%d] Error detaching from PID %d\n", __func__, | ^~~~~~~~ [ 36%] Building C object src/CMakeFiles/hotpatch.dir/exedetails.c.o In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_open_filename’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:53:62: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 53 | fprintf(stderr, "[%s:%d] File(%s) open error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:99:3: note: in expansion of macro ‘LOG_ERROR_FILE_OPEN’ 99 | LOG_ERROR_FILE_OPEN(filename); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:101:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 101 | fprintf(stderr, "[%s:%d] Exe file descriptor: %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_elf_identify’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:119:54: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 119 | fprintf(stderr, "[%s:%d] File is 32-bit ELF\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:125:54: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 125 | fprintf(stderr, "[%s:%d] File is 64-bit ELF\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:133:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 133 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:145:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 145 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:151:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 151 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:158:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 158 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:165:9: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 165 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:168:48: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 168 | fprintf(stderr, "[%s:%d] ELFOSABI: %d\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:174:53: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 174 | fprintf(stderr, "[%s:%d] OS ABI is Linux.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:182:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 182 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:187:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 187 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_symbol_table’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:200:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 200 | fprintf(stderr, "[%s:%d] Retrieving symbol table.\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:203:4: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 203 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:209:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 209 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:213:4: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 213 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:221:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 221 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:225:5: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 225 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:230:5: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 230 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:241:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 241 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:256:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 256 | __func__, __LINE__, idx, name, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:261:7: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 261 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:197:9: warning: variable ‘strsymtbl_size’ set but not used [-Wunused-but-set-variable] 197 | size_t strsymtbl_size = 0; | ^~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_section_headers’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:293:60: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 293 | fprintf(stderr, "[%s:%d] Retrieving section headers.\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:297:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 297 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:303:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 303 | __func__, __LINE__, (size_t)ei->sechdr_offset); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:305:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 305 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:309:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 309 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:315:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 315 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:320:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 320 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:325:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 325 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:329:57: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 329 | fprintf(stderr, "[%s:%d] Number of sections: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:336:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 336 | __func__, __LINE__, name, (void *)sechdrs[idx].sh_offset, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:340:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 340 | __func__, __LINE__, "N/A", (void *)sechdrs[idx].sh_offset, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:350:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 350 | __func__, __LINE__, sechdrs[idx].sh_offset, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:359:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 359 | __func__, __LINE__, name); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:363:20: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 363 | "table.\n", __func__, __LINE__); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_program_headers’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:384:3: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 384 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:389:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 389 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:393:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 393 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:397:57: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 397 | fprintf(stderr, "[%s:%d] Number of segments: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:406:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 406 | __func__, __LINE__, idx, proghdrs[idx].p_type, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:413:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 413 | fprintf(stderr, "[%s:%d] PT_INTERP section found\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:418:5: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 418 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:428:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 428 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:433:5: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 433 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:441:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 441 | __func__, __LINE__, ei->interp.name, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:445:59: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 445 | fprintf(stderr, "[%s:%d] PT_DYNAMIC section found\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:449:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 449 | fprintf(stderr, "[%s:%d] PT_LOAD section found\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_headers’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:60:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 60 | fprintf(stderr, "[%s:%d] File seek error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:466:3: note: in expansion of macro ‘LOG_ERROR_FILE_SEEK’ 466 | LOG_ERROR_FILE_SEEK; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:67:58: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 67 | fprintf(stderr, "[%s:%d] File read error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:470:3: note: in expansion of macro ‘LOG_ERROR_FILE_READ’ 470 | LOG_ERROR_FILE_READ; | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:474:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 474 | fprintf(stderr, "[%s:%d] Reading Elf header.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:479:50: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 479 | fprintf(stderr, "[%s:%d] 64-bit valid exe\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:483:50: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 483 | fprintf(stderr, "[%s:%d] 32-bit valid exe\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:490:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 490 | fprintf(stderr, "[%s:%d] Entry point %p\n", __func__, __LINE__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:75:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 75 | __func__, __LINE__); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:494:3: note: in expansion of macro ‘LOG_ERROR_UNSUPPORTED_PROCESSOR’ 494 | LOG_ERROR_UNSUPPORTED_PROCESSOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:510:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 510 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:515:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 515 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c: In function ‘exe_load_symbols’: /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:539:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 539 | __func__, __LINE__, filename); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:543:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 543 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/exedetails.c:577:5: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 577 | __func__, __LINE__); | ^~~~~~~~ [ 40%] Building C object src/CMakeFiles/hotpatch.dir/loader.c.o /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_procmaps_dump’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:72:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 72 | fprintf(stderr, "[%s:%d] Pathname: %s\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:75:28: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 75 | " %d Offset: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:79:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 79 | __func__, __LINE__, pm->device_major, pm->device_minor); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:80:46: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 80 | fprintf(stderr, "[%s:%d] Inode: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:84:4: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 84 | __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:91:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 91 | fprintf(stderr, "[%s:%d] Pathname length: "LU"\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:93:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 93 | fprintf(stderr, "[%s:%d] Filetype: %d\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_procmaps_parse’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:102:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 102 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:120:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 120 | __func__, __LINE__, strerror(err), token); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:131:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 131 | __func__, __LINE__, strerror(err), token); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:157:64: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 157 | fprintf(stderr, "[%s:%d] Unknown flag: %c\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:170:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 170 | __func__, __LINE__, strerror(err), token); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:186:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 186 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:213:18: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 213 | " %s\n", __func__, __LINE__, pm->pathname, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:230:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 230 | __func__, __LINE__, pm->pathname); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_load_maps’: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:40:47: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 40 | fprintf(stderr, "[%s:%d] Invalid PID: %d\n", __func__, __LINE__, A); \ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:252:3: note: in expansion of macro ‘LOG_ERROR_INVALID_PID’ 252 | LOG_ERROR_INVALID_PID(pid); | ^~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:258:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 258 | fprintf(stderr, "[%s:%d] Using Proc Maps from %s\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:260:55: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 260 | fprintf(stderr, "[%s:%d] Using Proc Exe from %s\n", __func__, | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:266:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 266 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:53:62: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 53 | fprintf(stderr, "[%s:%d] File(%s) open error. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:271:4: note: in expansion of macro ‘LOG_ERROR_FILE_OPEN’ 271 | LOG_ERROR_FILE_OPEN(filename); | ^~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:278:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 278 | __func__, __LINE__, mapmax); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:282:4: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 282 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:288:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 288 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:294:45: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 294 | fprintf(stderr, "[%s:%d] Parsing %s\n", __func__, __LINE__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:299:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 299 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:312:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 312 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_find_library’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:341:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 341 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:357:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 357 | __func__, __LINE__, libpath, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:364:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 364 | __func__, __LINE__); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:369:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 369 | __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:373:25: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 373 | "match search\n", __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:376:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 376 | __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:437:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 437 | __func__, __LINE__, idx); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:440:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 440 | __func__, __LINE__, pm->pathname, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:447:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 447 | __func__, __LINE__, libpath); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:459:8: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 459 | __func__, __LINE__, lib->pathname); | ^~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/src/loader.c:32: /build/hotpatch-git/src/hotpatch-git/include/hotpatch_internal.h:46:56: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 46 | fprintf(stderr, "[%s:%d] Out of memory. Error: %s\n", __func__, __LINE__,\ | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:465:5: note: in expansion of macro ‘LOG_ERROR_OUT_OF_MEMORY’ 465 | LOG_ERROR_OUT_OF_MEMORY; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_find_address’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:489:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 489 | __func__, __LINE__, syms_num, lib->pathname); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:495:44: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 495 | ""LU" with address offset "LX"\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:515:7: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 515 | __func__, __LINE__, lib->pathname); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:519:52: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 519 | fprintf(stderr, "[%s:%d] Invalid arguments.\n", __func__, | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c: In function ‘ld_procmaps_parse’: /build/hotpatch-git/src/hotpatch-git/src/loader.c:234:13: warning: argument 1 null where non-null expected [-Wnonnull] 234 | memcpy(pm->pathname, token, strlen(token)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:61, from /build/hotpatch-git/src/hotpatch-git/src/loader.c:31: /usr/include/string.h:385:15: note: in a call to function ‘strlen’ declared here 385 | extern size_t strlen (const char *__s) | ^~~~~~ /build/hotpatch-git/src/hotpatch-git/src/loader.c:234:13: warning: argument 2 null where non-null expected [-Wnonnull] 234 | memcpy(pm->pathname, token, strlen(token)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:61, from /build/hotpatch-git/src/hotpatch-git/src/loader.c:31: /usr/include/string.h:43:14: note: in a call to function ‘memcpy’ declared here 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~~ [ 45%] Linking C shared library libhotpatch.so make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 45%] Built target hotpatch make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target hotpatchtest make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 50%] Building C object test/CMakeFiles/hotpatchtest.dir/dlltest.c.o /build/hotpatch-git/src/hotpatch-git/test/dlltest.c: In function ‘_init’: /build/hotpatch-git/src/hotpatch-git/test/dlltest.c:51:13: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 51 | HP_DLLTEST(__func__, 0); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/test/dlltest.c:44:48: note: in definition of macro ‘HP_DLLTEST’ 44 | fprintf(ff, "Data: %s Len: "LU"\n", (char *)D, (size_t)L); \ | ^ [ 54%] Linking C shared library libhotpatchtest.so make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 54%] Built target hotpatchtest make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target compiletestcpp make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 59%] Building CXX object test/CMakeFiles/compiletestcpp.dir/cpptest.cpp.o cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [ 63%] Linking CXX executable compiletestcpp make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 63%] Built target compiletestcpp make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target ptracetest make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 68%] Building C object test/CMakeFiles/ptracetest.dir/ptrace.c.o /build/hotpatch-git/src/hotpatch-git/test/ptrace.c: In function ‘main’: /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:86:34: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 86 | printf("[%s:%d] Error: %s\n", __func__, __LINE__, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:116:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 116 | printf("TSize: "LU"\n", cldata->u_tsize); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long long unsigned int In file included from /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:31: /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:207:16: note: format string is defined here 207 | #define LU "%lu" | ~~^ | | | long unsigned int | %llu /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:117:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 117 | printf("DSize: "LU"\n", cldata->u_dsize); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long long unsigned int In file included from /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:31: /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:207:16: note: format string is defined here 207 | #define LU "%lu" | ~~^ | | | long unsigned int | %llu /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:118:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 118 | printf("SSize: "LU"\n", cldata->u_ssize); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long long unsigned int In file included from /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:31: /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:207:16: note: format string is defined here 207 | #define LU "%lu" | ~~^ | | | long unsigned int | %llu /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:121:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=] 121 | printf("Signal: "LU"\n", cldata->signal); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ | | | long long int In file included from /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:31: /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:207:16: note: format string is defined here 207 | #define LU "%lu" | ~~^ | | | long unsigned int | %llu /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:125:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] 125 | printf("MAGIC: "LU"\n", cldata->magic); | ^~~~~~~~~ ~~~~~~~~~~~~~ | | | long long unsigned int In file included from /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:31: /build/hotpatch-git/src/hotpatch-git/Release/include/hotpatch_config.h:207:16: note: format string is defined here 207 | #define LU "%lu" | ~~^ | | | long unsigned int | %llu /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:132:53: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 132 | printf("[%s:%d] Return value: "LU" Error: %s\n", __func__, __LINE__, retval, strerror(err)); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:138:44: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 138 | printf("[%s:%d] Return value: "LU". \n", __func__, __LINE__, retval); | ^~~~~~~~ /build/hotpatch-git/src/hotpatch-git/test/ptrace.c:142:24: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 142 | printf("[%s:%d] \n", __func__, __LINE__); | ^~~~~~~~ [ 72%] Linking C executable ptracetest make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 72%] Built target ptracetest make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target dummy make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 77%] Building C object test/CMakeFiles/dummy.dir/dummy.c.o /build/hotpatch-git/src/hotpatch-git/test/dummy.c: In function ‘myfun’: /build/hotpatch-git/src/hotpatch-git/test/dummy.c:23:6: warning: ISO C90 does not support ‘__func__’ predefined identifier [-Wpedantic] 23 | __func__, __LINE__); | ^~~~~~~~ [ 81%] Linking C executable dummy make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 81%] Built target dummy make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target compiletestc make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 86%] Building C object test/CMakeFiles/compiletestc.dir/ctest.c.o [ 90%] Linking C executable compiletestc make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 90%] Built target compiletestc make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' Scanning dependencies of target loadertest make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 95%] Building C object test/CMakeFiles/loadertest.dir/loader.c.o [100%] Linking C executable loadertest make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [100%] Built target loadertest make[2]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[1]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' Release Build complete ==> Entering fakeroot environment... ==> Starting package()... CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- Compiling for x86_64 64-bit -- Configuring done -- Generating done -- Build files have been written to: /build/hotpatch-git/src/hotpatch-git/Release make[1]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[2]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 18%] Built target hotpatch_s make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 27%] Built target hotpatcher make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 45%] Built target hotpatch make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 54%] Built target hotpatchtest make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 63%] Built target compiletestcpp make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 72%] Built target ptracetest make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 81%] Built target dummy make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 90%] Built target compiletestc make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [100%] Built target loadertest make[2]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' make[1]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' Release Build complete CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- Compiling for x86_64 64-bit -- Configuring done -- Generating done -- Build files have been written to: /build/hotpatch-git/src/hotpatch-git/Release make[1]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[2]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 18%] Built target hotpatch_s make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 27%] Built target hotpatcher make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 45%] Built target hotpatch make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 54%] Built target hotpatchtest make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 63%] Built target compiletestcpp make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 72%] Built target ptracetest make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 81%] Built target dummy make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [ 90%] Built target compiletestc make[3]: Entering directory '/build/hotpatch-git/src/hotpatch-git/Release' make[3]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' [100%] Built target loadertest make[2]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' Install the project... -- Install configuration: "Release" -- Installing: /build/hotpatch-git/pkg/hotpatch-git/usr/include/hotpatch.h -- Installing: /build/hotpatch-git/pkg/hotpatch-git/usr/lib/libhotpatch.so -- Installing: /build/hotpatch-git/pkg/hotpatch-git/usr/lib/libhotpatch.a -- Installing: /build/hotpatch-git/pkg/hotpatch-git/usr/bin/hotpatcher -- Installing: /build/hotpatch-git/pkg/hotpatch-git/usr/lib/libhotpatchtest.so make[1]: Leaving directory '/build/hotpatch-git/src/hotpatch-git/Release' Release installation complete ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "hotpatch-git"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: hotpatch-git 20200110.r90.fd2baf1-2 (Thu 27 Feb 2020 09:33:12 AM EST) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: gettext optionally requires git: for autopoint infrastructure updates Packages (10) cmake-3.16.4-1 git-2.25.1-1 jsoncpp-1.9.1-1 libnsl-1.2.0-2 libuv-1.34.2-1 perl-error-0.17029-1 perl-mailtools-2.21-2 perl-timedate-2.31-1 rhash-1.3.9-1 shared-mime-info-1.15-2 Total Removed Size: 80.07 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing git... removing perl-mailtools... removing perl-timedate... removing perl-error... removing cmake... removing shared-mime-info... removing rhash... removing libuv... removing libnsl... removing jsoncpp... :: Running post-transaction hooks... (1/2) Reloading system manager configuration... Skipped: Current root is not booted. (2/2) Arming ConditionNeedsUpdate...