Guest User

Untitled

a guest
Jan 30th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 283.30 KB | None | 0 0
  1. boincadm@BOINC:~/boinc$ ./_autosetup
  2. ./configure --enable-server --disable-client --disable-manager
  3. make
  4. Bootstrapping configure script and makefiles:
  5. Checking version of 'make' >= 379... succeeded. (403)
  6. Checking version of 'm4' >= 104... succeeded. (104)
  7. Checking version of 'pkg-config' >= 15... succeeded. (108)
  8. Checking version of 'autoreconf' >= 258... succeeded. (271)
  9. Checking version of 'automake' >= 108... succeeded. (116)
  10. Checking version of 'libtoolize' >= 105... succeeded. (204)
  11. autoreconf -i
  12. configure.ac:32: warning: The macro `AC_CHECK_PROGS' is obsolete.
  13. configure.ac:32: You should run autoupdate.
  14. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  15. ./lib/autoconf/programs.m4:350: AC_PROG_AWK is expanded from...
  16. aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from...
  17. configure.ac:32: the top level
  18. configure.ac:57: warning: The macro `AC_CHECK_PROGS' is obsolete.
  19. configure.ac:57: You should run autoupdate.
  20. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  21. ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
  22. ./lib/autoconf/c.m4:452: AC_PROG_CC is expanded from...
  23. configure.ac:57: the top level
  24. configure.ac:58: warning: The macro `AC_CHECK_PROGS' is obsolete.
  25. configure.ac:58: You should run autoupdate.
  26. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  27. ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
  28. ./lib/autoconf/c.m4:701: AC_PROG_CXX is expanded from...
  29. configure.ac:58: the top level
  30. configure.ac:62: warning: The macro `AC_CHECK_PROGS' is obsolete.
  31. configure.ac:62: You should run autoupdate.
  32. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  33. ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
  34. ./lib/autoconf/c.m4:1018: AC_PROG_OBJCXX is expanded from...
  35. configure.ac:62: the top level
  36. configure.ac:394: warning: The macro `AC_HELP_STRING' is obsolete.
  37. configure.ac:394: You should run autoupdate.
  38. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  39. m4/ax_winsock.m4:1: AX_WINSOCK is expanded from...
  40. m4/boinc_check_cygwin.m4:1: BOINC_CHECK_CYGWIN is expanded from...
  41. configure.ac:394: the top level
  42. configure.ac:411: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  43. configure.ac:411: You should run autoupdate.
  44. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
  45. configure.ac:411: the top level
  46. configure.ac:411: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
  47. configure.ac:411: put the 'dlopen' option into LT_INIT's first parameter.
  48. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
  49. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
  50. configure.ac:411: the top level
  51. configure.ac:412: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
  52. configure.ac:412: You should run autoupdate.
  53. m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
  54. configure.ac:412: the top level
  55. configure.ac:412: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
  56. configure.ac:412: put the 'win32-dll' option into LT_INIT's first parameter.
  57. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
  58. m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
  59. configure.ac:412: the top level
  60. configure.ac:413: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
  61. configure.ac:413: You should run autoupdate.
  62. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
  63. configure.ac:413: the top level
  64. configure.ac:413: warning: The macro `AC_CHECK_PROGS' is obsolete.
  65. configure.ac:413: You should run autoupdate.
  66. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  67. ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
  68. m4/libtool.m4:3690: LT_PATH_NM is expanded from...
  69. m4/libtool.m4:153: _LT_SETUP is expanded from...
  70. m4/libtool.m4:62: LT_INIT is expanded from...
  71. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
  72. configure.ac:413: the top level
  73. configure.ac:413: warning: The macro `AC_CHECK_PROGS' is obsolete.
  74. configure.ac:413: You should run autoupdate.
  75. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  76. ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
  77. m4/libtool.m4:1490: _LT_PROG_AR is expanded from...
  78. m4/libtool.m4:1540: _LT_CMD_OLD_ARCHIVE is expanded from...
  79. m4/libtool.m4:153: _LT_SETUP is expanded from...
  80. m4/libtool.m4:62: LT_INIT is expanded from...
  81. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
  82. configure.ac:413: the top level
  83. configure.ac:419: warning: The macro `AC_HELP_STRING' is obsolete.
  84. configure.ac:419: You should run autoupdate.
  85. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  86. m4/sah_select_bitness.m4:97: SAH_OPTION_BITNESS is expanded from...
  87. configure.ac:419: the top level
  88. configure.ac:422: warning: The macro `AC_HELP_STRING' is obsolete.
  89. configure.ac:422: You should run autoupdate.
  90. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  91. m4/boinc_platform.m4:1: BOINC_PLATFORM is expanded from...
  92. configure.ac:422: the top level
  93. configure.ac:492: warning: The macro `AC_HELP_STRING' is obsolete.
  94. configure.ac:492: You should run autoupdate.
  95. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  96. m4/check_ssl.m4:1: CHECK_SSL is expanded from...
  97. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  98. configure.ac:492: the top level
  99. configure.ac:492: warning: The macro `AC_HELP_STRING' is obsolete.
  100. configure.ac:492: You should run autoupdate.
  101. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  102. m4/boinc_check_lib_with.m4:1: BOINC_CHECK_LIB_WITH is expanded from...
  103. m4/check_ssl.m4:1: CHECK_SSL is expanded from...
  104. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  105. configure.ac:492: the top level
  106. configure.ac:498: warning: The macro `AC_HELP_STRING' is obsolete.
  107. configure.ac:498: You should run autoupdate.
  108. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  109. m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
  110. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  111. configure.ac:498: the top level
  112. configure.ac:498: warning: The macro `AC_CHECK_PROGS' is obsolete.
  113. configure.ac:498: You should run autoupdate.
  114. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  115. ./lib/autoconf/programs.m4:350: AC_PROG_AWK is expanded from...
  116. m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
  117. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  118. configure.ac:498: the top level
  119. configure.ac:498: warning: The macro `AC_HELP_STRING' is obsolete.
  120. configure.ac:498: You should run autoupdate.
  121. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  122. m4/boinc_check_lib_with.m4:1: BOINC_CHECK_LIB_WITH is expanded from...
  123. m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
  124. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  125. configure.ac:498: the top level
  126. configure.ac:583: warning: The macro `AC_CHECK_PROGS' is obsolete.
  127. configure.ac:583: You should run autoupdate.
  128. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  129. lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
  130. lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
  131. m4/ax_pthread.m4:126: AX_PTHREAD is expanded from...
  132. configure.ac:583: the top level
  133. configure.ac:619: warning: The macro `ACX_PTHREAD' is obsolete.
  134. configure.ac:619: You should run autoupdate.
  135. m4/ax_pthread.m4:125: ACX_PTHREAD is expanded from...
  136. m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
  137. configure.ac:619: the top level
  138. configure.ac:619: warning: The macro `AC_CHECK_PROGS' is obsolete.
  139. configure.ac:619: You should run autoupdate.
  140. m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
  141. lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
  142. lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
  143. m4/ax_pthread.m4:126: AX_PTHREAD is expanded from...
  144. m4/ax_pthread.m4:125: ACX_PTHREAD is expanded from...
  145. m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
  146. configure.ac:619: the top level
  147. configure.ac:619: warning: The macro `AC_HELP_STRING' is obsolete.
  148. configure.ac:619: You should run autoupdate.
  149. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
  150. ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
  151. m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
  152. configure.ac:619: the top level
  153. configure.ac:726: warning: The macro `AC_HEADER_STDC' is obsolete.
  154. configure.ac:726: You should run autoupdate.
  155. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
  156. configure.ac:726: the top level
  157. configure.ac:728: warning: The macro `AC_HEADER_TIME' is obsolete.
  158. configure.ac:728: You should run autoupdate.
  159. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
  160. configure.ac:728: the top level
  161. configure.ac:729: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
  162. configure.ac:729: You should run autoupdate.
  163. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
  164. configure.ac:729: the top level
  165. configure.ac:998: warning: AC_CHECK_HEADERS($sah_stdcxx_headers): you should use literals
  166. ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
  167. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  168. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  169. ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
  170. ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
  171. m4/sah_header_stdcxx.m4:23: SAH_HEADER_STDCXX is expanded from...
  172. configure.ac:998: the top level
  173. api/Makefile.am:22: warning: source file '$(top_srcdir)/samples/image_libs/bmplib.cpp' is in a subdirectory,
  174. api/Makefile.am:22: but option 'subdir-objects' is disabled
  175. automake: warning: possible forward-incompatibility.
  176. automake: At least one source file is in a subdirectory, but the 'subdir-objects'
  177. automake: automake option hasn't been enabled. For now, the corresponding output
  178. automake: object file(s) will be placed in the top-level directory. However, this
  179. automake: behavior may change in a future Automake major version, with object
  180. automake: files being placed in the same subdirectory as the corresponding sources.
  181. automake: You are advised to start using 'subdir-objects' option throughout your
  182. automake: project, to avoid future incompatibilities.
  183. api/Makefile.am:22: warning: source file '$(top_srcdir)/samples/image_libs/tgalib.cpp' is in a subdirectory,
  184. api/Makefile.am:22: but option 'subdir-objects' is disabled
  185. client/Makefile.am:4: warning: ':='-style assignments are not portable
  186. client/Makefile.am:4: warning: filter-out -mfpu=vfpv3-d16,$(CXXFLAGS: non-POSIX variable name
  187. client/Makefile.am:4: (probably a GNU make extension)
  188. client/Makefile.am:126: warning: filter-out -mfpu=vfpv3-d16,$(boinc_client_CXXFLAGS: non-POSIX variable name
  189. client/Makefile.am:126: (probably a GNU make extension)
  190. client/Makefile.am:4: warning: 'CXXFLAGS' is a user variable, you should not override it;
  191. client/Makefile.am:4: use 'AM_CXXFLAGS' instead
  192. clientgui/Makefile.am:26: warning: source file 'common/wxPieCtrl.cpp' is in a subdirectory,
  193. clientgui/Makefile.am:26: but option 'subdir-objects' is disabled
  194. clientgui/Makefile.am:26: warning: source file 'gtk/taskbarex.cpp' is in a subdirectory,
  195. clientgui/Makefile.am:26: but option 'subdir-objects' is disabled
  196. lib/Makefile.am:95: warning: source file 'mac/mac_backtrace.cpp' is in a subdirectory,
  197. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  198. lib/Makefile.am:95: warning: source file 'mac/mac_spawn.cpp' is in a subdirectory,
  199. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  200. lib/Makefile.am:95: warning: source file 'mac/QBacktrace.c' is in a subdirectory,
  201. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  202. lib/Makefile.am:95: warning: source file 'mac/QCrashReport.c' is in a subdirectory,
  203. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  204. lib/Makefile.am:95: warning: source file 'mac/QMachOImage.c' is in a subdirectory,
  205. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  206. lib/Makefile.am:95: warning: source file 'mac/QMachOImageList.c' is in a subdirectory,
  207. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  208. lib/Makefile.am:95: warning: source file 'mac/QSymbols.c' is in a subdirectory,
  209. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  210. lib/Makefile.am:95: warning: source file 'mac/QTaskMemory.c' is in a subdirectory,
  211. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  212. lib/Makefile.am:95: warning: source file 'mac/mac_branding.cpp' is in a subdirectory,
  213. lib/Makefile.am:95: but option 'subdir-objects' is disabled
  214. sched/Makefile.am:11: warning: source file '../db/boinc_db.cpp' is in a subdirectory,
  215. sched/Makefile.am:11: but option 'subdir-objects' is disabled
  216. sched/Makefile.am:11: warning: source file '../db/db_base.cpp' is in a subdirectory,
  217. sched/Makefile.am:11: but option 'subdir-objects' is disabled
  218. sched/Makefile.am:11: warning: source file '../tools/process_result_template.cpp' is in a subdirectory,
  219. sched/Makefile.am:11: but option 'subdir-objects' is disabled
  220. sched/Makefile.am:11: warning: source file '../tools/process_input_template.cpp' is in a subdirectory,
  221. sched/Makefile.am:11: but option 'subdir-objects' is disabled
  222. sched/Makefile.am:11: warning: source file '../tools/backend_lib.cpp' is in a subdirectory,
  223. sched/Makefile.am:11: but option 'subdir-objects' is disabled
  224. sched/Makefile.am:157: warning: source file '../vda/sched_vda.cpp' is in a subdirectory,
  225. sched/Makefile.am:157: but option 'subdir-objects' is disabled
  226. sched/Makefile.am:198: warning: source file '../lib/synch.cpp' is in a subdirectory,
  227. sched/Makefile.am:198: but option 'subdir-objects' is disabled
  228. tools/Makefile.am:69: warning: source file '../lib/remote_submit.cpp' is in a subdirectory,
  229. tools/Makefile.am:69: but option 'subdir-objects' is disabled
  230. zip/Makefile.am:21: warning: source file './unzip/api.c' is in a subdirectory,
  231. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  232. zip/Makefile.am:21: warning: source file './unzip/apihelp.c' is in a subdirectory,
  233. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  234. zip/Makefile.am:21: warning: source file './unzip/crc32.c' is in a subdirectory,
  235. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  236. zip/Makefile.am:21: warning: source file './unzip/explode.c' is in a subdirectory,
  237. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  238. zip/Makefile.am:21: warning: source file './unzip/extract.c' is in a subdirectory,
  239. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  240. zip/Makefile.am:21: warning: source file './unzip/fileio.c' is in a subdirectory,
  241. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  242. zip/Makefile.am:21: warning: source file './unzip/globals.c' is in a subdirectory,
  243. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  244. zip/Makefile.am:21: warning: source file './unzip/inflate.c' is in a subdirectory,
  245. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  246. zip/Makefile.am:21: warning: source file './unzip/list.c' is in a subdirectory,
  247. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  248. zip/Makefile.am:21: warning: source file './unzip/match.c' is in a subdirectory,
  249. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  250. zip/Makefile.am:21: warning: source file './unzip/process.c' is in a subdirectory,
  251. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  252. zip/Makefile.am:21: warning: source file './unzip/ttyio.c' is in a subdirectory,
  253. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  254. zip/Makefile.am:21: warning: source file './unzip/unreduce.c' is in a subdirectory,
  255. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  256. zip/Makefile.am:21: warning: source file './unzip/unshrink.c' is in a subdirectory,
  257. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  258. zip/Makefile.am:21: warning: source file './unzip/unzip.c' is in a subdirectory,
  259. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  260. zip/Makefile.am:21: warning: source file './unzip/zipinfo.c' is in a subdirectory,
  261. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  262. zip/Makefile.am:21: warning: source file './zip/deflate.c' is in a subdirectory,
  263. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  264. zip/Makefile.am:21: warning: source file './zip/trees.c' is in a subdirectory,
  265. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  266. zip/Makefile.am:21: warning: source file './zip/util.c' is in a subdirectory,
  267. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  268. zip/Makefile.am:21: warning: source file './zip/z_fileio.c' is in a subdirectory,
  269. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  270. zip/Makefile.am:21: warning: source file './zip/z_globals.c' is in a subdirectory,
  271. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  272. zip/Makefile.am:21: warning: source file './zip/zip.c' is in a subdirectory,
  273. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  274. zip/Makefile.am:21: warning: source file './zip/zipfile.c' is in a subdirectory,
  275. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  276. zip/Makefile.am:21: warning: source file './zip/zipup.c' is in a subdirectory,
  277. zip/Makefile.am:21: but option 'subdir-objects' is disabled
  278. zip/Makefile.am:49: warning: source file './unzip/win32/nt.c' is in a subdirectory,
  279. zip/Makefile.am:49: but option 'subdir-objects' is disabled
  280. zip/Makefile.am:49: warning: source file './unzip/win32/win32.c' is in a subdirectory,
  281. zip/Makefile.am:49: but option 'subdir-objects' is disabled
  282. zip/Makefile.am:49: warning: source file './zip/win32/win32_boinc.c' is in a subdirectory,
  283. zip/Makefile.am:49: but option 'subdir-objects' is disabled
  284. zip/Makefile.am:49: warning: source file './zip/win32/win32i64.c' is in a subdirectory,
  285. zip/Makefile.am:49: but option 'subdir-objects' is disabled
  286. zip/Makefile.am:49: warning: source file './zip/win32/z_nt.c' is in a subdirectory,
  287. zip/Makefile.am:49: but option 'subdir-objects' is disabled
  288. zip/Makefile.am:49: warning: source file './zip/win32/win32zip.c' is in a subdirectory,
  289. zip/Makefile.am:49: but option 'subdir-objects' is disabled
  290. zip/Makefile.am:57: warning: source file './unzip/unix/unix.c' is in a subdirectory,
  291. zip/Makefile.am:57: but option 'subdir-objects' is disabled
  292. zip/Makefile.am:57: warning: source file './zip/unix/z_unix.c' is in a subdirectory,
  293. zip/Makefile.am:57: but option 'subdir-objects' is disabled
  294. Done, now run ./configure
  295. ./configure -C to enable caching
  296. checking build system type... x86_64-pc-linux-gnu
  297. checking host system type... x86_64-pc-linux-gnu
  298. checking target system type... x86_64-pc-linux-gnu
  299. checking for a BSD-compatible install... /usr/bin/install -c
  300. checking whether build environment is sane... yes
  301. checking for a race-free mkdir -p... /usr/bin/mkdir -p
  302. checking for gawk... no
  303. checking for mawk... /usr/bin/mawk
  304. checking whether make sets $(MAKE)... yes
  305. checking whether make supports nested variables... yes
  306. checking whether make supports nested variables... (cached) yes
  307. checking for gcc... gcc
  308. checking whether the C compiler works... yes
  309. checking for C compiler default output file name... a.out
  310. checking for suffix of executables...
  311. checking whether we are cross compiling... no
  312. checking for suffix of object files... o
  313. checking whether the compiler supports GNU C... yes
  314. checking whether gcc accepts -g... yes
  315. checking for gcc option to enable C11 features... none needed
  316. checking whether gcc understands -c and -o together... yes
  317. checking whether make supports the include directive... yes (GNU style)
  318. checking dependency style of gcc... gcc3
  319. checking for g++... /usr/bin/g++
  320. checking whether the compiler supports GNU C++... yes
  321. checking whether /usr/bin/g++ accepts -g... yes
  322. checking for /usr/bin/g++ option to enable C++11 features... none needed
  323. checking dependency style of /usr/bin/g++... gcc3
  324. checking for g++... /usr/bin/g++
  325. checking whether the compiler supports GNU Objective C++... no
  326. checking whether /usr/bin/g++ accepts -g... no
  327. checking dependency style of /usr/bin/g++... gcc3
  328. checking how to run the C preprocessor... gcc -E
  329. checking whether make sets $(MAKE)... (cached) yes
  330. checking for ln... /usr/bin/ln
  331. checking whether '/usr/bin/ln' works... yes
  332. checking whether ln -s works... yes
  333. checking whether 'ln -s' really works or whether I'm deluding myself... it works
  334. checking for pkg-config... /usr/bin/pkg-config
  335. checking pkg-config is at least version 0.9.0... yes
  336. checking if C compiler supports -Wall... yes
  337. checking if C++ compiler supports -Wall... yes
  338. --- Configuring BOINC 8.1.0 (Release) ---
  339. --- Build Components: ( libraries server) ---
  340. checking for docbook2x-man... no
  341. checking for stdio.h... yes
  342. checking for stdlib.h... yes
  343. checking for string.h... yes
  344. checking for inttypes.h... yes
  345. checking for stdint.h... yes
  346. checking for strings.h... yes
  347. checking for sys/stat.h... yes
  348. checking for sys/types.h... yes
  349. checking for unistd.h... yes
  350. checking for sys/time.h... yes
  351. checking whether we are compiling for cygwin... no
  352. checking for winsock2.h... (cached) no
  353. checking for winsock.h... (cached) no
  354. checking for windows.h... no
  355. checking for sys/socket.h... yes
  356. checking dependency style of gcc... gcc3
  357. checking how to print strings... printf
  358. checking for a sed that does not truncate output... /usr/bin/sed
  359. checking for grep that handles long lines and -e... /usr/bin/grep
  360. checking for egrep... /usr/bin/grep -E
  361. checking for fgrep... /usr/bin/grep -F
  362. checking for ld used by gcc... /usr/bin/ld
  363. checking if the linker (/usr/bin/ld) is GNU ld... yes
  364. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  365. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  366. checking the maximum length of command line arguments... 1572864
  367. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  368. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  369. checking for /usr/bin/ld option to reload object files... -r
  370. checking for file... file
  371. checking for objdump... objdump
  372. checking how to recognize dependent libraries... pass_all
  373. checking for dlltool... dlltool
  374. checking how to associate runtime and link libraries... printf %s\n
  375. checking for ar... /usr/bin/ar
  376. checking for archiver @FILE support... @
  377. checking for strip... strip
  378. checking for ranlib... ranlib
  379. checking command to parse /usr/bin/nm -B output from gcc object... ok
  380. checking for sysroot... no
  381. checking for a working dd... /usr/bin/dd
  382. checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  383. checking for mt... mt
  384. checking if mt is a manifest tool... no
  385. checking for dlfcn.h... yes
  386. checking for objdir... .libs
  387. checking if gcc supports -fno-rtti -fno-exceptions... no
  388. checking for gcc option to produce PIC... -fPIC -DPIC
  389. checking if gcc PIC flag -fPIC -DPIC works... yes
  390. checking if gcc static flag -static works... yes
  391. checking if gcc supports -c -o file.o... yes
  392. checking if gcc supports -c -o file.o... (cached) yes
  393. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  394. checking whether -lc should be explicitly linked in... no
  395. checking dynamic linker characteristics... GNU/Linux ld.so
  396. checking how to hardcode library paths into programs... immediate
  397. checking for shl_load... no
  398. checking for shl_load in -ldld... no
  399. checking for dlopen... yes
  400. checking whether a program can dlopen itself... yes
  401. checking whether a statically linked program can dlopen itself... no
  402. checking whether stripping libraries is possible... yes
  403. checking if libtool supports shared libraries... yes
  404. checking whether to build shared libraries... yes
  405. checking whether to build static libraries... yes
  406. checking how to run the C++ preprocessor... /usr/bin/g++ -E
  407. checking for ld used by /usr/bin/g++... /usr/bin/ld -m elf_x86_64
  408. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  409. checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  410. checking for /usr/bin/g++ option to produce PIC... -fPIC -DPIC
  411. checking if /usr/bin/g++ PIC flag -fPIC -DPIC works... yes
  412. checking if /usr/bin/g++ static flag -static works... yes
  413. checking if /usr/bin/g++ supports -c -o file.o... yes
  414. checking if /usr/bin/g++ supports -c -o file.o... (cached) yes
  415. checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  416. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  417. checking how to hardcode library paths into programs... immediate
  418. checking default bitness of C compiler... 64
  419. checking default bitness of C++ compiler... 64
  420. checking boinc platform... x86_64-pc-linux-gnu
  421. checking alternate boinc platform... i686-pc-linux-gnu
  422. checking library extension... a
  423. checking shared object extension... so
  424. checking for mysql_config... /usr/bin/mysql_config
  425. checking mysql libraries... -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lz -lzstd -lssl -lcrypto -lresolv -lm
  426. checking mysql includes... -I/usr/include/mysql
  427. checking if CFLAG '-include fcgi_stdio.h' works... yes
  428. checking for FCGI_printf in -lfcgi... yes
  429. checking for pkg-config... /usr/bin/pkg-config
  430. checking for openssl... yes
  431. OpenSSL found in /usr
  432. checking for gawk... (cached) /usr/bin/mawk
  433. checking for ... no
  434. checking for curl-config... /usr/bin/curl-config
  435. checking for the version of libcurl... 8.5.0
  436. checking for libcurl >= version 7.17.1... yes
  437. checking whether libcurl is usable... yes
  438. checking for curl_free... yes
  439. checking for shmget in dynamic library cygipc... no
  440. checking for aio_fork in dynamic library aio... no
  441. checking for dlopen in dynamic library dl... -ldl
  442. checking for gethostbyname in static library nsl... no
  443. checking for gethostbyname in dynamic library nsl... no
  444. checking for static library freetype... -lfreetype
  445. checking for bind in static library socket... no
  446. checking for bind in dynamic library socket... no
  447. checking for gzopen in static library z... -lz
  448. checking for md5_finish in dynamic library cups... no
  449. checking for the pthreads library -lpthreads... no
  450. checking whether pthreads work without any flags... yes
  451. checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  452. checking if more special flags are required for pthreads... no
  453. checking for PTHREAD_PRIO_INHERIT... yes
  454. checking for X... libraries , headers
  455. checking for gethostbyname... yes
  456. checking for connect... yes
  457. checking for remove... yes
  458. checking for shmat... yes
  459. checking for IceConnectionNumber in -lICE... yes
  460. configure: checking for usable OpenCL opencl.h header
  461. checking for OpenCL/opencl.h... no
  462. checking for CL/opencl.h... yes
  463. checking for usable OpenCL library... -lOpenCL
  464. checking for the pthreads library -lpthreads... no
  465. checking whether pthreads work without any flags... yes
  466. checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  467. checking if more special flags are required for pthreads... no
  468. checking for PTHREAD_PRIO_INHERIT... (cached) yes
  469. checking whether we are using the Microsoft C compiler... no
  470. checking for windows.h... (cached) no
  471. checking for OpenGL library... -lGL
  472. checking for OpenGL Utility library... -lGLU
  473. checking for fopen in -lXmu... no
  474. checking for fopen in -lXi... no
  475. checking for GLUT library... -lglut
  476. checking for gl.h... no
  477. checking for glu.h... no
  478. checking for glut.h... no
  479. checking for glaux.h... no
  480. checking for GL/gl.h... yes
  481. checking for GL/glu.h... yes
  482. checking for GL/glut.h... yes
  483. checking for GL/glaux.h... no
  484. checking for OpenGL/gl.h... no
  485. checking for OpenGL/glu.h... no
  486. checking for OpenGL/glut.h... no
  487. checking for OpenGL/glaux.h... no
  488. checking for GLUT/glut.h... no
  489. checking for MesaGL/gl.h... no
  490. checking for MesaGL/glu.h... no
  491. checking for MesaGL/glut.h... no
  492. checking for MesaGL/glaux.h... no
  493. checking for libnotify/notify.h... no
  494. checking for gtk/gtk.h... no
  495. checking for jpeg_start_compress in -ljpeg... yes
  496. checking for jpeglib.h... yes
  497. checking for dirent.h that defines DIR... yes
  498. checking for library containing opendir... none required
  499. checking for egrep... (cached) /usr/bin/grep -E
  500. checking for sys/wait.h that is POSIX.1 compatible... yes
  501. checking return type of signal handlers... void
  502. checking for sys/types.h... (cached) yes
  503. checking for sys/un.h... yes
  504. checking for arpa/inet.h... yes
  505. checking for dirent.h... yes
  506. checking for grp.h... yes
  507. checking for fcntl.h... yes
  508. checking for inttypes.h... (cached) yes
  509. checking for stdint.h... (cached) yes
  510. checking for memory.h... yes
  511. checking for netdb.h... yes
  512. checking for netinet/in.h... yes
  513. checking for netinet/tcp.h... yes
  514. checking for netinet/ether.h... yes
  515. checking for net/if.h... yes
  516. checking for net/if_arp.h... yes
  517. checking for signal.h... yes
  518. checking for strings.h... (cached) yes
  519. checking for sys/auxv.h... yes
  520. checking for sys/file.h... yes
  521. checking for sys/fcntl.h... yes
  522. checking for sys/ipc.h... yes
  523. checking for sys/ioctl.h... yes
  524. checking for sys/msg.h... yes
  525. checking for sys/param.h... yes
  526. checking for sys/resource.h... yes
  527. checking for sys/select.h... yes
  528. checking for sys/sem.h... yes
  529. checking for sys/sockio.h... no
  530. checking for sys/socket.h... (cached) yes
  531. checking for sys/stat.h... (cached) yes
  532. checking for sys/statvfs.h... yes
  533. checking for sys/statfs.h... yes
  534. checking for sys/systeminfo.h... no
  535. checking for sys/time.h... (cached) yes
  536. checking for sys/types.h... (cached) yes
  537. checking for sys/utsname.h... yes
  538. checking for sys/vmmeter.h... no
  539. checking for sys/wait.h... (cached) yes
  540. checking for unistd.h... (cached) yes
  541. checking for utmp.h... yes
  542. checking for errno.h... yes
  543. checking for procfs.h... no
  544. checking for ieeefp.h... no
  545. checking for setjmp.h... yes
  546. checking for float.h... yes
  547. checking for sal.h... no
  548. checking for execinfo.h... yes
  549. checking for xlocale.h... no
  550. checking for sys/shm.h... yes
  551. checking for intrin.h... no
  552. checking for x86intrin.h... yes
  553. checking for pmmintrin.h... yes
  554. checking for xmmintrin.h... yes
  555. checking for emmintrin.h... yes
  556. checking for immintrin.h... yes
  557. checking for gcc options needed to detect all undeclared functions... none needed
  558. checking whether _xgetbv is declared... yes
  559. checking whether xgetbv is declared... no
  560. checking whether __xgetbv is declared... no
  561. checking whether cpuid is declared... no
  562. checking whether _cpuid is declared... no
  563. checking whether __cpuid is declared... no
  564. checking if assembler supports xgetbv... yes
  565. checking for nvapi.h... no
  566. checking for socklen_t... yes
  567. checking for net/if.h... (cached) yes
  568. checking for net/if_arp.h... (cached) yes
  569. checking for sys/mount.h... yes
  570. checking for sys/swap.h... yes
  571. checking for sys/sensors.h... no
  572. checking for sys/sysctl.h... no
  573. checking for resolv.h... yes
  574. checking for netinet/if_ether.h... yes
  575. checking for struct lifconf... no
  576. checking for struct lifreq... no
  577. checking for struct ifconf... yes
  578. checking for struct ifreq... yes
  579. checking for struct ether_addr... yes
  580. checking for special C compiler options needed for large files... no
  581. checking for _FILE_OFFSET_BITS value needed for large files... no
  582. checking whether largefile support breaks C++... no
  583. checking standard C++ headers... yes
  584. checking for C++ header <algorithm>... (cached) yes
  585. checking for C++ header <bitset>... (cached) yes
  586. checking for C++ header <cassert>... (cached) yes
  587. checking for C++ header <cctype>... (cached) yes
  588. checking for C++ header <cerrno>... (cached) yes
  589. checking for C++ header <cfloat>... (cached) yes
  590. checking for C++ header <climits>... (cached) yes
  591. checking for C++ header <clocale>... (cached) yes
  592. checking for C++ header <cmath>... (cached) yes
  593. checking for C++ header <complex>... (cached) yes
  594. checking for C++ header <csetjmp>... (cached) yes
  595. checking for C++ header <csignal>... (cached) yes
  596. checking for C++ header <cstdarg>... (cached) yes
  597. checking for C++ header <cstddef>... (cached) yes
  598. checking for C++ header <cstdio>... (cached) yes
  599. checking for C++ header <cstdlib>... (cached) yes
  600. checking for C++ header <cstring>... (cached) yes
  601. checking for C++ header <ctime>... (cached) yes
  602. checking for C++ header <deque>... (cached) yes
  603. checking for C++ header <fstream>... (cached) yes
  604. checking for C++ header <functional>... (cached) yes
  605. checking for C++ header <iomanip>... (cached) yes
  606. checking for C++ header <ios>... (cached) yes
  607. checking for C++ header <iosfwd>... (cached) yes
  608. checking for C++ header <iostream>... (cached) yes
  609. checking for C++ header <istream>... (cached) yes
  610. checking for C++ header <iterator>... (cached) yes
  611. checking for C++ header <limits>... (cached) yes
  612. checking for C++ header <list>... (cached) yes
  613. checking for C++ header <locale>... (cached) yes
  614. checking for C++ header <map>... (cached) yes
  615. checking for C++ header <memory>... (cached) yes
  616. checking for C++ header <numeric>... (cached) yes
  617. checking for C++ header <ostream>... (cached) yes
  618. checking for C++ header <queue>... (cached) yes
  619. checking for C++ header <set>... (cached) yes
  620. checking for C++ header <sstream>... (cached) yes
  621. checking for C++ header <stack>... (cached) yes
  622. checking for C++ header <stdexcept>... (cached) yes
  623. checking for C++ header <streambuf>... (cached) yes
  624. checking for C++ header <string>... (cached) yes
  625. checking for C++ header <utility>... (cached) yes
  626. checking for C++ header <valarray>... (cached) yes
  627. checking for C++ header <vector>... (cached) yes
  628. checking for C++ namespaces... yes
  629. checking for min(0,0) in namespace std... yes
  630. checking for max(0,0) in namespace std... yes
  631. checking for transform((char *)0,(char *) 0,(char *)0,(int(*)(int))malloc) in namespace std... yes
  632. checking for locale("") in namespace std... yes
  633. checking whether gcc needs -traditional... no
  634. checking for vprintf... yes
  635. checking for ether_ntoa... yes
  636. checking for setpriority... yes
  637. checking for sched_setscheduler... yes
  638. checking for strlcpy... yes
  639. checking for strlcat... yes
  640. checking for strcasestr... yes
  641. checking for strcasecmp... yes
  642. checking for sigaction... yes
  643. checking for getutent... yes
  644. checking for setutent... yes
  645. checking for getisax... no
  646. checking for strdup... yes
  647. checking for _strdup... no
  648. checking for strdupa... no
  649. checking for _strdupa... no
  650. checking for daemon... yes
  651. checking for stat64... yes
  652. checking for putenv... yes
  653. checking for setenv... yes
  654. checking for unsetenv... yes
  655. checking for res_init... no
  656. checking for strtoull... yes
  657. checking for localtime... yes
  658. checking for localtime_r... yes
  659. checking for gmtime... yes
  660. checking for gmtime_r... yes
  661. checking for uselocale... yes
  662. checking for _configthreadlocale... no
  663. checking for ftok... yes
  664. checking whether _fpreset is declared... no
  665. checking whether fpreset is declared... no
  666. checking for an ANSI C-conforming const... yes
  667. checking for size_t... yes
  668. checking whether struct tm is in sys/time.h or time.h... time.h
  669. checking for struct tm.tm_zone... yes
  670. checking for sin in dynamic library m... -lm
  671. checking for pthread_join in dynamic library pthread... -lpthread
  672. checking for dynamic library nvapi... no
  673. checking for res_init in -lresolv... no
  674. checking for res_query in static library resolv... -lresolv
  675. checking for whoami... /usr/bin/whoami
  676. checking that generated files are newer than configure... done
  677. configure: creating ./config.status
  678. config.status: creating version.h
  679. config.status: creating api/Makefile
  680. config.status: creating api/libboinc_api.pc
  681. config.status: creating api/libboinc_graphics2.pc
  682. config.status: creating api/libboinc_opencl.pc
  683. config.status: creating apps/Makefile
  684. config.status: creating clientgui/Makefile
  685. config.status: creating clientgui/res/Makefile
  686. config.status: creating clientgui/skins/Makefile
  687. config.status: creating clientscr/Makefile
  688. config.status: creating client/Makefile
  689. config.status: creating client/win/boinc_path_config.py
  690. config.status: creating client/scripts/Makefile
  691. config.status: creating client/scripts/boinc-client
  692. config.status: creating client/scripts/boinc-client.service
  693. config.status: creating db/Makefile
  694. config.status: creating doc/Makefile
  695. config.status: creating doc/manpages/Makefile
  696. config.status: creating html/Makefile
  697. config.status: creating lib/Makefile
  698. config.status: creating lib/libboinc.pc
  699. config.status: creating lib/libboinc_crypt.pc
  700. config.status: creating lib/libboinc_fcgi.pc
  701. config.status: creating locale/Makefile
  702. config.status: creating Makefile
  703. config.status: creating py/Boinc/version.py
  704. config.status: creating py/Makefile
  705. config.status: creating py/boinc_path_config.py
  706. config.status: creating py/setup.py
  707. config.status: creating sched/boinc_path_config.py
  708. config.status: creating sched/Makefile
  709. config.status: creating packages/generic/sea/Makefile
  710. config.status: creating packages/solaris/CSW/Makefile
  711. config.status: creating packages/solaris/CSW/boincclient/Makefile
  712. config.status: creating packages/solaris/CSW/boincclient/pkginfo
  713. config.status: creating packages/solaris/CSW/boincclient/prototype
  714. config.status: creating packages/solaris/CSW/boincdevel/Makefile
  715. config.status: creating packages/solaris/CSW/boincdevel/pkginfo
  716. config.status: creating packages/solaris/CSW/boincdevel/prototype
  717. config.status: creating packages/solaris/CSW/boinclibs/Makefile
  718. config.status: creating packages/solaris/CSW/boinclibs/pkginfo
  719. config.status: creating packages/solaris/CSW/boinclibs/prototype
  720. config.status: creating packages/solaris/CSW/boincmanager/Makefile
  721. config.status: creating packages/solaris/CSW/boincmanager/pkginfo
  722. config.status: creating packages/solaris/CSW/boincmanager/prototype
  723. config.status: creating samples/Makefile
  724. config.status: creating tools/boinc_path_config.py
  725. config.status: creating tools/Makefile
  726. config.status: creating vda/Makefile
  727. config.status: creating zip/Makefile
  728. config.status: creating zip/libboinc_zip.pc
  729. config.status: creating zip/zip/Makefile
  730. config.status: creating zip/unzip/Makefile
  731. config.status: creating m4/Makefile
  732. config.status: creating config.h
  733. config.status: executing depfiles commands
  734. config.status: executing libtool commands
  735. --- Configuring BOINC 8.1.0 (Release) ---
  736. --- Build Components: ( libraries server libraries_graphics) ---
  737. cd . && sh generate_svn_version.sh
  738. warning: tag 'server_release/1.3/1.3.0' is externally known as 'server_release/1.x/1.x.0'
  739. make all-recursive
  740. make[1]: Entering directory '/home/boincadm/boinc'
  741. Making all in m4
  742. make[2]: Entering directory '/home/boincadm/boinc/m4'
  743. make[2]: Nothing to be done for 'all'.
  744. make[2]: Leaving directory '/home/boincadm/boinc/m4'
  745. Making all in api
  746. make[2]: Entering directory '/home/boincadm/boinc/api'
  747. CXX boinc_api.lo
  748. CXX graphics2_util.lo
  749. CXX reduce_main.lo
  750. CXXLD libboinc_api.la
  751. CXX libboinc_graphics2_la-gutil.lo
  752. CXX libboinc_graphics2_la-gutil_text.lo
  753. CXX libboinc_graphics2_la-reduce_lib.lo
  754. CXX libboinc_graphics2_la-graphics2.lo
  755. CXX libboinc_graphics2_la-graphics2_unix.lo
  756. CXXLD libboinc_graphics2.la
  757. CXX boinc_opencl.lo
  758. CXXLD libboinc_opencl.la
  759. rm -f libboinc_api.a
  760. /usr/bin/ln .libs/libboinc_api.a .
  761. rm -f libboinc_graphics2.a
  762. /usr/bin/ln .libs/libboinc_graphics2.a .
  763. rm -f libboinc_opencl.a
  764. /usr/bin/ln .libs/libboinc_opencl.a .
  765. make[2]: Leaving directory '/home/boincadm/boinc/api'
  766. Making all in lib
  767. make[2]: Entering directory '/home/boincadm/boinc/lib'
  768. CXX crypt_prog-crypt_prog.o
  769. crypt_prog.cpp: In function ‘int genkey(int, const std::string&, const std::string&)’:
  770. crypt_prog.cpp:143:22: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  771. 143 | RSA* rp = RSA_new();
  772. | ~~~~~~~^~
  773. In file included from /usr/include/openssl/x509.h:36,
  774. from /usr/include/openssl/pem.h:23,
  775. from crypt_prog.cpp:53:
  776. /usr/include/openssl/rsa.h:206:28: note: declared here
  777. 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  778. | ^~~~~~~
  779. crypt_prog.cpp:144:28: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  780. 144 | if (RSA_generate_key_ex(rp, n, e, NULL) != 1) {
  781. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  782. /usr/include/openssl/rsa.h:265:27: note: declared here
  783. 265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
  784. | ^~~~~~~~~~~~~~~~~~~
  785. crypt_prog.cpp: In function ‘int convkey_private_b2o(const std::string&, const std::string&)’:
  786. crypt_prog.cpp:444:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  787. 444 | RSA* rsa_key = RSA_new();
  788. | ~~~~~~~^~
  789. /usr/include/openssl/rsa.h:206:28: note: declared here
  790. 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  791. | ^~~~~~~
  792. crypt_prog.cpp:471:28: warning: ‘int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  793. 471 | PEM_write_RSAPrivateKey(fpriv, rsa_key, NULL, NULL, 0, 0, NULL);
  794. | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  795. /usr/include/openssl/pem.h:447:1: note: declared here
  796. 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
  797. | ^~~~~~~~~~~~~~~~~~~~~~
  798. crypt_prog.cpp: In function ‘int convkey_private_o2b(const std::string&, const std::string&)’:
  799. crypt_prog.cpp:487:42: warning: ‘RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  800. 487 | RSA* rsa_key = PEM_read_RSAPrivateKey(fpriv, NULL, NULL, NULL);
  801. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  802. /usr/include/openssl/pem.h:447:1: note: declared here
  803. 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
  804. | ^~~~~~~~~~~~~~~~~~~~~~
  805. crypt_prog.cpp: In function ‘int convkey_public_b2o(const std::string&, const std::string&)’:
  806. crypt_prog.cpp:521:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  807. 521 | RSA* rsa_key = RSA_new();
  808. | ~~~~~~~^~
  809. /usr/include/openssl/rsa.h:206:28: note: declared here
  810. 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  811. | ^~~~~~~
  812. crypt_prog.cpp:545:34: warning: ‘int PEM_write_RSA_PUBKEY(FILE*, const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813. 545 | retval = PEM_write_RSA_PUBKEY(fpub, rsa_key);
  814. | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  815. /usr/include/openssl/pem.h:449:1: note: declared here
  816. 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
  817. | ^~~~~~~~~~~~~~~~~~~
  818. crypt_prog.cpp: In function ‘int convkey_public_o2b(const std::string&, const std::string&)’:
  819. crypt_prog.cpp:566:39: warning: ‘RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  820. 566 | RSA* rsa_key = PEM_read_RSA_PUBKEY(fpub, NULL, NULL, NULL);
  821. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  822. /usr/include/openssl/pem.h:449:1: note: declared here
  823. 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
  824. | ^~~~~~~~~~~~~~~~~~~
  825. CXX libboinc_crypt_la-crypt.lo
  826. crypt.cpp: In function 'int encrypt_private(R_RSA_PRIVATE_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
  827. crypt.cpp:259:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  828. 259 | RSA* rp = RSA_new();
  829. | ~~~~~~~^~
  830. In file included from /usr/include/openssl/x509.h:36,
  831. from /usr/include/openssl/ssl.h:31,
  832. from crypt.cpp:31:
  833. /usr/include/openssl/rsa.h:206:28: note: declared here
  834. 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  835. | ^~~~~~~
  836. crypt.cpp:261:33: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  837. 261 | retval = RSA_private_encrypt(n, in.data, out.data, rp, RSA_PKCS1_PADDING);
  838. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  839. /usr/include/openssl/rsa.h:290:5: note: declared here
  840. 290 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
  841. | ^~~~~~~~~~~~~~~~~~~
  842. crypt.cpp:263:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  843. 263 | RSA_free(rp);
  844. | ~~~~~~~~^~~~
  845. /usr/include/openssl/rsa.h:298:28: note: declared here
  846. 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  847. | ^~~~~~~~
  848. crypt.cpp:266:23: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  849. 266 | out.len = RSA_size(rp);
  850. | ~~~~~~~~^~~~
  851. /usr/include/openssl/rsa.h:209:27: note: declared here
  852. 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  853. | ^~~~~~~~
  854. crypt.cpp:267:13: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  855. 267 | RSA_free(rp);
  856. | ~~~~~~~~^~~~
  857. /usr/include/openssl/rsa.h:298:28: note: declared here
  858. 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  859. | ^~~~~~~~
  860. crypt.cpp: In function 'int decrypt_public(R_RSA_PUBLIC_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
  861. crypt.cpp:273:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  862. 273 | RSA* rp = RSA_new();
  863. | ~~~~~~~^~
  864. /usr/include/openssl/rsa.h:206:28: note: declared here
  865. 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  866. | ^~~~~~~
  867. crypt.cpp:275:32: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  868. 275 | retval = RSA_public_decrypt(in.len, in.data, out.data, rp, RSA_PKCS1_PADDING);
  869. | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  870. /usr/include/openssl/rsa.h:293:5: note: declared here
  871. 293 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
  872. | ^~~~~~~~~~~~~~~~~~
  873. crypt.cpp:277:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  874. 277 | RSA_free(rp);
  875. | ~~~~~~~~^~~~
  876. /usr/include/openssl/rsa.h:298:28: note: declared here
  877. 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  878. | ^~~~~~~~
  879. crypt.cpp:280:23: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  880. 280 | out.len = RSA_size(rp);
  881. | ~~~~~~~~^~~~
  882. /usr/include/openssl/rsa.h:209:27: note: declared here
  883. 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  884. | ^~~~~~~~
  885. crypt.cpp:281:13: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  886. 281 | RSA_free(rp);
  887. | ~~~~~~~~^~~~
  888. /usr/include/openssl/rsa.h:298:28: note: declared here
  889. 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  890. | ^~~~~~~~
  891. crypt.cpp: In function 'void openssl_to_keys(RSA*, int, R_RSA_PRIVATE_KEY&, R_RSA_PUBLIC_KEY&)':
  892. crypt.cpp:468:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  893. 468 | RSA_get0_key(rp, &n, &e, &d);
  894. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  895. /usr/include/openssl/rsa.h:222:28: note: declared here
  896. 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  897. | ^~~~~~~~~~~~
  898. crypt.cpp:469:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  899. 469 | RSA_get0_factors(rp, &p, &q);
  900. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
  901. /usr/include/openssl/rsa.h:225:28: note: declared here
  902. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  903. | ^~~~~~~~~~~~~~~~
  904. crypt.cpp:470:24: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  905. 470 | RSA_get0_crt_params(rp, &dmp1, &dmq1, &iqmp);
  906. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  907. /usr/include/openssl/rsa.h:230:28: note: declared here
  908. 230 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  909. | ^~~~~~~~~~~~~~~~~~~
  910. crypt.cpp: In function 'void private_to_openssl(R_RSA_PRIVATE_KEY&, RSA*)':
  911. crypt.cpp:531:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  912. 531 | RSA_set0_key(rp, n, e, d);
  913. | ~~~~~~~~~~~~^~~~~~~~~~~~~
  914. /usr/include/openssl/rsa.h:212:27: note: declared here
  915. 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
  916. | ^~~~~~~~~~~~
  917. crypt.cpp:532:21: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  918. 532 | RSA_set0_factors(rp, p, q);
  919. | ~~~~~~~~~~~~~~~~^~~~~~~~~~
  920. /usr/include/openssl/rsa.h:213:27: note: declared here
  921. 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
  922. | ^~~~~~~~~~~~~~~~
  923. crypt.cpp:533:24: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  924. 533 | RSA_set0_crt_params(rp, dmp1, dmq1, iqmp);
  925. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  926. /usr/include/openssl/rsa.h:214:27: note: declared here
  927. 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
  928. | ^~~~~~~~~~~~~~~~~~~
  929. crypt.cpp: In function 'void public_to_openssl(R_RSA_PUBLIC_KEY&, RSA*)':
  930. crypt.cpp:552:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  931. 552 | RSA_set0_key(rp, n, e, NULL);
  932. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  933. /usr/include/openssl/rsa.h:212:27: note: declared here
  934. 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
  935. | ^~~~~~~~~~~~
  936. crypt.cpp: In function 'int openssl_to_private(RSA*, R_RSA_PRIVATE_KEY*)':
  937. crypt.cpp:582:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  938. 582 | RSA_get0_key(from, &n, &e, &d);
  939. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  940. /usr/include/openssl/rsa.h:222:28: note: declared here
  941. 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  942. | ^~~~~~~~~~~~
  943. crypt.cpp:583:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  944. 583 | RSA_get0_factors(from, &p, &q);
  945. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  946. /usr/include/openssl/rsa.h:225:28: note: declared here
  947. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  948. | ^~~~~~~~~~~~~~~~
  949. crypt.cpp:584:24: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  950. 584 | RSA_get0_crt_params(from, &dmp1, &dmq1, &iqmp);
  951. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  952. /usr/include/openssl/rsa.h:230:28: note: declared here
  953. 230 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  954. | ^~~~~~~~~~~~~~~~~~~
  955. crypt.cpp: In function 'int check_validity_of_cert(const char*, const unsigned char*, unsigned char*, int, const char*)':
  956. crypt.cpp:684:41: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  957. 684 | rsa = (rsa_st*)EVP_PKEY_get0_RSA(pubKey);
  958. | ~~~~~~~~~~~~~~~~~^~~~~~~~
  959. In file included from /usr/include/openssl/x509.h:29:
  960. /usr/include/openssl/evp.h:1348:22: note: declared here
  961. 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  962. | ^~~~~~~~~~~~~~~~~
  963. crypt.cpp:685:29: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  964. 685 | if (!RSA_blinding_on(rsa, c)) {
  965. | ~~~~~~~~~~~~~~~^~~~~~~~
  966. /usr/include/openssl/rsa.h:376:27: note: declared here
  967. 376 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
  968. | ^~~~~~~~~~~~~~~
  969. crypt.cpp:696:28: warning: 'int RSA_verify(int, const unsigned char*, unsigned int, const unsigned char*, unsigned int, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  970. 696 | retval = RSA_verify(NID_md5, md5_md, MD5_DIGEST_LENGTH, sfileMsg, sfsize, rsa);
  971. | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  972. /usr/include/openssl/rsa.h:356:27: note: declared here
  973. 356 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
  974. | ^~~~~~~~~~
  975. crypt.cpp:697:25: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  976. 697 | RSA_blinding_off(rsa);
  977. | ~~~~~~~~~~~~~~~~^~~~~
  978. /usr/include/openssl/rsa.h:377:28: note: declared here
  979. 377 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa);
  980. | ^~~~~~~~~~~~~~~~
  981. crypt.cpp: In function 'char* check_validity(const char*, const char*, unsigned char*, char*)':
  982. crypt.cpp:740:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  983. 740 | MD5_Init(&md5CTX);
  984. | ~~~~~~~~^~~~~~~~~
  985. In file included from crypt.cpp:32:
  986. /usr/include/openssl/md5.h:49:27: note: declared here
  987. 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
  988. | ^~~~~~~~
  989. crypt.cpp:742:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  990. 742 | MD5_Update(&md5CTX, rbuf, rbytes);
  991. | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  992. /usr/include/openssl/md5.h:50:27: note: declared here
  993. 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
  994. | ^~~~~~~~~~
  995. crypt.cpp:744:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  996. 744 | MD5_Final(md5_md, &md5CTX);
  997. | ~~~~~~~~~^~~~~~~~~~~~~~~~~
  998. /usr/include/openssl/md5.h:51:27: note: declared here
  999. 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
  1000. | ^~~~~~~~~
  1001. crypt.cpp: In function 'int cert_verify_file(CERT_SIGS*, const char*, const char*)':
  1002. crypt.cpp:791:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1003. 791 | MD5_Init(&md5CTX);
  1004. | ~~~~~~~~^~~~~~~~~
  1005. /usr/include/openssl/md5.h:49:27: note: declared here
  1006. 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
  1007. | ^~~~~~~~
  1008. crypt.cpp:793:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1009. 793 | MD5_Update(&md5CTX, rbuf, rbytes);
  1010. | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  1011. /usr/include/openssl/md5.h:50:27: note: declared here
  1012. 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
  1013. | ^~~~~~~~~~
  1014. crypt.cpp:795:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1015. 795 | MD5_Final(md5_md, &md5CTX);
  1016. | ~~~~~~~~~^~~~~~~~~~~~~~~~~
  1017. /usr/include/openssl/md5.h:51:27: note: declared here
  1018. 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
  1019. | ^~~~~~~~~
  1020. CXXLD libboinc_crypt.la
  1021. rm -f libboinc_crypt.a
  1022. /usr/bin/ln .libs/libboinc_crypt.a .
  1023. CXXLD crypt_prog
  1024. CXX parse_test-parse_test.o
  1025. CXXLD parse_test
  1026. CXX libboinc_la-app_ipc.lo
  1027. CXX libboinc_la-base64.lo
  1028. CXX libboinc_la-cc_config.lo
  1029. CXX libboinc_la-cert_sig.lo
  1030. CXX libboinc_la-coproc.lo
  1031. CXX libboinc_la-diagnostics.lo
  1032. CXX libboinc_la-filesys.lo
  1033. CXX libboinc_la-gui_rpc_client.lo
  1034. CXX libboinc_la-gui_rpc_client_ops.lo
  1035. CXX libboinc_la-gui_rpc_client_print.lo
  1036. CXX libboinc_la-hostinfo.lo
  1037. CXX libboinc_la-keyword.lo
  1038. CXX libboinc_la-md5_file.lo
  1039. CXX libboinc_la-mem_usage.lo
  1040. CXX libboinc_la-mfile.lo
  1041. CXX libboinc_la-miofile.lo
  1042. CXX libboinc_la-msg_log.lo
  1043. CXX libboinc_la-network.lo
  1044. CXX libboinc_la-notice.lo
  1045. CXX libboinc_la-opencl_boinc.lo
  1046. CXX libboinc_la-parse.lo
  1047. CXX libboinc_la-prefs.lo
  1048. CXX libboinc_la-procinfo.lo
  1049. CXX libboinc_la-proc_control.lo
  1050. CXX libboinc_la-project_init.lo
  1051. CXX libboinc_la-proxy_info.lo
  1052. CXX libboinc_la-sched_msgs.lo
  1053. CXX libboinc_la-shmem.lo
  1054. CXX libboinc_la-str_util.lo
  1055. CXX libboinc_la-url.lo
  1056. CXX libboinc_la-util.lo
  1057. util.cpp: In function 'std::string docker_image_name(const char*, const char*)':
  1058. util.cpp:809:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=]
  1059. 809 | sprintf(buf, "boinc__%s__%s", url_buf, wu_buf);
  1060. | ^~ ~~~~~~~
  1061. In file included from /usr/include/stdio.h:980,
  1062. from /usr/include/c++/13/cstdio:42,
  1063. from boinc_stdio.h:35,
  1064. from util.cpp:33:
  1065. In function 'int sprintf(char*, const char*, ...)',
  1066. inlined from 'std::string docker_image_name(const char*, const char*)' at util.cpp:809:12:
  1067. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 10 and 2056 bytes into a destination of size 1024
  1068. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1069. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1070. 31 | __glibc_objsize (__s), __fmt,
  1071. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1072. 32 | __va_arg_pack ());
  1073. | ~~~~~~~~~~~~~~~~~
  1074. CXX libboinc_la-wslinfo.lo
  1075. CXX libboinc_la-procinfo_unix.lo
  1076. CXX libboinc_la-synch.lo
  1077. CXX libboinc_la-unix_util.lo
  1078. CXXLD libboinc.la
  1079. CXX libboinc_fcgi_la-coproc.lo
  1080. In file included from coproc.cpp:21:
  1081. boinc_stdio.h:30: warning: "stdin" redefined
  1082. 30 | #define stdin FCGI_stdin
  1083. |
  1084. In file included from /usr/include/fcgi_stdio.h:18,
  1085. from boinc_stdio.h:28:
  1086. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1087. 153 | #define stdin stdin
  1088. |
  1089. boinc_stdio.h:31: warning: "stdout" redefined
  1090. 31 | #define stdout FCGI_stdout
  1091. |
  1092. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1093. 154 | #define stdout stdout
  1094. |
  1095. boinc_stdio.h:32: warning: "stderr" redefined
  1096. 32 | #define stderr FCGI_stderr
  1097. |
  1098. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1099. 155 | #define stderr stderr
  1100. |
  1101. CXX libboinc_fcgi_la-filesys.lo
  1102. In file included from filesys.h:33,
  1103. from filesys.cpp:65:
  1104. boinc_stdio.h:30: warning: "stdin" redefined
  1105. 30 | #define stdin FCGI_stdin
  1106. |
  1107. In file included from /usr/include/c++/13/cstdio:42,
  1108. from /usr/include/c++/13/ext/string_conversions.h:45,
  1109. from /usr/include/c++/13/bits/basic_string.h:4109,
  1110. from /usr/include/c++/13/string:54,
  1111. from filesys.h:29:
  1112. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1113. 153 | #define stdin stdin
  1114. |
  1115. boinc_stdio.h:31: warning: "stdout" redefined
  1116. 31 | #define stdout FCGI_stdout
  1117. |
  1118. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1119. 154 | #define stdout stdout
  1120. |
  1121. boinc_stdio.h:32: warning: "stderr" redefined
  1122. 32 | #define stderr FCGI_stderr
  1123. |
  1124. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1125. 155 | #define stderr stderr
  1126. |
  1127. CXX libboinc_fcgi_la-hostinfo.lo
  1128. In file included from miofile.h:21,
  1129. from parse.h:29,
  1130. from hostinfo.cpp:35:
  1131. boinc_stdio.h:30: warning: "stdin" redefined
  1132. 30 | #define stdin FCGI_stdin
  1133. |
  1134. In file included from /usr/include/c++/13/cstdio:42,
  1135. from hostinfo.cpp:25:
  1136. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1137. 153 | #define stdin stdin
  1138. |
  1139. boinc_stdio.h:31: warning: "stdout" redefined
  1140. 31 | #define stdout FCGI_stdout
  1141. |
  1142. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1143. 154 | #define stdout stdout
  1144. |
  1145. boinc_stdio.h:32: warning: "stderr" redefined
  1146. 32 | #define stderr FCGI_stderr
  1147. |
  1148. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1149. 155 | #define stderr stderr
  1150. |
  1151. CXX libboinc_fcgi_la-keyword.lo
  1152. In file included from miofile.h:21,
  1153. from parse.h:29,
  1154. from keyword.cpp:22:
  1155. boinc_stdio.h:30: warning: "stdin" redefined
  1156. 30 | #define stdin FCGI_stdin
  1157. |
  1158. In file included from keyword.cpp:20:
  1159. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1160. 153 | #define stdin stdin
  1161. |
  1162. boinc_stdio.h:31: warning: "stdout" redefined
  1163. 31 | #define stdout FCGI_stdout
  1164. |
  1165. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1166. 154 | #define stdout stdout
  1167. |
  1168. boinc_stdio.h:32: warning: "stderr" redefined
  1169. 32 | #define stderr FCGI_stderr
  1170. |
  1171. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1172. 155 | #define stderr stderr
  1173. |
  1174. CXX libboinc_fcgi_la-md5.lo
  1175. CXX libboinc_fcgi_la-md5_file.lo
  1176. In file included from md5_file.cpp:32:
  1177. boinc_stdio.h:30: warning: "stdin" redefined
  1178. 30 | #define stdin FCGI_stdin
  1179. |
  1180. In file included from /usr/include/fcgi_stdio.h:18,
  1181. from boinc_stdio.h:28:
  1182. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1183. 153 | #define stdin stdin
  1184. |
  1185. boinc_stdio.h:31: warning: "stdout" redefined
  1186. 31 | #define stdout FCGI_stdout
  1187. |
  1188. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1189. 154 | #define stdout stdout
  1190. |
  1191. boinc_stdio.h:32: warning: "stderr" redefined
  1192. 32 | #define stderr FCGI_stderr
  1193. |
  1194. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1195. 155 | #define stderr stderr
  1196. |
  1197. CXX libboinc_fcgi_la-mfile.lo
  1198. In file included from filesys.h:33,
  1199. from mfile.cpp:32:
  1200. boinc_stdio.h:30: warning: "stdin" redefined
  1201. 30 | #define stdin FCGI_stdin
  1202. |
  1203. In file included from /usr/include/c++/13/cstdio:42,
  1204. from mfile.cpp:22:
  1205. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1206. 153 | #define stdin stdin
  1207. |
  1208. boinc_stdio.h:31: warning: "stdout" redefined
  1209. 31 | #define stdout FCGI_stdout
  1210. |
  1211. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1212. 154 | #define stdout stdout
  1213. |
  1214. boinc_stdio.h:32: warning: "stderr" redefined
  1215. 32 | #define stderr FCGI_stderr
  1216. |
  1217. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1218. 155 | #define stderr stderr
  1219. |
  1220. CXX libboinc_fcgi_la-miofile.lo
  1221. In file included from miofile.h:21,
  1222. from miofile.cpp:30:
  1223. boinc_stdio.h:30: warning: "stdin" redefined
  1224. 30 | #define stdin FCGI_stdin
  1225. |
  1226. In file included from /usr/include/c++/13/cstdio:42,
  1227. from /usr/include/c++/13/ext/string_conversions.h:45,
  1228. from /usr/include/c++/13/bits/basic_string.h:4109,
  1229. from /usr/include/c++/13/string:54,
  1230. from miofile.cpp:22:
  1231. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1232. 153 | #define stdin stdin
  1233. |
  1234. boinc_stdio.h:31: warning: "stdout" redefined
  1235. 31 | #define stdout FCGI_stdout
  1236. |
  1237. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1238. 154 | #define stdout stdout
  1239. |
  1240. boinc_stdio.h:32: warning: "stderr" redefined
  1241. 32 | #define stderr FCGI_stderr
  1242. |
  1243. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1244. 155 | #define stderr stderr
  1245. |
  1246. CXX libboinc_fcgi_la-msg_log.lo
  1247. In file included from miofile.h:21,
  1248. from common_defs.h:32,
  1249. from util.h:30,
  1250. from msg_log.cpp:27:
  1251. boinc_stdio.h:30: warning: "stdin" redefined
  1252. 30 | #define stdin FCGI_stdin
  1253. |
  1254. In file included from /usr/include/c++/13/cstdio:42,
  1255. from /usr/include/c++/13/ext/string_conversions.h:45,
  1256. from /usr/include/c++/13/bits/basic_string.h:4109,
  1257. from /usr/include/c++/13/string:54,
  1258. from msg_log.cpp:22:
  1259. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1260. 153 | #define stdin stdin
  1261. |
  1262. boinc_stdio.h:31: warning: "stdout" redefined
  1263. 31 | #define stdout FCGI_stdout
  1264. |
  1265. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1266. 154 | #define stdout stdout
  1267. |
  1268. boinc_stdio.h:32: warning: "stderr" redefined
  1269. 32 | #define stderr FCGI_stderr
  1270. |
  1271. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1272. 155 | #define stderr stderr
  1273. |
  1274. CXX libboinc_fcgi_la-opencl_boinc.lo
  1275. In file included from opencl_boinc.cpp:21:
  1276. boinc_stdio.h:30: warning: "stdin" redefined
  1277. 30 | #define stdin FCGI_stdin
  1278. |
  1279. In file included from /usr/include/fcgi_stdio.h:18,
  1280. from boinc_stdio.h:28:
  1281. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1282. 153 | #define stdin stdin
  1283. |
  1284. boinc_stdio.h:31: warning: "stdout" redefined
  1285. 31 | #define stdout FCGI_stdout
  1286. |
  1287. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1288. 154 | #define stdout stdout
  1289. |
  1290. boinc_stdio.h:32: warning: "stderr" redefined
  1291. 32 | #define stderr FCGI_stderr
  1292. |
  1293. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1294. 155 | #define stderr stderr
  1295. |
  1296. opencl_boinc.cpp: In member function 'void OPENCL_CPU_PROP::write_xml(MIOFILE&)':
  1297. opencl_boinc.cpp:305:42: warning: unused parameter 'f' [-Wunused-parameter]
  1298. 305 | void OPENCL_CPU_PROP::write_xml(MIOFILE& f) {
  1299. | ~~~~~~~~~^
  1300. CXX libboinc_fcgi_la-parse.lo
  1301. In file included from parse.cpp:46:
  1302. boinc_stdio.h:30: warning: "stdin" redefined
  1303. 30 | #define stdin FCGI_stdin
  1304. |
  1305. In file included from /usr/include/c++/13/cstdio:42,
  1306. from /usr/include/c++/13/ext/string_conversions.h:45,
  1307. from /usr/include/c++/13/bits/basic_string.h:4109,
  1308. from /usr/include/c++/13/string:54,
  1309. from parse.cpp:33:
  1310. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1311. 153 | #define stdin stdin
  1312. |
  1313. boinc_stdio.h:31: warning: "stdout" redefined
  1314. 31 | #define stdout FCGI_stdout
  1315. |
  1316. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1317. 154 | #define stdout stdout
  1318. |
  1319. boinc_stdio.h:32: warning: "stderr" redefined
  1320. 32 | #define stderr FCGI_stderr
  1321. |
  1322. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1323. 155 | #define stderr stderr
  1324. |
  1325. CXX libboinc_fcgi_la-sched_msgs.lo
  1326. In file included from msg_log.h:24,
  1327. from sched_msgs.h:21,
  1328. from sched_msgs.cpp:20:
  1329. boinc_stdio.h:30: warning: "stdin" redefined
  1330. 30 | #define stdin FCGI_stdin
  1331. |
  1332. In file included from /usr/include/c++/13/cstdio:42,
  1333. from msg_log.h:21:
  1334. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1335. 153 | #define stdin stdin
  1336. |
  1337. boinc_stdio.h:31: warning: "stdout" redefined
  1338. 31 | #define stdout FCGI_stdout
  1339. |
  1340. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1341. 154 | #define stdout stdout
  1342. |
  1343. boinc_stdio.h:32: warning: "stderr" redefined
  1344. 32 | #define stderr FCGI_stderr
  1345. |
  1346. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1347. 155 | #define stderr stderr
  1348. |
  1349. CXX libboinc_fcgi_la-shmem.lo
  1350. In file included from shmem.cpp:67:
  1351. boinc_stdio.h:30: warning: "stdin" redefined
  1352. 30 | #define stdin FCGI_stdin
  1353. |
  1354. In file included from /usr/include/c++/13/cstdio:42,
  1355. from shmem.cpp:33:
  1356. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1357. 153 | #define stdin stdin
  1358. |
  1359. boinc_stdio.h:31: warning: "stdout" redefined
  1360. 31 | #define stdout FCGI_stdout
  1361. |
  1362. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1363. 154 | #define stdout stdout
  1364. |
  1365. boinc_stdio.h:32: warning: "stderr" redefined
  1366. 32 | #define stderr FCGI_stderr
  1367. |
  1368. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1369. 155 | #define stderr stderr
  1370. |
  1371. CXX libboinc_fcgi_la-str_util.lo
  1372. In file included from str_util.cpp:36:
  1373. boinc_stdio.h:30: warning: "stdin" redefined
  1374. 30 | #define stdin FCGI_stdin
  1375. |
  1376. In file included from /usr/include/c++/13/cstdio:42,
  1377. from /usr/include/c++/13/ext/string_conversions.h:45,
  1378. from /usr/include/c++/13/bits/basic_string.h:4109,
  1379. from /usr/include/c++/13/string:54,
  1380. from /usr/include/c++/13/bits/locale_classes.h:40,
  1381. from /usr/include/c++/13/bits/ios_base.h:41,
  1382. from /usr/include/c++/13/ios:44,
  1383. from /usr/include/c++/13/istream:40,
  1384. from /usr/include/c++/13/sstream:40,
  1385. from str_util.cpp:27:
  1386. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1387. 153 | #define stdin stdin
  1388. |
  1389. boinc_stdio.h:31: warning: "stdout" redefined
  1390. 31 | #define stdout FCGI_stdout
  1391. |
  1392. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1393. 154 | #define stdout stdout
  1394. |
  1395. boinc_stdio.h:32: warning: "stderr" redefined
  1396. 32 | #define stderr FCGI_stderr
  1397. |
  1398. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1399. 155 | #define stderr stderr
  1400. |
  1401. CXX libboinc_fcgi_la-synch.lo
  1402. In file included from synch.cpp:30:
  1403. boinc_stdio.h:30: warning: "stdin" redefined
  1404. 30 | #define stdin FCGI_stdin
  1405. |
  1406. In file included from /usr/include/c++/13/cstdio:42,
  1407. from synch.cpp:24:
  1408. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1409. 153 | #define stdin stdin
  1410. |
  1411. boinc_stdio.h:31: warning: "stdout" redefined
  1412. 31 | #define stdout FCGI_stdout
  1413. |
  1414. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1415. 154 | #define stdout stdout
  1416. |
  1417. boinc_stdio.h:32: warning: "stderr" redefined
  1418. 32 | #define stderr FCGI_stderr
  1419. |
  1420. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1421. 155 | #define stderr stderr
  1422. |
  1423. CXX libboinc_fcgi_la-url.lo
  1424. CXX libboinc_fcgi_la-util.lo
  1425. In file included from util.cpp:33:
  1426. boinc_stdio.h:30: warning: "stdin" redefined
  1427. 30 | #define stdin FCGI_stdin
  1428. |
  1429. In file included from /usr/include/fcgi_stdio.h:18,
  1430. from boinc_stdio.h:28:
  1431. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1432. 153 | #define stdin stdin
  1433. |
  1434. boinc_stdio.h:31: warning: "stdout" redefined
  1435. 31 | #define stdout FCGI_stdout
  1436. |
  1437. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1438. 154 | #define stdout stdout
  1439. |
  1440. boinc_stdio.h:32: warning: "stderr" redefined
  1441. 32 | #define stderr FCGI_stderr
  1442. |
  1443. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1444. 155 | #define stderr stderr
  1445. |
  1446. util.cpp: In function 'int run_command(char*, std::vector<std::__cxx11::basic_string<char> >&)':
  1447. util.cpp:288:23: warning: unused parameter 'cmd' [-Wunused-parameter]
  1448. 288 | int run_command(char *cmd, vector<string> &out) {
  1449. | ~~~~~~^~~
  1450. CXX libboinc_fcgi_la-wslinfo.lo
  1451. In file included from miofile.h:21,
  1452. from common_defs.h:32,
  1453. from wslinfo.cpp:23:
  1454. boinc_stdio.h:30: warning: "stdin" redefined
  1455. 30 | #define stdin FCGI_stdin
  1456. |
  1457. In file included from /usr/include/c++/13/cstdio:42,
  1458. from /usr/include/c++/13/ext/string_conversions.h:45,
  1459. from /usr/include/c++/13/bits/basic_string.h:4109,
  1460. from /usr/include/c++/13/string:54,
  1461. from /usr/include/c++/13/bitset:52,
  1462. from /usr/include/c++/13/regex:40,
  1463. from wslinfo.cpp:21:
  1464. /usr/include/stdio.h:153: note: this is the location of the previous definition
  1465. 153 | #define stdin stdin
  1466. |
  1467. boinc_stdio.h:31: warning: "stdout" redefined
  1468. 31 | #define stdout FCGI_stdout
  1469. |
  1470. /usr/include/stdio.h:154: note: this is the location of the previous definition
  1471. 154 | #define stdout stdout
  1472. |
  1473. boinc_stdio.h:32: warning: "stderr" redefined
  1474. 32 | #define stderr FCGI_stderr
  1475. |
  1476. /usr/include/stdio.h:155: note: this is the location of the previous definition
  1477. 155 | #define stderr stderr
  1478. |
  1479. CXXLD libboinc_fcgi.la
  1480. rm -f libboinc.a
  1481. /usr/bin/ln .libs/libboinc.a .
  1482. rm -f libboinc_fcgi.a
  1483. /usr/bin/ln .libs/libboinc_fcgi.a .
  1484. make[2]: Leaving directory '/home/boincadm/boinc/lib'
  1485. Making all in zip
  1486. make[2]: Entering directory '/home/boincadm/boinc/zip'
  1487. Making all in zip
  1488. make[3]: Entering directory '/home/boincadm/boinc/zip/zip'
  1489. make[3]: Nothing to be done for 'all'.
  1490. make[3]: Leaving directory '/home/boincadm/boinc/zip/zip'
  1491. Making all in unzip
  1492. make[3]: Entering directory '/home/boincadm/boinc/zip/unzip'
  1493. make[3]: Nothing to be done for 'all'.
  1494. make[3]: Leaving directory '/home/boincadm/boinc/zip/unzip'
  1495. make[3]: Entering directory '/home/boincadm/boinc/zip'
  1496. CXX boinc_zip.lo
  1497. CXXLD libboinc_zip.la
  1498. rm -f libboinc_zip.a
  1499. /usr/bin/ln .libs/libboinc_zip.a .
  1500. make[3]: Leaving directory '/home/boincadm/boinc/zip'
  1501. make[2]: Leaving directory '/home/boincadm/boinc/zip'
  1502. Making all in db
  1503. make[2]: Entering directory '/home/boincadm/boinc/db'
  1504. make[2]: Nothing to be done for 'all'.
  1505. make[2]: Leaving directory '/home/boincadm/boinc/db'
  1506. Making all in py
  1507. make[2]: Entering directory '/home/boincadm/boinc/py'
  1508. python setup.py build --build-base=../py
  1509. make[2]: Leaving directory '/home/boincadm/boinc/py'
  1510. Making all in sched
  1511. make[2]: Entering directory '/home/boincadm/boinc/sched'
  1512. CXX adjust_user_priority.o
  1513. CXXLD adjust_user_priority
  1514. CXX delete_file.o
  1515. CXXLD delete_file
  1516. CXX get_file.o
  1517. CXXLD get_file
  1518. CXX make_work.o
  1519. CXXLD make_work
  1520. CXX put_file.o
  1521. CXXLD put_file
  1522. CXX sched_driver.o
  1523. CXXLD sched_driver
  1524. CXX show_shmem.o
  1525. CXXLD show_shmem
  1526. CXX wu_check.o
  1527. CXXLD wu_check
  1528. CXX credit.o
  1529. CXX edf_sim.o
  1530. CXX handle_request.o
  1531. handle_request.cpp: In function ‘void process_request(char*)’:
  1532. handle_request.cpp:1234:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct WORK_REQ’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  1533. 1234 | memset(&g_reply->wreq, 0, sizeof(g_reply->wreq));
  1534. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1535. In file included from sched_main.h:21,
  1536. from handle_request.cpp:50:
  1537. sched_types.h:516:8: note: ‘struct WORK_REQ’ declared here
  1538. 516 | struct WORK_REQ : public WORK_REQ_BASE {
  1539. | ^~~~~~~~
  1540. handle_request.cpp: In function ‘int lock_sched()’:
  1541. handle_request.cpp:135:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  1542. 135 | sprintf(filename, "%s/CGI_%07lu",
  1543. | ^~~~~
  1544. handle_request.cpp:135:23: note: using the range [0, 18446744073709551615] for directive argument
  1545. 135 | sprintf(filename, "%s/CGI_%07lu",
  1546. | ^~~~~~~~~~~~~~
  1547. In file included from /usr/include/stdio.h:980,
  1548. from /usr/include/c++/13/cstdio:42,
  1549. from ../lib/boinc_stdio.h:35,
  1550. from handle_request.cpp:21:
  1551. In function ‘int sprintf(char*, const char*, ...)’,
  1552. inlined from ‘int lock_sched()’ at handle_request.cpp:135:12:
  1553. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 13 and 281 bytes into a destination of size 256
  1554. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1555. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1556. 31 | __glibc_objsize (__s), __fmt,
  1557. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1558. 32 | __va_arg_pack ());
  1559. | ~~~~~~~~~~~~~~~~~
  1560. handle_request.cpp: In function ‘void unlock_sched()’:
  1561. handle_request.cpp:172:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  1562. 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
  1563. | ^~~~~
  1564. handle_request.cpp:172:23: note: using the range [0, 18446744073709551615] for directive argument
  1565. 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
  1566. | ^~~~~~~~~~~~~~
  1567. In function ‘int sprintf(char*, const char*, ...)’,
  1568. inlined from ‘void unlock_sched()’ at handle_request.cpp:172:12:
  1569. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 13 and 281 bytes into a destination of size 256
  1570. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1571. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1572. 31 | __glibc_objsize (__s), __fmt,
  1573. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1574. 32 | __va_arg_pack ());
  1575. | ~~~~~~~~~~~~~~~~~
  1576. handle_request.cpp: In function ‘int authenticate_user()’:
  1577. handle_request.cpp:102:121: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 380 and 1951 [-Wformat-overflow=]
  1578. 102 | ame='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
  1579. | ^~
  1580.  
  1581. 103 | , user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
  1582. | ~~
  1583.  
  1584. In function ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’,
  1585. inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
  1586. handle_request.cpp:102:13: note: assuming directive output of 8 bytes
  1587. 102 | "where userid=%lu and id>%lu and domain_name='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
  1588. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1589. 103 | " and m_nbytes = %lf order by id desc", user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
  1590. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1591. In function ‘int sprintf(char*, const char*, ...)’,
  1592. inlined from ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’ at handle_request.cpp:101:16,
  1593. inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
  1594. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 135 and 2531 bytes into a destination of size 2048
  1595. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1596. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1597. 31 | __glibc_objsize (__s), __fmt,
  1598. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1599. 32 | __va_arg_pack ());
  1600. | ~~~~~~~~~~~~~~~~~
  1601. handle_request.cpp: In function ‘void process_request(char*)’:
  1602. handle_request.cpp:1398:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 204 [-Wformat-overflow=]
  1603. 1398 | sprintf(buf, "%s %s",
  1604. | ^~
  1605. In function ‘int sprintf(char*, const char*, ...)’,
  1606. inlined from ‘void process_request(char*)’ at handle_request.cpp:1398:16:
  1607. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 53 and 308 bytes into a destination of size 256
  1608. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1609. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1610. 31 | __glibc_objsize (__s), __fmt,
  1611. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1612. 32 | __va_arg_pack ());
  1613. | ~~~~~~~~~~~~~~~~~
  1614. CXX hr.o
  1615. CXX hr_info.o
  1616. CXX plan_class_spec.o
  1617. plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
  1618. plan_class_spec.cpp:276:26: warning: ‘ ’ directive writing 1 byte into a region of size between 0 and 8191 [-Wformat-overflow=]
  1619. 276 | sprintf(buf, " %s ", sreq.host.p_features);
  1620. | ^
  1621. In file included from /usr/include/stdio.h:980,
  1622. from /usr/include/c++/13/cstdio:42,
  1623. from /usr/include/c++/13/ext/string_conversions.h:45,
  1624. from /usr/include/c++/13/bits/basic_string.h:4109,
  1625. from /usr/include/c++/13/string:54,
  1626. from ../lib/util.h:24,
  1627. from plan_class_spec.cpp:23:
  1628. In function ‘int sprintf(char*, const char*, ...)’,
  1629. inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:276:16:
  1630. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 8194 bytes into a destination of size 8192
  1631. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1632. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1633. 31 | __glibc_objsize (__s), __fmt,
  1634. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1635. 32 | __va_arg_pack ());
  1636. | ~~~~~~~~~~~~~~~~~
  1637. plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
  1638. plan_class_spec.cpp:613:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
  1639. 613 | sprintf(tag,"<%s>",project_prefs_tag);
  1640. | ^
  1641. In function ‘int sprintf(char*, const char*, ...)’,
  1642. inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:613:16:
  1643. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination of size 256
  1644. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1645. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1646. 31 | __glibc_objsize (__s), __fmt,
  1647. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1648. 32 | __va_arg_pack ());
  1649. | ~~~~~~~~~~~~~~~~~
  1650. plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
  1651. plan_class_spec.cpp:643:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
  1652. 643 | sprintf(tag,"<%s>",gpu_utilization_tag);
  1653. | ^
  1654. In function ‘int sprintf(char*, const char*, ...)’,
  1655. inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:643:16:
  1656. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination of size 256
  1657. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1658. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1659. 31 | __glibc_objsize (__s), __fmt,
  1660. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1661. 32 | __va_arg_pack ());
  1662. | ~~~~~~~~~~~~~~~~~
  1663. CXX sched_array.o
  1664. CXX sched_assign.o
  1665. CXX sched_check.o
  1666. CXX sched_customize.o
  1667. sched_customize.cpp: In function ‘bool app_plan_wsl(SCHEDULER_REQUEST&, char*, HOST_USAGE&)’:
  1668. sched_customize.cpp:963:24: warning: unused parameter ‘sreq’ [-Wunused-parameter]
  1669. 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
  1670. | ~~~~~~~~~~~~~~~~~~~^~~~
  1671. sched_customize.cpp:963:36: warning: unused parameter ‘plan_class’ [-Wunused-parameter]
  1672. 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
  1673. | ~~~~~~^~~~~~~~~~
  1674. sched_customize.cpp:963:60: warning: unused parameter ‘hu’ [-Wunused-parameter]
  1675. 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
  1676. | ~~~~~~~~~~~~^~
  1677. CXX sched_files.o
  1678. CXX sched_hr.o
  1679. CXX sched_keyword.o
  1680. CXX sched_limit.o
  1681. CXX sched_locality.o
  1682. sched_locality.cpp: In function ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’:
  1683. sched_locality.cpp:864:36: warning: ‘__~’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  1684. 864 | sprintf(min_resultname, "%s__~", filename);
  1685. | ^~~
  1686. In file included from /usr/include/stdio.h:980,
  1687. from /usr/include/c++/13/cstdio:42,
  1688. from sched_locality.cpp:32:
  1689. In function ‘int sprintf(char*, const char*, ...)’,
  1690. inlined from ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’ at sched_locality.cpp:864:16:
  1691. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 4 and 259 bytes into a destination of size 256
  1692. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1693. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1694. 31 | __glibc_objsize (__s), __fmt,
  1695. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1696. 32 | __va_arg_pack ());
  1697. | ~~~~~~~~~~~~~~~~~
  1698. CXX sched_main.o
  1699. sched_main.cpp: In function ‘int main(int, char**)’:
  1700. sched_main.cpp:423:55: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 228 [-Wformat-overflow=]
  1701. 423 | sprintf(buf, "Server can't open log file (%s)", path);
  1702. | ^~ ~~~~
  1703. In file included from /usr/include/stdio.h:980,
  1704. from /usr/include/c++/13/cstdio:42,
  1705. from ../lib/boinc_stdio.h:35,
  1706. from sched_main.cpp:34:
  1707. In function ‘int sprintf(char*, const char*, ...)’,
  1708. inlined from ‘int main(int, char**)’ at sched_main.cpp:423:20:
  1709. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 30 and 4125 bytes into a destination of size 256
  1710. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1711. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1712. 31 | __glibc_objsize (__s), __fmt,
  1713. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1714. 32 | __va_arg_pack ());
  1715. | ~~~~~~~~~~~~~~~~~
  1716. CXX sched_nci.o
  1717. CXX sched_resend.o
  1718. sched_resend.cpp: In function ‘bool resend_lost_work()’:
  1719. sched_resend.cpp:268:52: warning: ‘%s’ directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
  1720. 268 | sprintf(warning_msg, "Resent lost task %s", result.name);
  1721. | ^~ ~~~~~~~~~~~
  1722. In file included from /usr/include/stdio.h:980,
  1723. from /usr/include/c++/13/cstdio:42,
  1724. from /usr/include/c++/13/ext/string_conversions.h:45,
  1725. from /usr/include/c++/13/bits/basic_string.h:4109,
  1726. from /usr/include/c++/13/string:54,
  1727. from sched_resend.cpp:32:
  1728. In function ‘int sprintf(char*, const char*, ...)’,
  1729. inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:268:20:
  1730. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 18 and 273 bytes into a destination of size 256
  1731. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1732. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1733. 31 | __glibc_objsize (__s), __fmt,
  1734. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1735. 32 | __va_arg_pack ());
  1736. | ~~~~~~~~~~~~~~~~~
  1737. sched_resend.cpp: In function ‘bool resend_lost_work()’:
  1738. sched_resend.cpp:248:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=]
  1739. 248 | "Didn't resend lost task %s (expired)", result.name
  1740. | ^~ ~~~~~~~~~~~
  1741. In function ‘int sprintf(char*, const char*, ...)’,
  1742. inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:247:20:
  1743. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 35 and 290 bytes into a destination of size 256
  1744. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1745. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1746. 31 | __glibc_objsize (__s), __fmt,
  1747. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1748. 32 | __va_arg_pack ());
  1749. | ~~~~~~~~~~~~~~~~~
  1750. CXX sched_result.o
  1751. CXX sched_score.o
  1752. sched_score.cpp: In constructor ‘JOB::JOB()’:
  1753. sched_score.cpp:54:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct JOB’; use assignment or value-initialization instead [-Wclass-memaccess]
  1754. 54 | memset(this, 0, sizeof(JOB));
  1755. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  1756. In file included from sched_score.cpp:42:
  1757. sched_score.h:20:8: note: ‘struct JOB’ declared here
  1758. 20 | struct JOB {
  1759. | ^~~
  1760. CXX sched_send.o
  1761. sched_send.cpp: In function ‘void check_buda_plan_class(WORKUNIT&, HOST_USAGE&, bool&, bool&)’:
  1762. sched_send.cpp:945:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation]
  1763. 945 | strncpy(buf, p, 256);
  1764. | ^
  1765. sched_send.cpp: In function ‘void send_user_messages()’:
  1766. sched_send.cpp:1380:57: warning: ‘%s’ directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=]
  1767. 1380 | "No tasks are available for %s",
  1768. | ^~
  1769. In file included from /usr/include/stdio.h:980,
  1770. from /usr/include/c++/13/cstdio:42,
  1771. from /usr/include/c++/13/ext/string_conversions.h:45,
  1772. from /usr/include/c++/13/bits/basic_string.h:4109,
  1773. from /usr/include/c++/13/string:54,
  1774. from sched_send.cpp:25:
  1775. In function ‘int sprintf(char*, const char*, ...)’,
  1776. inlined from ‘void send_user_messages()’ at sched_send.cpp:1379:32:
  1777. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 28 and 283 bytes into a destination of size 256
  1778. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1779. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1780. 31 | __glibc_objsize (__s), __fmt,
  1781. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1782. 32 | __va_arg_pack ());
  1783. | ~~~~~~~~~~~~~~~~~
  1784. sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
  1785. sched_send.cpp:700:25: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=]
  1786. 700 | sprintf(buf, "<name>%s</name>\n", result.name);
  1787. | ^~
  1788. In function ‘int sprintf(char*, const char*, ...)’,
  1789. inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:700:12,
  1790. inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
  1791. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256
  1792. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1793. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1794. 31 | __glibc_objsize (__s), __fmt,
  1795. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1796. 32 | __va_arg_pack ());
  1797. | ~~~~~~~~~~~~~~~~~
  1798. sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
  1799. sched_send.cpp:703:28: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=]
  1800. 703 | sprintf(buf, "<wu_name>%s</wu_name>\n", wu.name);
  1801. | ^~
  1802. In function ‘int sprintf(char*, const char*, ...)’,
  1803. inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:703:12,
  1804. inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
  1805. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 21 and 276 bytes into a destination of size 256
  1806. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1807. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1808. 31 | __glibc_objsize (__s), __fmt,
  1809. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1810. 32 | __va_arg_pack ());
  1811. | ~~~~~~~~~~~~~~~~~
  1812. CXX sched_timezone.o
  1813. CXX sched_vda.o
  1814. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  1815. ../vda/sched_vda.cpp:175:19: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
  1816. 175 | sprintf(buf, "%s/data.vda", chunk_dir);
  1817. | ^~ ~~~~~~~~~
  1818. In file included from /usr/include/stdio.h:980,
  1819. from /usr/include/c++/13/cstdio:42,
  1820. from ../lib/boinc_stdio.h:35,
  1821. from ../vda/sched_vda.cpp:21:
  1822. In function ‘int sprintf(char*, const char*, ...)’,
  1823. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:175:12:
  1824. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 1033 bytes into a destination of size 256
  1825. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1826. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1827. 31 | __glibc_objsize (__s), __fmt,
  1828. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1829. 32 | __va_arg_pack ());
  1830. | ~~~~~~~~~~~~~~~~~
  1831. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  1832. ../vda/sched_vda.cpp:192:27: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
  1833. 192 | sprintf(buf, "%s/data.vda", chunk_dir);
  1834. | ^~ ~~~~~~~~~
  1835. In function ‘int sprintf(char*, const char*, ...)’,
  1836. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:192:20:
  1837. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 1033 bytes into a destination of size 256
  1838. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1839. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1840. 31 | __glibc_objsize (__s), __fmt,
  1841. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1842. 32 | __va_arg_pack ());
  1843. | ~~~~~~~~~~~~~~~~~
  1844. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  1845. ../vda/sched_vda.cpp:200:34: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 253 [-Wformat-overflow=]
  1846. 200 | sprintf(buf, "mv %s %s; chmod g+rw %s", path, dst_path, dst_path);
  1847. | ^~ ~~~~
  1848. In function ‘int sprintf(char*, const char*, ...)’,
  1849. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:200:24:
  1850. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 18 and 6159 bytes into a destination of size 256
  1851. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1852. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1853. 31 | __glibc_objsize (__s), __fmt,
  1854. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1855. 32 | __va_arg_pack ());
  1856. | ~~~~~~~~~~~~~~~~~
  1857. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  1858. ../vda/sched_vda.cpp:215:55: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 203 and 222 [-Wformat-overflow=]
  1859. 215 | sprintf(buf, "host_id=%lu and physical_file_name='%s'",
  1860. | ^~
  1861. In function ‘int sprintf(char*, const char*, ...)’,
  1862. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:215:12:
  1863. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 36 and 310 bytes into a destination of size 256
  1864. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1865. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1866. 31 | __glibc_objsize (__s), __fmt,
  1867. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1868. 32 | __va_arg_pack ());
  1869. | ~~~~~~~~~~~~~~~~~
  1870. ../vda/sched_vda.cpp: In function ‘int issue_transfer_commands(CHUNK_LIST&)’:
  1871. ../vda/sched_vda.cpp:103:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  1872. 103 | sprintf(url, "%s/%s/data.vda", buf, chunk_dirs);
  1873. | ^~ ~~~~~~~~~~
  1874. In function ‘int sprintf(char*, const char*, ...)’,
  1875. inlined from ‘void get_chunk_url(DB_VDA_FILE&, const char*, char*)’ at ../vda/sched_vda.cpp:103:12,
  1876. inlined from ‘int issue_transfer_commands(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:469:26:
  1877. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 11 and 1289 bytes into a destination of size 1024
  1878. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1879. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1880. 31 | __glibc_objsize (__s), __fmt,
  1881. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1882. 32 | __va_arg_pack ());
  1883. | ~~~~~~~~~~~~~~~~~
  1884. ../vda/sched_vda.cpp: In function ‘void handle_vda()’:
  1885. ../vda/sched_vda.cpp:334:74: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 166 and 204 [-Wformat-overflow=]
  1886. 334 | "host_id=%lu and vda_file_id=%lu and physical_file_name='%s'",
  1887. | ^~
  1888.  
  1889. In function ‘int sprintf(char*, const char*, ...)’,
  1890. inlined from ‘int process_chunks_missing_on_client(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:333:20,
  1891. inlined from ‘void handle_vda()’ at ../vda/sched_vda.cpp:587:37:
  1892. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 54 and 347 bytes into a destination of size 256
  1893. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1894. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1895. 31 | __glibc_objsize (__s), __fmt,
  1896. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1897. 32 | __va_arg_pack ());
  1898. | ~~~~~~~~~~~~~~~~~
  1899. CXX sched_version.o
  1900. sched_version.cpp: In function ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’:
  1901. sched_version.cpp:240:17: warning: ‘%s’ directive writing up to 255 bytes into a region of size 195 [-Wformat-overflow=]
  1902. 240 | "%s %s.",
  1903. | ^~
  1904. In file included from /usr/include/stdio.h:980,
  1905. from /usr/include/c++/13/cstdio:42,
  1906. from ../db/boinc_db.h:35,
  1907. from sched_version.cpp:30:
  1908. In function ‘int sprintf(char*, const char*, ...)’,
  1909. inlined from ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’ at sched_version.cpp:239:16:
  1910. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 63 and 318 bytes into a destination of size 256
  1911. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1912. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1913. 31 | __glibc_objsize (__s), __fmt,
  1914. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1915. 32 | __va_arg_pack ());
  1916. | ~~~~~~~~~~~~~~~~~
  1917. CXX sched_types.o
  1918. sched_types.cpp: In member function ‘int CLIENT_APP_VERSION::parse(XML_PARSER&)’:
  1919. sched_types.cpp:64:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct CLIENT_APP_VERSION’; use assignment or value-initialization instead [-Wclass-memaccess]
  1920. 64 | memset(this, 0, sizeof(*this));
  1921. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  1922. In file included from sched_main.h:21,
  1923. from sched_types.cpp:33:
  1924. sched_types.h:149:8: note: ‘struct CLIENT_APP_VERSION’ declared here
  1925. 149 | struct CLIENT_APP_VERSION {
  1926. | ^~~~~~~~~~~~~~~~~~
  1927. sched_types.cpp: In member function ‘const char* SCHEDULER_REQUEST::parse(XML_PARSER&)’:
  1928. sched_types.cpp:313:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct HOST’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  1929. 313 | memset(&host, 0, sizeof(host));
  1930. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  1931. In file included from ../db/boinc_db.h:40,
  1932. from sched_types.cpp:32:
  1933. ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
  1934. 270 | struct HOST {
  1935. | ^~~~
  1936. sched_types.cpp: In constructor ‘SCHEDULER_REPLY::SCHEDULER_REPLY()’:
  1937. sched_types.cpp:741:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct HOST’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  1938. 741 | memset(&host, 0, sizeof(host));
  1939. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  1940. ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
  1941. 270 | struct HOST {
  1942. | ^~~~
  1943. sched_types.cpp: In member function ‘int SCHED_DB_RESULT::parse_from_client(XML_PARSER&)’:
  1944. sched_types.cpp:1303:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct SCHED_DB_RESULT’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  1945. 1303 | memset(this, 0, sizeof(*this));
  1946. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  1947. sched_types.h:204:8: note: ‘struct SCHED_DB_RESULT’ declared here
  1948. 204 | struct SCHED_DB_RESULT : DB_RESULT {
  1949. | ^~~~~~~~~~~~~~~
  1950. sched_types.cpp: In function ‘void get_rss_auth(USER&, char*)’:
  1951. sched_types.cpp:1602:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  1952. 1602 | sprintf(buf2, "%s%s%s", user.authenticator, user.passwd_hash, "notify_rss");
  1953. | ^~
  1954. In file included from /usr/include/stdio.h:980,
  1955. from /usr/include/c++/13/cstdio:42,
  1956. from /usr/include/c++/13/ext/string_conversions.h:45,
  1957. from /usr/include/c++/13/bits/basic_string.h:4109,
  1958. from /usr/include/c++/13/string:54,
  1959. from sched_types.cpp:24:
  1960. In function ‘int sprintf(char*, const char*, ...)’,
  1961. inlined from ‘void get_rss_auth(USER&, char*)’ at sched_types.cpp:1602:12:
  1962. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 11 and 521 bytes into a destination of size 256
  1963. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1964. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1965. 31 | __glibc_objsize (__s), __fmt,
  1966. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1967. 32 | __va_arg_pack ());
  1968. | ~~~~~~~~~~~~~~~~~
  1969. CXX time_stats_log.o
  1970. CXXLD cgi
  1971. CXX file_upload_handler.o
  1972. file_upload_handler.cpp: In function ‘int get_key(R_RSA_PUBLIC_KEY&)’:
  1973. file_upload_handler.cpp:608:21: warning: ‘/upload_public’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  1974. 608 | sprintf(buf, "%s/upload_public", config.key_dir);
  1975. | ^~~~~~~~~~~~~~
  1976. In file included from /usr/include/stdio.h:980,
  1977. from /usr/include/c++/13/cstdio:42,
  1978. from /usr/include/c++/13/ext/string_conversions.h:45,
  1979. from /usr/include/c++/13/bits/basic_string.h:4109,
  1980. from /usr/include/c++/13/string:54,
  1981. from file_upload_handler.cpp:32:
  1982. In function ‘int sprintf(char*, const char*, ...)’,
  1983. inlined from ‘int get_key(R_RSA_PUBLIC_KEY&)’ at file_upload_handler.cpp:608:12:
  1984. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256
  1985. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  1986. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1987. 31 | __glibc_objsize (__s), __fmt,
  1988. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1989. 32 | __va_arg_pack ());
  1990. | ~~~~~~~~~~~~~~~~~
  1991. CXX sched_config.o
  1992. sched_config.cpp: In member function ‘int SCHED_CONFIG::parse(FILE*)’:
  1993. sched_config.cpp:78:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct SCHED_CONFIG’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  1994. 78 | memset(this, 0, sizeof(*this));
  1995. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  1996. In file included from sched_config.cpp:34:
  1997. sched_config.h:43:8: note: ‘struct SCHED_CONFIG’ declared here
  1998. 43 | struct SCHED_CONFIG {
  1999. | ^~~~~~~~~~~~
  2000. CXX sched_util_basic.o
  2001. sched_util_basic.cpp: In function ‘int dir_hier_path(const char*, const char*, int, char*, bool)’:
  2002. sched_util_basic.cpp:238:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  2003. 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
  2004. | ^
  2005. In file included from /usr/include/stdio.h:980,
  2006. from /usr/include/c++/13/cstdio:42,
  2007. from /usr/include/c++/13/ext/string_conversions.h:45,
  2008. from /usr/include/c++/13/bits/basic_string.h:4109,
  2009. from /usr/include/c++/13/string:54,
  2010. from /usr/include/c++/13/bits/locale_classes.h:40,
  2011. from /usr/include/c++/13/bits/ios_base.h:41,
  2012. from /usr/include/c++/13/ios:44,
  2013. from /usr/include/c++/13/istream:40,
  2014. from /usr/include/c++/13/sstream:40,
  2015. from sched_util_basic.cpp:25:
  2016. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  2017. inlined from ‘int dir_hier_path(const char*, const char*, int, char*, bool)’ at sched_util_basic.cpp:238:13:
  2018. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
  2019. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  2020. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2021. 55 | __glibc_objsize (__s), __fmt,
  2022. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2023. 56 | __va_arg_pack ());
  2024. | ~~~~~~~~~~~~~~~~~
  2025. CXXLD file_upload_handler
  2026. CXX fcgi-credit.o
  2027. In file included from ../lib/miofile.h:21,
  2028. from ../lib/common_defs.h:32,
  2029. from ../lib/opencl_boinc.h:22,
  2030. from ../db/boinc_db_types.h:28,
  2031. from ../db/boinc_db.h:40,
  2032. from credit.cpp:27:
  2033. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2034. 30 | #define stdin FCGI_stdin
  2035. |
  2036. In file included from /usr/include/c++/13/cstdio:42,
  2037. from ../db/boinc_db.h:35:
  2038. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2039. 153 | #define stdin stdin
  2040. |
  2041. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2042. 31 | #define stdout FCGI_stdout
  2043. |
  2044. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2045. 154 | #define stdout stdout
  2046. |
  2047. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2048. 32 | #define stderr FCGI_stderr
  2049. |
  2050. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2051. 155 | #define stderr stderr
  2052. |
  2053. CXX fcgi-edf_sim.o
  2054. In file included from edf_sim.cpp:25:
  2055. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2056. 30 | #define stdin FCGI_stdin
  2057. |
  2058. In file included from /usr/include/fcgi_stdio.h:18,
  2059. from ../lib/boinc_stdio.h:28:
  2060. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2061. 153 | #define stdin stdin
  2062. |
  2063. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2064. 31 | #define stdout FCGI_stdout
  2065. |
  2066. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2067. 154 | #define stdout stdout
  2068. |
  2069. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2070. 32 | #define stderr FCGI_stderr
  2071. |
  2072. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2073. 155 | #define stderr stderr
  2074. |
  2075. CXX fcgi-handle_request.o
  2076. In file included from handle_request.cpp:21:
  2077. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2078. 30 | #define stdin FCGI_stdin
  2079. |
  2080. In file included from /usr/include/fcgi_stdio.h:18,
  2081. from ../lib/boinc_stdio.h:28:
  2082. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2083. 153 | #define stdin stdin
  2084. |
  2085. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2086. 31 | #define stdout FCGI_stdout
  2087. |
  2088. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2089. 154 | #define stdout stdout
  2090. |
  2091. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2092. 32 | #define stderr FCGI_stderr
  2093. |
  2094. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2095. 155 | #define stderr stderr
  2096. |
  2097. handle_request.cpp: In function ‘void process_request(char*)’:
  2098. handle_request.cpp:1234:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct WORK_REQ’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  2099. 1234 | memset(&g_reply->wreq, 0, sizeof(g_reply->wreq));
  2100. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2101. In file included from sched_main.h:21,
  2102. from handle_request.cpp:50:
  2103. sched_types.h:516:8: note: ‘struct WORK_REQ’ declared here
  2104. 516 | struct WORK_REQ : public WORK_REQ_BASE {
  2105. | ^~~~~~~~
  2106. handle_request.cpp: In function ‘int lock_sched()’:
  2107. handle_request.cpp:135:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  2108. 135 | sprintf(filename, "%s/CGI_%07lu",
  2109. | ^~~~~
  2110. handle_request.cpp:135:23: note: using the range [0, 18446744073709551615] for directive argument
  2111. 135 | sprintf(filename, "%s/CGI_%07lu",
  2112. | ^~~~~~~~~~~~~~
  2113. In file included from /usr/include/stdio.h:980:
  2114. In function ‘int sprintf(char*, const char*, ...)’,
  2115. inlined from ‘int lock_sched()’ at handle_request.cpp:135:12:
  2116. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 13 and 281 bytes into a destination of size 256
  2117. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2118. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2119. 31 | __glibc_objsize (__s), __fmt,
  2120. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2121. 32 | __va_arg_pack ());
  2122. | ~~~~~~~~~~~~~~~~~
  2123. handle_request.cpp: In function ‘void unlock_sched()’:
  2124. handle_request.cpp:172:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  2125. 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
  2126. | ^~~~~
  2127. handle_request.cpp:172:23: note: using the range [0, 18446744073709551615] for directive argument
  2128. 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
  2129. | ^~~~~~~~~~~~~~
  2130. In function ‘int sprintf(char*, const char*, ...)’,
  2131. inlined from ‘void unlock_sched()’ at handle_request.cpp:172:12:
  2132. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 13 and 281 bytes into a destination of size 256
  2133. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2134. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2135. 31 | __glibc_objsize (__s), __fmt,
  2136. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2137. 32 | __va_arg_pack ());
  2138. | ~~~~~~~~~~~~~~~~~
  2139. handle_request.cpp: In function ‘int authenticate_user()’:
  2140. handle_request.cpp:102:121: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 380 and 1951 [-Wformat-overflow=]
  2141. 102 | ame='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
  2142. | ^~
  2143.  
  2144. 103 | , user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
  2145. | ~~
  2146.  
  2147. In function ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’,
  2148. inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
  2149. handle_request.cpp:102:13: note: assuming directive output of 8 bytes
  2150. 102 | "where userid=%lu and id>%lu and domain_name='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
  2151. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2152. 103 | " and m_nbytes = %lf order by id desc", user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
  2153. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2154. In function ‘int sprintf(char*, const char*, ...)’,
  2155. inlined from ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’ at handle_request.cpp:101:16,
  2156. inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
  2157. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 135 and 2531 bytes into a destination of size 2048
  2158. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2159. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2160. 31 | __glibc_objsize (__s), __fmt,
  2161. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2162. 32 | __va_arg_pack ());
  2163. | ~~~~~~~~~~~~~~~~~
  2164. handle_request.cpp: In function ‘void process_request(char*)’:
  2165. handle_request.cpp:1398:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 204 [-Wformat-overflow=]
  2166. 1398 | sprintf(buf, "%s %s",
  2167. | ^~
  2168. In function ‘int sprintf(char*, const char*, ...)’,
  2169. inlined from ‘void process_request(char*)’ at handle_request.cpp:1398:16:
  2170. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 53 and 308 bytes into a destination of size 256
  2171. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2172. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2173. 31 | __glibc_objsize (__s), __fmt,
  2174. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2175. 32 | __va_arg_pack ());
  2176. | ~~~~~~~~~~~~~~~~~
  2177. CXX fcgi-hr.o
  2178. In file included from ../lib/miofile.h:21,
  2179. from ../lib/common_defs.h:32,
  2180. from ../lib/opencl_boinc.h:22,
  2181. from ../db/boinc_db_types.h:28,
  2182. from ../db/boinc_db.h:40,
  2183. from hr.h:21,
  2184. from hr.cpp:23:
  2185. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2186. 30 | #define stdin FCGI_stdin
  2187. |
  2188. In file included from /usr/include/c++/13/cstdio:42,
  2189. from /usr/include/c++/13/ext/string_conversions.h:45,
  2190. from /usr/include/c++/13/bits/basic_string.h:4109,
  2191. from /usr/include/c++/13/string:54,
  2192. from ../lib/str_util.h:21,
  2193. from hr.cpp:21:
  2194. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2195. 153 | #define stdin stdin
  2196. |
  2197. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2198. 31 | #define stdout FCGI_stdout
  2199. |
  2200. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2201. 154 | #define stdout stdout
  2202. |
  2203. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2204. 32 | #define stderr FCGI_stderr
  2205. |
  2206. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2207. 155 | #define stderr stderr
  2208. |
  2209. CXX fcgi-hr_info.o
  2210. In file included from ../lib/miofile.h:21,
  2211. from ../lib/common_defs.h:32,
  2212. from ../lib/opencl_boinc.h:22,
  2213. from ../db/boinc_db_types.h:28,
  2214. from ../db/boinc_db.h:40,
  2215. from hr.h:21,
  2216. from hr_info.h:28,
  2217. from hr_info.cpp:22:
  2218. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2219. 30 | #define stdin FCGI_stdin
  2220. |
  2221. In file included from /usr/include/c++/13/cstdio:42,
  2222. from ../db/boinc_db.h:35:
  2223. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2224. 153 | #define stdin stdin
  2225. |
  2226. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2227. 31 | #define stdout FCGI_stdout
  2228. |
  2229. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2230. 154 | #define stdout stdout
  2231. |
  2232. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2233. 32 | #define stderr FCGI_stderr
  2234. |
  2235. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2236. 155 | #define stderr stderr
  2237. |
  2238. CXX fcgi-plan_class_spec.o
  2239. In file included from ../lib/miofile.h:21,
  2240. from ../lib/common_defs.h:32,
  2241. from ../lib/util.h:30,
  2242. from plan_class_spec.cpp:23:
  2243. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2244. 30 | #define stdin FCGI_stdin
  2245. |
  2246. In file included from /usr/include/c++/13/cstdio:42,
  2247. from /usr/include/c++/13/ext/string_conversions.h:45,
  2248. from /usr/include/c++/13/bits/basic_string.h:4109,
  2249. from /usr/include/c++/13/string:54,
  2250. from ../lib/util.h:24:
  2251. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2252. 153 | #define stdin stdin
  2253. |
  2254. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2255. 31 | #define stdout FCGI_stdout
  2256. |
  2257. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2258. 154 | #define stdout stdout
  2259. |
  2260. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2261. 32 | #define stderr FCGI_stderr
  2262. |
  2263. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2264. 155 | #define stderr stderr
  2265. |
  2266. plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
  2267. plan_class_spec.cpp:276:26: warning: ‘ ’ directive writing 1 byte into a region of size between 0 and 8191 [-Wformat-overflow=]
  2268. 276 | sprintf(buf, " %s ", sreq.host.p_features);
  2269. | ^
  2270. In file included from /usr/include/stdio.h:980:
  2271. In function ‘int sprintf(char*, const char*, ...)’,
  2272. inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:276:16:
  2273. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 8194 bytes into a destination of size 8192
  2274. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2275. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2276. 31 | __glibc_objsize (__s), __fmt,
  2277. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2278. 32 | __va_arg_pack ());
  2279. | ~~~~~~~~~~~~~~~~~
  2280. plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
  2281. plan_class_spec.cpp:613:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
  2282. 613 | sprintf(tag,"<%s>",project_prefs_tag);
  2283. | ^
  2284. In function ‘int sprintf(char*, const char*, ...)’,
  2285. inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:613:16:
  2286. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination of size 256
  2287. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2288. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2289. 31 | __glibc_objsize (__s), __fmt,
  2290. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2291. 32 | __va_arg_pack ());
  2292. | ~~~~~~~~~~~~~~~~~
  2293. plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
  2294. plan_class_spec.cpp:643:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
  2295. 643 | sprintf(tag,"<%s>",gpu_utilization_tag);
  2296. | ^
  2297. In function ‘int sprintf(char*, const char*, ...)’,
  2298. inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:643:16:
  2299. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination of size 256
  2300. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2301. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2302. 31 | __glibc_objsize (__s), __fmt,
  2303. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2304. 32 | __va_arg_pack ());
  2305. | ~~~~~~~~~~~~~~~~~
  2306. CXX fcgi-sched_array.o
  2307. In file included from ../lib/miofile.h:21,
  2308. from ../lib/common_defs.h:32,
  2309. from ../lib/opencl_boinc.h:22,
  2310. from ../db/boinc_db_types.h:28,
  2311. from ../db/boinc_db.h:40,
  2312. from sched_shmem.h:27,
  2313. from sched_check.h:22,
  2314. from sched_array.cpp:28:
  2315. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2316. 30 | #define stdin FCGI_stdin
  2317. |
  2318. In file included from /usr/include/c++/13/cstdio:42,
  2319. from /usr/include/c++/13/ext/string_conversions.h:45,
  2320. from /usr/include/c++/13/bits/basic_string.h:4109,
  2321. from /usr/include/c++/13/string:54,
  2322. from sched_array.cpp:23:
  2323. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2324. 153 | #define stdin stdin
  2325. |
  2326. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2327. 31 | #define stdout FCGI_stdout
  2328. |
  2329. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2330. 154 | #define stdout stdout
  2331. |
  2332. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2333. 32 | #define stderr FCGI_stderr
  2334. |
  2335. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2336. 155 | #define stderr stderr
  2337. |
  2338. CXX fcgi-sched_assign.o
  2339. In file included from sched_assign.cpp:23:
  2340. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2341. 30 | #define stdin FCGI_stdin
  2342. |
  2343. In file included from /usr/include/fcgi_stdio.h:18,
  2344. from ../lib/boinc_stdio.h:28:
  2345. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2346. 153 | #define stdin stdin
  2347. |
  2348. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2349. 31 | #define stdout FCGI_stdout
  2350. |
  2351. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2352. 154 | #define stdout stdout
  2353. |
  2354. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2355. 32 | #define stderr FCGI_stderr
  2356. |
  2357. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2358. 155 | #define stderr stderr
  2359. |
  2360. CXX fcgi-sched_check.o
  2361. In file included from ../lib/miofile.h:21,
  2362. from ../lib/common_defs.h:32,
  2363. from ../lib/opencl_boinc.h:22,
  2364. from ../db/boinc_db_types.h:28,
  2365. from ../db/boinc_db.h:40,
  2366. from credit.h:20,
  2367. from sched_check.cpp:20:
  2368. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2369. 30 | #define stdin FCGI_stdin
  2370. |
  2371. In file included from /usr/include/c++/13/cstdio:42,
  2372. from ../db/boinc_db.h:35:
  2373. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2374. 153 | #define stdin stdin
  2375. |
  2376. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2377. 31 | #define stdout FCGI_stdout
  2378. |
  2379. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2380. 154 | #define stdout stdout
  2381. |
  2382. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2383. 32 | #define stderr FCGI_stderr
  2384. |
  2385. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2386. 155 | #define stderr stderr
  2387. |
  2388. CXX fcgi-sched_customize.o
  2389. In file included from ../lib/miofile.h:21,
  2390. from ../lib/common_defs.h:32,
  2391. from ../lib/util.h:30,
  2392. from sched_customize.cpp:53:
  2393. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2394. 30 | #define stdin FCGI_stdin
  2395. |
  2396. In file included from /usr/include/c++/13/cstdio:42,
  2397. from /usr/include/c++/13/ext/string_conversions.h:45,
  2398. from /usr/include/c++/13/bits/basic_string.h:4109,
  2399. from /usr/include/c++/13/string:54,
  2400. from sched_customize.cpp:48:
  2401. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2402. 153 | #define stdin stdin
  2403. |
  2404. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2405. 31 | #define stdout FCGI_stdout
  2406. |
  2407. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2408. 154 | #define stdout stdout
  2409. |
  2410. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2411. 32 | #define stderr FCGI_stderr
  2412. |
  2413. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2414. 155 | #define stderr stderr
  2415. |
  2416. sched_customize.cpp: In function ‘bool app_plan_wsl(SCHEDULER_REQUEST&, char*, HOST_USAGE&)’:
  2417. sched_customize.cpp:963:24: warning: unused parameter ‘sreq’ [-Wunused-parameter]
  2418. 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
  2419. | ~~~~~~~~~~~~~~~~~~~^~~~
  2420. sched_customize.cpp:963:36: warning: unused parameter ‘plan_class’ [-Wunused-parameter]
  2421. 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
  2422. | ~~~~~~^~~~~~~~~~
  2423. sched_customize.cpp:963:60: warning: unused parameter ‘hu’ [-Wunused-parameter]
  2424. 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
  2425. | ~~~~~~~~~~~~^~
  2426. CXX fcgi-sched_files.o
  2427. In file included from ../lib/miofile.h:21,
  2428. from ../lib/common_defs.h:32,
  2429. from ../lib/opencl_boinc.h:22,
  2430. from ../db/boinc_db_types.h:28,
  2431. from ../db/boinc_db.h:40,
  2432. from sched_limit.h:23,
  2433. from sched_config.h:25,
  2434. from sched_files.cpp:27:
  2435. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2436. 30 | #define stdin FCGI_stdin
  2437. |
  2438. In file included from sched_files.cpp:23:
  2439. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2440. 153 | #define stdin stdin
  2441. |
  2442. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2443. 31 | #define stdout FCGI_stdout
  2444. |
  2445. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2446. 154 | #define stdout stdout
  2447. |
  2448. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2449. 32 | #define stderr FCGI_stderr
  2450. |
  2451. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2452. 155 | #define stderr stderr
  2453. |
  2454. CXX fcgi-sched_hr.o
  2455. In file included from ../lib/miofile.h:21,
  2456. from ../lib/common_defs.h:32,
  2457. from ../lib/opencl_boinc.h:22,
  2458. from ../db/boinc_db_types.h:28,
  2459. from ../db/boinc_db.h:40,
  2460. from sched_types.h:24,
  2461. from sched_hr.cpp:28:
  2462. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2463. 30 | #define stdin FCGI_stdin
  2464. |
  2465. In file included from /usr/include/c++/13/cstdio:42,
  2466. from sched_hr.cpp:22:
  2467. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2468. 153 | #define stdin stdin
  2469. |
  2470. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2471. 31 | #define stdout FCGI_stdout
  2472. |
  2473. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2474. 154 | #define stdout stdout
  2475. |
  2476. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2477. 32 | #define stderr FCGI_stderr
  2478. |
  2479. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2480. 155 | #define stderr stderr
  2481. |
  2482. CXX fcgi-sched_keyword.o
  2483. In file included from ../lib/miofile.h:21,
  2484. from ../lib/common_defs.h:32,
  2485. from ../lib/opencl_boinc.h:22,
  2486. from ../db/boinc_db_types.h:28,
  2487. from ../db/boinc_db.h:40,
  2488. from sched_main.h:18,
  2489. from sched_keyword.cpp:27:
  2490. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2491. 30 | #define stdin FCGI_stdin
  2492. |
  2493. In file included from /usr/include/c++/13/cstdio:42,
  2494. from /usr/include/c++/13/ext/string_conversions.h:45,
  2495. from /usr/include/c++/13/bits/basic_string.h:4109,
  2496. from /usr/include/c++/13/string:54,
  2497. from /usr/include/c++/13/bits/locale_classes.h:40,
  2498. from /usr/include/c++/13/bits/ios_base.h:41,
  2499. from /usr/include/c++/13/streambuf:43,
  2500. from /usr/include/c++/13/bits/streambuf_iterator.h:35,
  2501. from /usr/include/c++/13/iterator:66,
  2502. from sched_keyword.cpp:25:
  2503. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2504. 153 | #define stdin stdin
  2505. |
  2506. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2507. 31 | #define stdout FCGI_stdout
  2508. |
  2509. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2510. 154 | #define stdout stdout
  2511. |
  2512. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2513. 32 | #define stderr FCGI_stderr
  2514. |
  2515. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2516. 155 | #define stderr stderr
  2517. |
  2518. CXX fcgi-sched_limit.o
  2519. In file included from ../lib/miofile.h:21,
  2520. from ../lib/common_defs.h:32,
  2521. from ../lib/opencl_boinc.h:22,
  2522. from ../db/boinc_db_types.h:28,
  2523. from ../db/boinc_db.h:40,
  2524. from sched_main.h:18,
  2525. from sched_limit.cpp:21:
  2526. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2527. 30 | #define stdin FCGI_stdin
  2528. |
  2529. In file included from /usr/include/c++/13/cstdio:42,
  2530. from ../db/boinc_db.h:35:
  2531. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2532. 153 | #define stdin stdin
  2533. |
  2534. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2535. 31 | #define stdout FCGI_stdout
  2536. |
  2537. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2538. 154 | #define stdout stdout
  2539. |
  2540. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2541. 32 | #define stderr FCGI_stderr
  2542. |
  2543. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2544. 155 | #define stderr stderr
  2545. |
  2546. CXX fcgi-sched_locality.o
  2547. In file included from ../lib/miofile.h:21,
  2548. from ../lib/common_defs.h:32,
  2549. from ../lib/opencl_boinc.h:22,
  2550. from ../db/boinc_db_types.h:28,
  2551. from ../db/boinc_db.h:40,
  2552. from sched_locality.cpp:39:
  2553. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2554. 30 | #define stdin FCGI_stdin
  2555. |
  2556. In file included from /usr/include/c++/13/cstdio:42,
  2557. from sched_locality.cpp:32:
  2558. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2559. 153 | #define stdin stdin
  2560. |
  2561. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2562. 31 | #define stdout FCGI_stdout
  2563. |
  2564. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2565. 154 | #define stdout stdout
  2566. |
  2567. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2568. 32 | #define stderr FCGI_stderr
  2569. |
  2570. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2571. 155 | #define stderr stderr
  2572. |
  2573. sched_locality.cpp: In function ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’:
  2574. sched_locality.cpp:864:36: warning: ‘__~’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  2575. 864 | sprintf(min_resultname, "%s__~", filename);
  2576. | ^~~
  2577. In file included from /usr/include/stdio.h:980:
  2578. In function ‘int sprintf(char*, const char*, ...)’,
  2579. inlined from ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’ at sched_locality.cpp:864:16:
  2580. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 4 and 259 bytes into a destination of size 256
  2581. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2582. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2583. 31 | __glibc_objsize (__s), __fmt,
  2584. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2585. 32 | __va_arg_pack ());
  2586. | ~~~~~~~~~~~~~~~~~
  2587. CXX fcgi-sched_main.o
  2588. In file included from sched_main.cpp:34:
  2589. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2590. 30 | #define stdin FCGI_stdin
  2591. |
  2592. In file included from /usr/include/fcgi_stdio.h:18,
  2593. from ../lib/boinc_stdio.h:28:
  2594. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2595. 153 | #define stdin stdin
  2596. |
  2597. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2598. 31 | #define stdout FCGI_stdout
  2599. |
  2600. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2601. 154 | #define stdout stdout
  2602. |
  2603. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2604. 32 | #define stderr FCGI_stderr
  2605. |
  2606. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2607. 155 | #define stderr stderr
  2608. |
  2609. sched_main.cpp: In function ‘int main(int, char**)’:
  2610. sched_main.cpp:434:64: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 219 [-Wformat-overflow=]
  2611. 434 | sprintf(buf, "Server can't open log file for FCGI (%s)", path);
  2612. | ^~ ~~~~
  2613.  
  2614. In file included from /usr/include/stdio.h:980:
  2615. In function ‘int sprintf(char*, const char*, ...)’,
  2616. inlined from ‘int main(int, char**)’ at sched_main.cpp:434:20:
  2617. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 39 and 4134 bytes into a destination of size 256
  2618. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2619. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2620. 31 | __glibc_objsize (__s), __fmt,
  2621. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2622. 32 | __va_arg_pack ());
  2623. | ~~~~~~~~~~~~~~~~~
  2624. CXX fcgi-sched_nci.o
  2625. In file included from ../lib/miofile.h:21,
  2626. from ../lib/common_defs.h:32,
  2627. from ../lib/opencl_boinc.h:22,
  2628. from ../db/boinc_db_types.h:28,
  2629. from ../db/boinc_db.h:40,
  2630. from sched_shmem.h:27,
  2631. from sched_check.h:22,
  2632. from sched_nci.cpp:21:
  2633. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2634. 30 | #define stdin FCGI_stdin
  2635. |
  2636. In file included from /usr/include/c++/13/cstdio:42,
  2637. from ../db/boinc_db.h:35:
  2638. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2639. 153 | #define stdin stdin
  2640. |
  2641. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2642. 31 | #define stdout FCGI_stdout
  2643. |
  2644. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2645. 154 | #define stdout stdout
  2646. |
  2647. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2648. 32 | #define stderr FCGI_stderr
  2649. |
  2650. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2651. 155 | #define stderr stderr
  2652. |
  2653. CXX fcgi-sched_resend.o
  2654. In file included from ../lib/miofile.h:21,
  2655. from ../lib/common_defs.h:32,
  2656. from ../lib/opencl_boinc.h:22,
  2657. from ../db/boinc_db_types.h:28,
  2658. from ../db/boinc_db.h:40,
  2659. from sched_shmem.h:27,
  2660. from sched_check.h:22,
  2661. from sched_resend.cpp:35:
  2662. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2663. 30 | #define stdin FCGI_stdin
  2664. |
  2665. In file included from /usr/include/c++/13/cstdio:42,
  2666. from /usr/include/c++/13/ext/string_conversions.h:45,
  2667. from /usr/include/c++/13/bits/basic_string.h:4109,
  2668. from /usr/include/c++/13/string:54,
  2669. from sched_resend.cpp:32:
  2670. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2671. 153 | #define stdin stdin
  2672. |
  2673. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2674. 31 | #define stdout FCGI_stdout
  2675. |
  2676. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2677. 154 | #define stdout stdout
  2678. |
  2679. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2680. 32 | #define stderr FCGI_stderr
  2681. |
  2682. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2683. 155 | #define stderr stderr
  2684. |
  2685. sched_resend.cpp: In function ‘bool resend_lost_work()’:
  2686. sched_resend.cpp:268:52: warning: ‘%s’ directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
  2687. 268 | sprintf(warning_msg, "Resent lost task %s", result.name);
  2688. | ^~ ~~~~~~~~~~~
  2689. In file included from /usr/include/stdio.h:980:
  2690. In function ‘int sprintf(char*, const char*, ...)’,
  2691. inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:268:20:
  2692. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 18 and 273 bytes into a destination of size 256
  2693. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2694. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2695. 31 | __glibc_objsize (__s), __fmt,
  2696. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2697. 32 | __va_arg_pack ());
  2698. | ~~~~~~~~~~~~~~~~~
  2699. sched_resend.cpp: In function ‘bool resend_lost_work()’:
  2700. sched_resend.cpp:248:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=]
  2701. 248 | "Didn't resend lost task %s (expired)", result.name
  2702. | ^~ ~~~~~~~~~~~
  2703. In function ‘int sprintf(char*, const char*, ...)’,
  2704. inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:247:20:
  2705. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 35 and 290 bytes into a destination of size 256
  2706. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2707. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2708. 31 | __glibc_objsize (__s), __fmt,
  2709. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2710. 32 | __va_arg_pack ());
  2711. | ~~~~~~~~~~~~~~~~~
  2712. CXX fcgi-sched_result.o
  2713. In file included from ../lib/miofile.h:21,
  2714. from ../lib/common_defs.h:32,
  2715. from ../lib/opencl_boinc.h:22,
  2716. from ../db/boinc_db_types.h:28,
  2717. from ../db/boinc_db.h:40,
  2718. from sched_result.cpp:20:
  2719. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2720. 30 | #define stdin FCGI_stdin
  2721. |
  2722. In file included from /usr/include/c++/13/cstdio:42,
  2723. from ../db/boinc_db.h:35:
  2724. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2725. 153 | #define stdin stdin
  2726. |
  2727. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2728. 31 | #define stdout FCGI_stdout
  2729. |
  2730. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2731. 154 | #define stdout stdout
  2732. |
  2733. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2734. 32 | #define stderr FCGI_stderr
  2735. |
  2736. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2737. 155 | #define stderr stderr
  2738. |
  2739. CXX fcgi-sched_score.o
  2740. In file included from ../lib/miofile.h:21,
  2741. from ../lib/common_defs.h:32,
  2742. from ../lib/opencl_boinc.h:22,
  2743. from ../db/boinc_db_types.h:28,
  2744. from ../db/boinc_db.h:40,
  2745. from sched_score.cpp:27:
  2746. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2747. 30 | #define stdin FCGI_stdin
  2748. |
  2749. In file included from /usr/include/c++/13/cstdio:42,
  2750. from ../db/boinc_db.h:35:
  2751. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2752. 153 | #define stdin stdin
  2753. |
  2754. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2755. 31 | #define stdout FCGI_stdout
  2756. |
  2757. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2758. 154 | #define stdout stdout
  2759. |
  2760. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2761. 32 | #define stderr FCGI_stderr
  2762. |
  2763. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2764. 155 | #define stderr stderr
  2765. |
  2766. sched_score.cpp: In constructor ‘JOB::JOB()’:
  2767. sched_score.cpp:54:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct JOB’; use assignment or value-initialization instead [-Wclass-memaccess]
  2768. 54 | memset(this, 0, sizeof(JOB));
  2769. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  2770. In file included from sched_score.cpp:42:
  2771. sched_score.h:20:8: note: ‘struct JOB’ declared here
  2772. 20 | struct JOB {
  2773. | ^~~
  2774. CXX fcgi-sched_send.o
  2775. In file included from ../lib/miofile.h:21,
  2776. from ../lib/parse.h:29,
  2777. from sched_send.cpp:34:
  2778. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2779. 30 | #define stdin FCGI_stdin
  2780. |
  2781. In file included from /usr/include/c++/13/cstdio:42,
  2782. from /usr/include/c++/13/ext/string_conversions.h:45,
  2783. from /usr/include/c++/13/bits/basic_string.h:4109,
  2784. from /usr/include/c++/13/string:54,
  2785. from sched_send.cpp:25:
  2786. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2787. 153 | #define stdin stdin
  2788. |
  2789. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2790. 31 | #define stdout FCGI_stdout
  2791. |
  2792. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2793. 154 | #define stdout stdout
  2794. |
  2795. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2796. 32 | #define stderr FCGI_stderr
  2797. |
  2798. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2799. 155 | #define stderr stderr
  2800. |
  2801. sched_send.cpp: In function ‘void check_buda_plan_class(WORKUNIT&, HOST_USAGE&, bool&, bool&)’:
  2802. sched_send.cpp:945:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation]
  2803. 945 | strncpy(buf, p, 256);
  2804. | ^
  2805. sched_send.cpp: In function ‘void send_user_messages()’:
  2806. sched_send.cpp:1380:57: warning: ‘%s’ directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=]
  2807. 1380 | "No tasks are available for %s",
  2808. | ^~
  2809. In file included from /usr/include/stdio.h:980:
  2810. In function ‘int sprintf(char*, const char*, ...)’,
  2811. inlined from ‘void send_user_messages()’ at sched_send.cpp:1379:32:
  2812. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 28 and 283 bytes into a destination of size 256
  2813. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2814. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2815. 31 | __glibc_objsize (__s), __fmt,
  2816. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2817. 32 | __va_arg_pack ());
  2818. | ~~~~~~~~~~~~~~~~~
  2819. sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
  2820. sched_send.cpp:700:25: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=]
  2821. 700 | sprintf(buf, "<name>%s</name>\n", result.name);
  2822. | ^~
  2823. In function ‘int sprintf(char*, const char*, ...)’,
  2824. inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:700:12,
  2825. inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
  2826. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256
  2827. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2828. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2829. 31 | __glibc_objsize (__s), __fmt,
  2830. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2831. 32 | __va_arg_pack ());
  2832. | ~~~~~~~~~~~~~~~~~
  2833. sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
  2834. sched_send.cpp:703:28: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=]
  2835. 703 | sprintf(buf, "<wu_name>%s</wu_name>\n", wu.name);
  2836. | ^~
  2837. In function ‘int sprintf(char*, const char*, ...)’,
  2838. inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:703:12,
  2839. inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
  2840. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 21 and 276 bytes into a destination of size 256
  2841. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2842. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2843. 31 | __glibc_objsize (__s), __fmt,
  2844. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2845. 32 | __va_arg_pack ());
  2846. | ~~~~~~~~~~~~~~~~~
  2847. CXX fcgi-sched_timezone.o
  2848. In file included from ../lib/filesys.h:33,
  2849. from sched_timezone.cpp:27:
  2850. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2851. 30 | #define stdin FCGI_stdin
  2852. |
  2853. In file included from /usr/include/c++/13/cstdio:42,
  2854. from /usr/include/c++/13/ext/string_conversions.h:45,
  2855. from /usr/include/c++/13/bits/basic_string.h:4109,
  2856. from /usr/include/c++/13/string:54,
  2857. from sched_timezone.cpp:23:
  2858. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2859. 153 | #define stdin stdin
  2860. |
  2861. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2862. 31 | #define stdout FCGI_stdout
  2863. |
  2864. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2865. 154 | #define stdout stdout
  2866. |
  2867. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2868. 32 | #define stderr FCGI_stderr
  2869. |
  2870. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2871. 155 | #define stderr stderr
  2872. |
  2873. CXX fcgi-sched_vda.o
  2874. In file included from ../vda/sched_vda.cpp:21:
  2875. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2876. 30 | #define stdin FCGI_stdin
  2877. |
  2878. In file included from /usr/include/fcgi_stdio.h:18,
  2879. from ../lib/boinc_stdio.h:28:
  2880. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2881. 153 | #define stdin stdin
  2882. |
  2883. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2884. 31 | #define stdout FCGI_stdout
  2885. |
  2886. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2887. 154 | #define stdout stdout
  2888. |
  2889. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2890. 32 | #define stderr FCGI_stderr
  2891. |
  2892. /usr/include/stdio.h:155: note: this is the location of the previous definition
  2893. 155 | #define stderr stderr
  2894. |
  2895. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  2896. ../vda/sched_vda.cpp:175:19: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
  2897. 175 | sprintf(buf, "%s/data.vda", chunk_dir);
  2898. | ^~ ~~~~~~~~~
  2899. In file included from /usr/include/stdio.h:980:
  2900. In function ‘int sprintf(char*, const char*, ...)’,
  2901. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:175:12:
  2902. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 1033 bytes into a destination of size 256
  2903. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2904. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2905. 31 | __glibc_objsize (__s), __fmt,
  2906. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2907. 32 | __va_arg_pack ());
  2908. | ~~~~~~~~~~~~~~~~~
  2909. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  2910. ../vda/sched_vda.cpp:192:27: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
  2911. 192 | sprintf(buf, "%s/data.vda", chunk_dir);
  2912. | ^~ ~~~~~~~~~
  2913. In function ‘int sprintf(char*, const char*, ...)’,
  2914. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:192:20:
  2915. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 1033 bytes into a destination of size 256
  2916. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2917. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2918. 31 | __glibc_objsize (__s), __fmt,
  2919. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2920. 32 | __va_arg_pack ());
  2921. | ~~~~~~~~~~~~~~~~~
  2922. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  2923. ../vda/sched_vda.cpp:200:34: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 253 [-Wformat-overflow=]
  2924. 200 | sprintf(buf, "mv %s %s; chmod g+rw %s", path, dst_path, dst_path);
  2925. | ^~ ~~~~
  2926. In function ‘int sprintf(char*, const char*, ...)’,
  2927. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:200:24:
  2928. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 18 and 6159 bytes into a destination of size 256
  2929. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2930. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2931. 31 | __glibc_objsize (__s), __fmt,
  2932. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2933. 32 | __va_arg_pack ());
  2934. | ~~~~~~~~~~~~~~~~~
  2935. ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
  2936. ../vda/sched_vda.cpp:215:55: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 203 and 222 [-Wformat-overflow=]
  2937. 215 | sprintf(buf, "host_id=%lu and physical_file_name='%s'",
  2938. | ^~
  2939. In function ‘int sprintf(char*, const char*, ...)’,
  2940. inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:215:12:
  2941. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 36 and 310 bytes into a destination of size 256
  2942. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2943. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2944. 31 | __glibc_objsize (__s), __fmt,
  2945. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2946. 32 | __va_arg_pack ());
  2947. | ~~~~~~~~~~~~~~~~~
  2948. ../vda/sched_vda.cpp: In function ‘int issue_transfer_commands(CHUNK_LIST&)’:
  2949. ../vda/sched_vda.cpp:103:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  2950. 103 | sprintf(url, "%s/%s/data.vda", buf, chunk_dirs);
  2951. | ^~ ~~~~~~~~~~
  2952. In function ‘int sprintf(char*, const char*, ...)’,
  2953. inlined from ‘void get_chunk_url(DB_VDA_FILE&, const char*, char*)’ at ../vda/sched_vda.cpp:103:12,
  2954. inlined from ‘int issue_transfer_commands(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:469:26:
  2955. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 11 and 1289 bytes into a destination of size 1024
  2956. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2957. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2958. 31 | __glibc_objsize (__s), __fmt,
  2959. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2960. 32 | __va_arg_pack ());
  2961. | ~~~~~~~~~~~~~~~~~
  2962. ../vda/sched_vda.cpp: In function ‘void handle_vda()’:
  2963. ../vda/sched_vda.cpp:334:74: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 166 and 204 [-Wformat-overflow=]
  2964. 334 | "host_id=%lu and vda_file_id=%lu and physical_file_name='%s'",
  2965. | ^~
  2966.  
  2967. In function ‘int sprintf(char*, const char*, ...)’,
  2968. inlined from ‘int process_chunks_missing_on_client(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:333:20,
  2969. inlined from ‘void handle_vda()’ at ../vda/sched_vda.cpp:587:37:
  2970. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 54 and 347 bytes into a destination of size 256
  2971. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  2972. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2973. 31 | __glibc_objsize (__s), __fmt,
  2974. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2975. 32 | __va_arg_pack ());
  2976. | ~~~~~~~~~~~~~~~~~
  2977. CXX fcgi-sched_version.o
  2978. In file included from ../lib/miofile.h:21,
  2979. from ../lib/common_defs.h:32,
  2980. from ../lib/opencl_boinc.h:22,
  2981. from ../db/boinc_db_types.h:28,
  2982. from ../db/boinc_db.h:40,
  2983. from sched_version.cpp:30:
  2984. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  2985. 30 | #define stdin FCGI_stdin
  2986. |
  2987. In file included from /usr/include/c++/13/cstdio:42,
  2988. from ../db/boinc_db.h:35:
  2989. /usr/include/stdio.h:153: note: this is the location of the previous definition
  2990. 153 | #define stdin stdin
  2991. |
  2992. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  2993. 31 | #define stdout FCGI_stdout
  2994. |
  2995. /usr/include/stdio.h:154: note: this is the location of the previous definition
  2996. 154 | #define stdout stdout
  2997. |
  2998. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  2999. 32 | #define stderr FCGI_stderr
  3000. |
  3001. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3002. 155 | #define stderr stderr
  3003. |
  3004. sched_version.cpp: In function ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’:
  3005. sched_version.cpp:240:17: warning: ‘%s’ directive writing up to 255 bytes into a region of size 195 [-Wformat-overflow=]
  3006. 240 | "%s %s.",
  3007. | ^~
  3008. In file included from /usr/include/stdio.h:980:
  3009. In function ‘int sprintf(char*, const char*, ...)’,
  3010. inlined from ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’ at sched_version.cpp:239:16:
  3011. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 63 and 318 bytes into a destination of size 256
  3012. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3013. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3014. 31 | __glibc_objsize (__s), __fmt,
  3015. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3016. 32 | __va_arg_pack ());
  3017. | ~~~~~~~~~~~~~~~~~
  3018. CXX fcgi-sched_types.o
  3019. In file included from ../lib/miofile.h:21,
  3020. from ../lib/parse.h:29,
  3021. from sched_types.cpp:28:
  3022. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3023. 30 | #define stdin FCGI_stdin
  3024. |
  3025. In file included from /usr/include/c++/13/cstdio:42,
  3026. from /usr/include/c++/13/ext/string_conversions.h:45,
  3027. from /usr/include/c++/13/bits/basic_string.h:4109,
  3028. from /usr/include/c++/13/string:54,
  3029. from sched_types.cpp:24:
  3030. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3031. 153 | #define stdin stdin
  3032. |
  3033. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3034. 31 | #define stdout FCGI_stdout
  3035. |
  3036. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3037. 154 | #define stdout stdout
  3038. |
  3039. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3040. 32 | #define stderr FCGI_stderr
  3041. |
  3042. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3043. 155 | #define stderr stderr
  3044. |
  3045. sched_types.cpp: In member function ‘int CLIENT_APP_VERSION::parse(XML_PARSER&)’:
  3046. sched_types.cpp:64:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct CLIENT_APP_VERSION’; use assignment or value-initialization instead [-Wclass-memaccess]
  3047. 64 | memset(this, 0, sizeof(*this));
  3048. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3049. In file included from sched_main.h:21,
  3050. from sched_types.cpp:33:
  3051. sched_types.h:149:8: note: ‘struct CLIENT_APP_VERSION’ declared here
  3052. 149 | struct CLIENT_APP_VERSION {
  3053. | ^~~~~~~~~~~~~~~~~~
  3054. sched_types.cpp: In member function ‘const char* SCHEDULER_REQUEST::parse(XML_PARSER&)’:
  3055. sched_types.cpp:313:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct HOST’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  3056. 313 | memset(&host, 0, sizeof(host));
  3057. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3058. In file included from ../db/boinc_db.h:40,
  3059. from sched_types.cpp:32:
  3060. ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
  3061. 270 | struct HOST {
  3062. | ^~~~
  3063. sched_types.cpp: In constructor ‘SCHEDULER_REPLY::SCHEDULER_REPLY()’:
  3064. sched_types.cpp:741:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct HOST’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  3065. 741 | memset(&host, 0, sizeof(host));
  3066. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3067. ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
  3068. 270 | struct HOST {
  3069. | ^~~~
  3070. sched_types.cpp: In member function ‘int SCHED_DB_RESULT::parse_from_client(XML_PARSER&)’:
  3071. sched_types.cpp:1303:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct SCHED_DB_RESULT’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  3072. 1303 | memset(this, 0, sizeof(*this));
  3073. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3074. sched_types.h:204:8: note: ‘struct SCHED_DB_RESULT’ declared here
  3075. 204 | struct SCHED_DB_RESULT : DB_RESULT {
  3076. | ^~~~~~~~~~~~~~~
  3077. sched_types.cpp: In function ‘void get_rss_auth(USER&, char*)’:
  3078. sched_types.cpp:1602:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  3079. 1602 | sprintf(buf2, "%s%s%s", user.authenticator, user.passwd_hash, "notify_rss");
  3080. | ^~
  3081. In file included from /usr/include/stdio.h:980:
  3082. In function ‘int sprintf(char*, const char*, ...)’,
  3083. inlined from ‘void get_rss_auth(USER&, char*)’ at sched_types.cpp:1602:12:
  3084. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 11 and 521 bytes into a destination of size 256
  3085. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3086. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3087. 31 | __glibc_objsize (__s), __fmt,
  3088. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3089. 32 | __va_arg_pack ());
  3090. | ~~~~~~~~~~~~~~~~~
  3091. CXX fcgi-time_stats_log.o
  3092. In file included from ../lib/filesys.h:33,
  3093. from time_stats_log.cpp:25:
  3094. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3095. 30 | #define stdin FCGI_stdin
  3096. |
  3097. In file included from /usr/include/c++/13/cstdio:42,
  3098. from /usr/include/c++/13/ext/string_conversions.h:45,
  3099. from /usr/include/c++/13/bits/basic_string.h:4109,
  3100. from /usr/include/c++/13/string:54,
  3101. from ../lib/filesys.h:29:
  3102. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3103. 153 | #define stdin stdin
  3104. |
  3105. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3106. 31 | #define stdout FCGI_stdout
  3107. |
  3108. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3109. 154 | #define stdout stdout
  3110. |
  3111. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3112. 32 | #define stderr FCGI_stderr
  3113. |
  3114. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3115. 155 | #define stderr stderr
  3116. |
  3117. cd ../sched; make libsched_fcgi.la
  3118. make[3]: Entering directory '/home/boincadm/boinc/sched'
  3119. CXX libsched_fcgi_la-credit.lo
  3120. In file included from ../lib/miofile.h:21,
  3121. from ../lib/common_defs.h:32,
  3122. from ../lib/opencl_boinc.h:22,
  3123. from ../db/boinc_db_types.h:28,
  3124. from ../db/boinc_db.h:40,
  3125. from credit.cpp:27:
  3126. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3127. 30 | #define stdin FCGI_stdin
  3128. |
  3129. In file included from /usr/include/c++/13/cstdio:42,
  3130. from ../db/boinc_db.h:35:
  3131. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3132. 153 | #define stdin stdin
  3133. |
  3134. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3135. 31 | #define stdout FCGI_stdout
  3136. |
  3137. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3138. 154 | #define stdout stdout
  3139. |
  3140. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3141. 32 | #define stderr FCGI_stderr
  3142. |
  3143. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3144. 155 | #define stderr stderr
  3145. |
  3146. CXX libsched_fcgi_la-sched_shmem.lo
  3147. In file included from ../lib/miofile.h:21,
  3148. from ../lib/common_defs.h:32,
  3149. from ../lib/opencl_boinc.h:22,
  3150. from ../db/boinc_db_types.h:28,
  3151. from ../db/boinc_db.h:40,
  3152. from sched_shmem.cpp:33:
  3153. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3154. 30 | #define stdin FCGI_stdin
  3155. |
  3156. In file included from /usr/include/c++/13/cstdio:42,
  3157. from sched_shmem.cpp:23:
  3158. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3159. 153 | #define stdin stdin
  3160. |
  3161. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3162. 31 | #define stdout FCGI_stdout
  3163. |
  3164. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3165. 154 | #define stdout stdout
  3166. |
  3167. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3168. 32 | #define stderr FCGI_stderr
  3169. |
  3170. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3171. 155 | #define stderr stderr
  3172. |
  3173. sched_shmem.cpp: In member function 'void SCHED_SHMEM::init(int)':
  3174. sched_shmem.cpp:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct SCHED_SHMEM'; use assignment or value-initialization instead [-Wclass-memaccess]
  3175. 46 | memset(this, 0, size);
  3176. | ~~~~~~^~~~~~~~~~~~~~~
  3177. In file included from sched_shmem.cpp:41:
  3178. sched_shmem.h:83:8: note: 'struct SCHED_SHMEM' declared here
  3179. 83 | struct SCHED_SHMEM {
  3180. | ^~~~~~~~~~~
  3181. CXX libsched_fcgi_la-sched_util.lo
  3182. In file included from ../lib/miofile.h:21,
  3183. from ../lib/common_defs.h:32,
  3184. from ../lib/opencl_boinc.h:22,
  3185. from ../db/boinc_db_types.h:28,
  3186. from ../db/boinc_db.h:40,
  3187. from sched_util.cpp:23:
  3188. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3189. 30 | #define stdin FCGI_stdin
  3190. |
  3191. In file included from /usr/include/c++/13/cstdio:42,
  3192. from ../db/boinc_db.h:35:
  3193. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3194. 153 | #define stdin stdin
  3195. |
  3196. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3197. 31 | #define stdout FCGI_stdout
  3198. |
  3199. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3200. 154 | #define stdout stdout
  3201. |
  3202. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3203. 32 | #define stderr FCGI_stderr
  3204. |
  3205. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3206. 155 | #define stderr stderr
  3207. |
  3208. CXX libsched_fcgi_la-sched_util_basic.lo
  3209. In file included from ../lib/filesys.h:33,
  3210. from sched_util_basic.cpp:31:
  3211. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3212. 30 | #define stdin FCGI_stdin
  3213. |
  3214. In file included from /usr/include/c++/13/cstdio:42,
  3215. from /usr/include/c++/13/ext/string_conversions.h:45,
  3216. from /usr/include/c++/13/bits/basic_string.h:4109,
  3217. from /usr/include/c++/13/string:54,
  3218. from /usr/include/c++/13/bits/locale_classes.h:40,
  3219. from /usr/include/c++/13/bits/ios_base.h:41,
  3220. from /usr/include/c++/13/ios:44,
  3221. from /usr/include/c++/13/istream:40,
  3222. from /usr/include/c++/13/sstream:40,
  3223. from sched_util_basic.cpp:25:
  3224. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3225. 153 | #define stdin stdin
  3226. |
  3227. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3228. 31 | #define stdout FCGI_stdout
  3229. |
  3230. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3231. 154 | #define stdout stdout
  3232. |
  3233. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3234. 32 | #define stderr FCGI_stderr
  3235. |
  3236. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3237. 155 | #define stderr stderr
  3238. |
  3239. sched_util_basic.cpp: In function 'int dir_hier_path(const char*, const char*, int, char*, bool)':
  3240. sched_util_basic.cpp:238:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  3241. 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
  3242. | ^
  3243. In file included from /usr/include/stdio.h:980:
  3244. In function 'int snprintf(char*, size_t, const char*, ...)',
  3245. inlined from 'int dir_hier_path(const char*, const char*, int, char*, bool)' at sched_util_basic.cpp:238:13:
  3246. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096
  3247. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  3248. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3249. 55 | __glibc_objsize (__s), __fmt,
  3250. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3251. 56 | __va_arg_pack ());
  3252. | ~~~~~~~~~~~~~~~~~
  3253. CXX libsched_fcgi_la-sched_config.lo
  3254. In file included from sched_config.cpp:20:
  3255. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3256. 30 | #define stdin FCGI_stdin
  3257. |
  3258. In file included from /usr/include/fcgi_stdio.h:18,
  3259. from ../lib/boinc_stdio.h:28:
  3260. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3261. 153 | #define stdin stdin
  3262. |
  3263. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3264. 31 | #define stdout FCGI_stdout
  3265. |
  3266. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3267. 154 | #define stdout stdout
  3268. |
  3269. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3270. 32 | #define stderr FCGI_stderr
  3271. |
  3272. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3273. 155 | #define stderr stderr
  3274. |
  3275. sched_config.cpp: In member function 'int SCHED_CONFIG::parse(FCGI_FILE*)':
  3276. sched_config.cpp:78:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct SCHED_CONFIG' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  3277. 78 | memset(this, 0, sizeof(*this));
  3278. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3279. In file included from sched_config.cpp:34:
  3280. sched_config.h:43:8: note: 'struct SCHED_CONFIG' declared here
  3281. 43 | struct SCHED_CONFIG {
  3282. | ^~~~~~~~~~~~
  3283. CXX libsched_fcgi_la-sched_limit.lo
  3284. In file included from ../lib/miofile.h:21,
  3285. from ../lib/common_defs.h:32,
  3286. from ../lib/opencl_boinc.h:22,
  3287. from ../db/boinc_db_types.h:28,
  3288. from ../db/boinc_db.h:40,
  3289. from sched_main.h:18,
  3290. from sched_limit.cpp:21:
  3291. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3292. 30 | #define stdin FCGI_stdin
  3293. |
  3294. In file included from /usr/include/c++/13/cstdio:42,
  3295. from ../db/boinc_db.h:35:
  3296. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3297. 153 | #define stdin stdin
  3298. |
  3299. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3300. 31 | #define stdout FCGI_stdout
  3301. |
  3302. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3303. 154 | #define stdout stdout
  3304. |
  3305. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3306. 32 | #define stderr FCGI_stderr
  3307. |
  3308. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3309. 155 | #define stderr stderr
  3310. |
  3311. CXX libsched_fcgi_la-boinc_db.lo
  3312. In file included from ../lib/miofile.h:21,
  3313. from ../lib/common_defs.h:32,
  3314. from ../db/boinc_db.cpp:31:
  3315. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3316. 30 | #define stdin FCGI_stdin
  3317. |
  3318. In file included from /usr/include/c++/13/cstdio:42,
  3319. from /usr/include/c++/13/ext/string_conversions.h:45,
  3320. from /usr/include/c++/13/bits/basic_string.h:4109,
  3321. from /usr/include/c++/13/string:54,
  3322. from ../db/boinc_db.cpp:20:
  3323. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3324. 153 | #define stdin stdin
  3325. |
  3326. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3327. 31 | #define stdout FCGI_stdout
  3328. |
  3329. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3330. 154 | #define stdout stdout
  3331. |
  3332. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3333. 32 | #define stderr FCGI_stderr
  3334. |
  3335. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3336. 155 | #define stderr stderr
  3337. |
  3338. ../db/boinc_db.cpp: In member function 'void HOST::clear()':
  3339. ../db/boinc_db.cpp:72:27: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct HOST' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  3340. 72 | void HOST::clear() {memset(this, 0, sizeof(*this));}
  3341. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3342. In file included from ../db/boinc_db.h:40,
  3343. from ../db/boinc_db.cpp:36:
  3344. ../db/boinc_db_types.h:270:8: note: 'struct HOST' declared here
  3345. 270 | struct HOST {
  3346. | ^~~~
  3347. ../db/boinc_db.cpp: In member function 'void VALIDATOR_ITEM::clear()':
  3348. ../db/boinc_db.cpp:87:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct VALIDATOR_ITEM'; use assignment or value-initialization instead [-Wclass-memaccess]
  3349. 87 | void VALIDATOR_ITEM::clear() {memset(this, 0, sizeof(*this));}
  3350. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3351. ../db/boinc_db.h:120:8: note: 'struct VALIDATOR_ITEM' declared here
  3352. 120 | struct VALIDATOR_ITEM {
  3353. | ^~~~~~~~~~~~~~
  3354. ../db/boinc_db.cpp: In member function 'void WORK_ITEM::parse(char**&)':
  3355. ../db/boinc_db.cpp:2055:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WORK_ITEM'; use assignment or value-initialization instead [-Wclass-memaccess]
  3356. 2055 | memset(this, 0, sizeof(WORK_ITEM));
  3357. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3358. ../db/boinc_db.h:312:8: note: 'struct WORK_ITEM' declared here
  3359. 312 | struct WORK_ITEM {
  3360. | ^~~~~~~~~
  3361. CXX libsched_fcgi_la-db_base.lo
  3362. In file included from ../lib/msg_log.h:24,
  3363. from ../lib/sched_msgs.h:21,
  3364. from ../db/db_base.cpp:29:
  3365. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3366. 30 | #define stdin FCGI_stdin
  3367. |
  3368. In file included from /usr/include/c++/13/cstdio:42,
  3369. from ../db/db_base.cpp:19:
  3370. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3371. 153 | #define stdin stdin
  3372. |
  3373. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3374. 31 | #define stdout FCGI_stdout
  3375. |
  3376. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3377. 154 | #define stdout stdout
  3378. |
  3379. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3380. 32 | #define stderr FCGI_stderr
  3381. |
  3382. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3383. 155 | #define stderr stderr
  3384. |
  3385. ../db/db_base.cpp: In member function 'int DB_BASE::insert()':
  3386. ../db/db_base.cpp:206:40: warning: '%s' directive writing up to 524287 bytes into a region of size 524271 [-Wformat-overflow=]
  3387. 206 | sprintf(query, "insert into %s set %s", table_name, vals);
  3388. | ^~ ~~~~
  3389. In file included from /usr/include/stdio.h:980:
  3390. In function 'int sprintf(char*, const char*, ...)',
  3391. inlined from 'int DB_BASE::insert()' at ../db/db_base.cpp:206:12:
  3392. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 524305) into a destination of size 524288
  3393. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3394. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3395. 31 | __glibc_objsize (__s), __fmt,
  3396. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3397. 32 | __va_arg_pack ());
  3398. | ~~~~~~~~~~~~~~~~~
  3399. ../db/db_base.cpp: In member function 'int DB_BASE::update()':
  3400. ../db/db_base.cpp:248:35: warning: '%s' directive writing up to 262143 bytes into a region of size 262132 [-Wformat-overflow=]
  3401. 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
  3402. | ^~ ~~~~
  3403. ../db/db_base.cpp:248:20: note: using the range [0, 18446744073709551615] for directive argument
  3404. 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
  3405. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3406. In function 'int sprintf(char*, const char*, ...)',
  3407. inlined from 'int DB_BASE::update()' at ../db/db_base.cpp:248:12:
  3408. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 24 or more bytes (assuming 262167) into a destination of size 262144
  3409. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3410. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3411. 31 | __glibc_objsize (__s), __fmt,
  3412. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3413. 32 | __va_arg_pack ());
  3414. | ~~~~~~~~~~~~~~~~~
  3415. CXX libsched_fcgi_la-process_result_template.lo
  3416. In file included from ../lib/miofile.h:21,
  3417. from ../lib/common_defs.h:32,
  3418. from ../lib/opencl_boinc.h:22,
  3419. from ../db/boinc_db_types.h:28,
  3420. from ../db/boinc_db.h:40,
  3421. from ../tools/process_result_template.cpp:24:
  3422. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3423. 30 | #define stdin FCGI_stdin
  3424. |
  3425. In file included from /usr/include/c++/13/cstdio:42,
  3426. from /usr/include/c++/13/ext/string_conversions.h:45,
  3427. from /usr/include/c++/13/bits/basic_string.h:4109,
  3428. from /usr/include/c++/13/string:54,
  3429. from ../tools/process_result_template.cpp:20:
  3430. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3431. 153 | #define stdin stdin
  3432. |
  3433. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3434. 31 | #define stdout FCGI_stdout
  3435. |
  3436. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3437. 154 | #define stdout stdout
  3438. |
  3439. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3440. 32 | #define stderr FCGI_stderr
  3441. |
  3442. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3443. 155 | #define stderr stderr
  3444. |
  3445. ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
  3446. ../tools/process_result_template.cpp:67:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=]
  3447. 67 | sprintf(signed_xml, "<name>%s</name><max_nbytes>%.0f</max_nbytes>",
  3448. | ^~
  3449. 68 | name, max_nbytes
  3450. | ~~~~
  3451. In file included from /usr/include/stdio.h:980:
  3452. In function 'int sprintf(char*, const char*, ...)',
  3453. inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:67:16:
  3454. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 40 and 1372 bytes into a destination of size 1024
  3455. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3456. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3457. 31 | __glibc_objsize (__s), __fmt,
  3458. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3459. 32 | __va_arg_pack ());
  3460. | ~~~~~~~~~~~~~~~~~
  3461. ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
  3462. ../tools/process_result_template.cpp:72:31: warning: '%s' directive writing up to 65535 bytes into a region of size 65520 [-Wformat-overflow=]
  3463. 72 | "<xml_signature>\n%s</xml_signature>\n", signature_hex
  3464. | ^~ ~~~~~~~~~~~~~
  3465. In function 'int sprintf(char*, const char*, ...)',
  3466. inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:71:16:
  3467. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 34 and 65569 bytes into a destination of size 65536
  3468. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3469. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3470. 31 | __glibc_objsize (__s), __fmt,
  3471. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3472. 32 | __va_arg_pack ());
  3473. | ~~~~~~~~~~~~~~~~~
  3474. CXX libsched_fcgi_la-process_input_template.lo
  3475. In file included from ../lib/filesys.h:33,
  3476. from ../tools/process_input_template.cpp:31:
  3477. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3478. 30 | #define stdin FCGI_stdin
  3479. |
  3480. In file included from ../tools/process_input_template.cpp:25:
  3481. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3482. 153 | #define stdin stdin
  3483. |
  3484. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3485. 31 | #define stdout FCGI_stdout
  3486. |
  3487. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3488. 154 | #define stdout stdout
  3489. |
  3490. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3491. 32 | #define stderr FCGI_stderr
  3492. |
  3493. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3494. 155 | #define stderr stderr
  3495. |
  3496. ../tools/process_input_template.cpp: In function 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)':
  3497. ../tools/process_input_template.cpp:117:23: warning: '%s' directive writing up to 4095 bytes into a region of size 512 [-Wformat-overflow=]
  3498. 117 | sprintf(md5name, "%s.md5", path);
  3499. | ^~
  3500. ......
  3501. 337 | write_md5_info(path, md5, nbytes);
  3502. | ~~~~
  3503. In file included from /usr/include/stdio.h:980:
  3504. In function 'int sprintf(char*, const char*, ...)',
  3505. inlined from 'void write_md5_info(const char*, const char*, double)' at ../tools/process_input_template.cpp:117:12,
  3506. inlined from 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)' at ../tools/process_input_template.cpp:337:39:
  3507. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 4100 bytes into a destination of size 512
  3508. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3509. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3510. 31 | __glibc_objsize (__s), __fmt,
  3511. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3512. 32 | __va_arg_pack ());
  3513. | ~~~~~~~~~~~~~~~~~
  3514. ../tools/process_input_template.cpp: In function 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)':
  3515. ../tools/process_input_template.cpp:347:43: warning: '.gz' directive writing 3 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  3516. 347 | sprintf(gzip_path, "%s.gz", path);
  3517. | ^~~
  3518. In function 'int sprintf(char*, const char*, ...)',
  3519. inlined from 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)' at ../tools/process_input_template.cpp:347:28:
  3520. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 4099 bytes into a destination of size 4096
  3521. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3522. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3523. 31 | __glibc_objsize (__s), __fmt,
  3524. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3525. 32 | __va_arg_pack ());
  3526. | ~~~~~~~~~~~~~~~~~
  3527. ../tools/process_input_template.cpp: In function 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)':
  3528. ../tools/process_input_template.cpp:357:43: warning: '%s' directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
  3529. 357 | " <gzipped_url>%s.gz</gzipped_url>\n"
  3530. | ^~
  3531. 358 | " <gzipped_nbytes>%.0f</gzipped_nbytes>\n",
  3532. 359 | url, gzipped_nbytes
  3533. | ~~~
  3534. In function 'int sprintf(char*, const char*, ...)',
  3535. inlined from 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)' at ../tools/process_input_template.cpp:356:28:
  3536. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 75 and 639 bytes into a destination of size 256
  3537. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3538. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3539. 31 | __glibc_objsize (__s), __fmt,
  3540. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3541. 32 | __va_arg_pack ());
  3542. | ~~~~~~~~~~~~~~~~~
  3543. ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
  3544. ../tools/process_input_template.cpp:435:42: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
  3545. 435 | sprintf(buf, " <file_name>%s</file_name>\n", id.name);
  3546. | ^~
  3547. In function 'int sprintf(char*, const char*, ...)',
  3548. inlined from 'int process_workunit(XML_PARSER&, WORKUNIT&, std::string&, std::vector<INFILE_DESC>&, const char*, const char*)' at ../tools/process_input_template.cpp:435:20,
  3549. inlined from 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)' at ../tools/process_input_template.cpp:561:38:
  3550. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 1052 bytes into a destination of size 256
  3551. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3552. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3553. 31 | __glibc_objsize (__s), __fmt,
  3554. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3555. 32 | __va_arg_pack ());
  3556. | ~~~~~~~~~~~~~~~~~
  3557. ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
  3558. ../tools/process_input_template.cpp:454:54: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
  3559. 454 | sprintf(buf, " <open_name>%s</open_name>\n", id.name);
  3560. | ^~
  3561. In function 'int sprintf(char*, const char*, ...)',
  3562. inlined from 'int process_workunit(XML_PARSER&, WORKUNIT&, std::string&, std::vector<INFILE_DESC>&, const char*, const char*)' at ../tools/process_input_template.cpp:454:32,
  3563. inlined from 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)' at ../tools/process_input_template.cpp:561:38:
  3564. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 1052 bytes into a destination of size 256
  3565. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3566. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3567. 31 | __glibc_objsize (__s), __fmt,
  3568. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3569. 32 | __va_arg_pack ());
  3570. | ~~~~~~~~~~~~~~~~~
  3571. ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
  3572. ../tools/process_input_template.cpp:440:50: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
  3573. 440 | sprintf(buf, " <open_name>%s</open_name>\n", open_name);
  3574. | ^~ ~~~~~~~~~
  3575. In function 'int sprintf(char*, const char*, ...)',
  3576. inlined from 'int process_workunit(XML_PARSER&, WORKUNIT&, std::string&, std::vector<INFILE_DESC>&, const char*, const char*)' at ../tools/process_input_template.cpp:440:28,
  3577. inlined from 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)' at ../tools/process_input_template.cpp:561:38:
  3578. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256
  3579. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3580. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3581. 31 | __glibc_objsize (__s), __fmt,
  3582. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3583. 32 | __va_arg_pack ());
  3584. | ~~~~~~~~~~~~~~~~~
  3585. CXX libsched_fcgi_la-backend_lib.lo
  3586. In file included from ../tools/backend_lib.cpp:19:
  3587. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3588. 30 | #define stdin FCGI_stdin
  3589. |
  3590. In file included from /usr/include/fcgi_stdio.h:18,
  3591. from ../lib/boinc_stdio.h:28:
  3592. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3593. 153 | #define stdin stdin
  3594. |
  3595. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3596. 31 | #define stdout FCGI_stdout
  3597. |
  3598. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3599. 154 | #define stdout stdout
  3600. |
  3601. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3602. 32 | #define stderr FCGI_stderr
  3603. |
  3604. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3605. 155 | #define stderr stderr
  3606. |
  3607. ../tools/backend_lib.cpp: In function 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)':
  3608. ../tools/backend_lib.cpp:161:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  3609. 161 | snprintf(result.name, sizeof(result.name), "%s_%s", wu.name, result_name_suffix);
  3610. | ^
  3611. In file included from /usr/include/stdio.h:980:
  3612. In function 'int snprintf(char*, size_t, const char*, ...)',
  3613. inlined from 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)' at ../tools/backend_lib.cpp:161:13:
  3614. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
  3615. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  3616. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3617. 55 | __glibc_objsize (__s), __fmt,
  3618. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3619. 56 | __va_arg_pack ());
  3620. | ~~~~~~~~~~~~~~~~~
  3621. CXXLD libsched_fcgi.la
  3622. make[3]: Leaving directory '/home/boincadm/boinc/sched'
  3623. CXXLD fcgi
  3624. CXX fcgi_file_upload_handler-file_upload_handler.o
  3625. In file included from file_upload_handler.cpp:34:
  3626. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3627. 30 | #define stdin FCGI_stdin
  3628. |
  3629. In file included from /usr/include/c++/13/cstdio:42,
  3630. from /usr/include/c++/13/ext/string_conversions.h:45,
  3631. from /usr/include/c++/13/bits/basic_string.h:4109,
  3632. from /usr/include/c++/13/string:54,
  3633. from file_upload_handler.cpp:32:
  3634. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3635. 153 | #define stdin stdin
  3636. |
  3637. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3638. 31 | #define stdout FCGI_stdout
  3639. |
  3640. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3641. 154 | #define stdout stdout
  3642. |
  3643. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3644. 32 | #define stderr FCGI_stderr
  3645. |
  3646. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3647. 155 | #define stderr stderr
  3648. |
  3649. file_upload_handler.cpp: In function ‘int get_key(R_RSA_PUBLIC_KEY&)’:
  3650. file_upload_handler.cpp:608:21: warning: ‘/upload_public’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  3651. 608 | sprintf(buf, "%s/upload_public", config.key_dir);
  3652. | ^~~~~~~~~~~~~~
  3653. In file included from /usr/include/stdio.h:980:
  3654. In function ‘int sprintf(char*, const char*, ...)’,
  3655. inlined from ‘int get_key(R_RSA_PUBLIC_KEY&)’ at file_upload_handler.cpp:608:12:
  3656. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256
  3657. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3658. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3659. 31 | __glibc_objsize (__s), __fmt,
  3660. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3661. 32 | __va_arg_pack ());
  3662. | ~~~~~~~~~~~~~~~~~
  3663. CXX fcgi_file_upload_handler-sched_config.o
  3664. In file included from sched_config.cpp:20:
  3665. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3666. 30 | #define stdin FCGI_stdin
  3667. |
  3668. In file included from /usr/include/fcgi_stdio.h:18,
  3669. from ../lib/boinc_stdio.h:28:
  3670. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3671. 153 | #define stdin stdin
  3672. |
  3673. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3674. 31 | #define stdout FCGI_stdout
  3675. |
  3676. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3677. 154 | #define stdout stdout
  3678. |
  3679. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3680. 32 | #define stderr FCGI_stderr
  3681. |
  3682. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3683. 155 | #define stderr stderr
  3684. |
  3685. sched_config.cpp: In member function ‘int SCHED_CONFIG::parse(FCGI_FILE*)’:
  3686. sched_config.cpp:78:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct SCHED_CONFIG’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  3687. 78 | memset(this, 0, sizeof(*this));
  3688. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  3689. In file included from sched_config.cpp:34:
  3690. sched_config.h:43:8: note: ‘struct SCHED_CONFIG’ declared here
  3691. 43 | struct SCHED_CONFIG {
  3692. | ^~~~~~~~~~~~
  3693. CXX fcgi_file_upload_handler-sched_util_basic.o
  3694. In file included from ../lib/filesys.h:33,
  3695. from sched_util_basic.cpp:31:
  3696. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3697. 30 | #define stdin FCGI_stdin
  3698. |
  3699. In file included from /usr/include/c++/13/cstdio:42,
  3700. from /usr/include/c++/13/ext/string_conversions.h:45,
  3701. from /usr/include/c++/13/bits/basic_string.h:4109,
  3702. from /usr/include/c++/13/string:54,
  3703. from /usr/include/c++/13/bits/locale_classes.h:40,
  3704. from /usr/include/c++/13/bits/ios_base.h:41,
  3705. from /usr/include/c++/13/ios:44,
  3706. from /usr/include/c++/13/istream:40,
  3707. from /usr/include/c++/13/sstream:40,
  3708. from sched_util_basic.cpp:25:
  3709. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3710. 153 | #define stdin stdin
  3711. |
  3712. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3713. 31 | #define stdout FCGI_stdout
  3714. |
  3715. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3716. 154 | #define stdout stdout
  3717. |
  3718. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3719. 32 | #define stderr FCGI_stderr
  3720. |
  3721. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3722. 155 | #define stderr stderr
  3723. |
  3724. sched_util_basic.cpp: In function ‘int dir_hier_path(const char*, const char*, int, char*, bool)’:
  3725. sched_util_basic.cpp:238:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  3726. 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
  3727. | ^
  3728. In file included from /usr/include/stdio.h:980:
  3729. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  3730. inlined from ‘int dir_hier_path(const char*, const char*, int, char*, bool)’ at sched_util_basic.cpp:238:13:
  3731. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
  3732. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  3733. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3734. 55 | __glibc_objsize (__s), __fmt,
  3735. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3736. 56 | __va_arg_pack ());
  3737. | ~~~~~~~~~~~~~~~~~
  3738. CXX fcgi_file_upload_handler-sched_limit.o
  3739. In file included from ../lib/miofile.h:21,
  3740. from ../lib/common_defs.h:32,
  3741. from ../lib/opencl_boinc.h:22,
  3742. from ../db/boinc_db_types.h:28,
  3743. from ../db/boinc_db.h:40,
  3744. from sched_main.h:18,
  3745. from sched_limit.cpp:21:
  3746. ../lib/boinc_stdio.h:30: warning: "stdin" redefined
  3747. 30 | #define stdin FCGI_stdin
  3748. |
  3749. In file included from /usr/include/c++/13/cstdio:42,
  3750. from ../db/boinc_db.h:35:
  3751. /usr/include/stdio.h:153: note: this is the location of the previous definition
  3752. 153 | #define stdin stdin
  3753. |
  3754. ../lib/boinc_stdio.h:31: warning: "stdout" redefined
  3755. 31 | #define stdout FCGI_stdout
  3756. |
  3757. /usr/include/stdio.h:154: note: this is the location of the previous definition
  3758. 154 | #define stdout stdout
  3759. |
  3760. ../lib/boinc_stdio.h:32: warning: "stderr" redefined
  3761. 32 | #define stderr FCGI_stderr
  3762. |
  3763. /usr/include/stdio.h:155: note: this is the location of the previous definition
  3764. 155 | #define stderr stderr
  3765. |
  3766. CXXLD fcgi_file_upload_handler
  3767. CXX antique_file_deleter.o
  3768. CXXLD antique_file_deleter
  3769. CXX census.o
  3770. CXXLD census
  3771. CXX credit_test.o
  3772. CXXLD credit_test
  3773. CXX db_dump.o
  3774. db_dump.cpp: In member function ‘virtual void ZIP_FILE::close()’:
  3775. db_dump.cpp:281:30: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 249 [-Wformat-overflow=]
  3776. 281 | sprintf(buf, "zip -q %s", current_path);
  3777. | ^~
  3778. In file included from /usr/include/stdio.h:980,
  3779. from /usr/include/c++/13/cstdio:42,
  3780. from db_dump.cpp:30:
  3781. In function ‘int sprintf(char*, const char*, ...)’,
  3782. inlined from ‘virtual void ZIP_FILE::close()’ at db_dump.cpp:281:16:
  3783. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 8 and 4103 bytes into a destination of size 256
  3784. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3785. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3786. 31 | __glibc_objsize (__s), __fmt,
  3787. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3788. 32 | __va_arg_pack ());
  3789. | ~~~~~~~~~~~~~~~~~
  3790. db_dump.cpp: In function ‘int main(int, char**)’:
  3791. db_dump.cpp:1315:39: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 252 [-Wformat-truncation=]
  3792. 1315 | snprintf(buf, sizeof(buf), "cp %s %s/db_dump.xml", spec_filename, spec.output_dir);
  3793. | ^~ ~~~~~~~~~~~~~~~
  3794. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  3795. inlined from ‘int main(int, char**)’ at db_dump.cpp:1315:13:
  3796. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 17 or more bytes (assuming 272) into a destination of size 256
  3797. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  3798. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3799. 55 | __glibc_objsize (__s), __fmt,
  3800. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3801. 56 | __va_arg_pack ());
  3802. | ~~~~~~~~~~~~~~~~~
  3803. db_dump.cpp: In function ‘int main(int, char**)’:
  3804. db_dump.cpp:1337:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
  3805. 1337 | sprintf(buf, "mv %s %s_%d_%d_%d_%d_%d_%d",
  3806. | ^~
  3807. 1338 | spec.final_output_dir,
  3808. | ~~~~~~~~~~~~~~~~~~~~~
  3809. db_dump.cpp:1337:22: note: directive argument in the range [-2147481748, 2147483647]
  3810. 1337 | sprintf(buf, "mv %s %s_%d_%d_%d_%d_%d_%d",
  3811. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3812. db_dump.cpp:1337:22: note: directive argument in the range [-2147483647, 2147483647]
  3813. In function ‘int sprintf(char*, const char*, ...)’,
  3814. inlined from ‘int main(int, char**)’ at db_dump.cpp:1337:16:
  3815. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 17 or more bytes (assuming 292) into a destination of size 256
  3816. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3817. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3818. 31 | __glibc_objsize (__s), __fmt,
  3819. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3820. 32 | __va_arg_pack ());
  3821. | ~~~~~~~~~~~~~~~~~
  3822. db_dump.cpp: In function ‘int main(int, char**)’:
  3823. db_dump.cpp:1353:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
  3824. 1353 | sprintf(buf, "mv %s %s", spec.output_dir, spec.final_output_dir);
  3825. | ^~ ~~~~~~~~~~~~~~~
  3826. In function ‘int sprintf(char*, const char*, ...)’,
  3827. inlined from ‘int main(int, char**)’ at db_dump.cpp:1353:12:
  3828. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 5 and 515 bytes into a destination of size 256
  3829. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3830. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3831. 31 | __glibc_objsize (__s), __fmt,
  3832. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3833. 32 | __va_arg_pack ());
  3834. | ~~~~~~~~~~~~~~~~~
  3835. CXXLD db_dump
  3836. CXX db_purge.o
  3837. db_purge.cpp: In function ‘void open_archive(const char*, void*&)’:
  3838. db_purge.cpp:282:62: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 228 [-Wformat-overflow=]
  3839. 282 | sprintf(errstr, "could not create directory '%s': %s\n",
  3840. | ^~
  3841.  
  3842. 283 | path, strerror(errno));
  3843. | ~~~~
  3844.  
  3845. In file included from /usr/include/stdio.h:980,
  3846. from /usr/include/c++/13/cstdio:42,
  3847. from db_purge.cpp:33:
  3848. In function ‘int sprintf(char*, const char*, ...)’,
  3849. inlined from ‘void open_archive(const char*, void*&)’ at db_purge.cpp:282:24:
  3850. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 33 or more bytes (assuming 4128) into a destination of size 256
  3851. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3852. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3853. 31 | __glibc_objsize (__s), __fmt,
  3854. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3855. 32 | __va_arg_pack ());
  3856. | ~~~~~~~~~~~~~~~~~
  3857. db_purge.cpp: In function ‘void open_archive(const char*, void*&)’:
  3858. db_purge.cpp:316:51: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 232 [-Wformat-overflow=]
  3859. 316 | sprintf(buf, "Can't open archive file %s %s\n",
  3860. | ^~
  3861. 317 | path, errno?strerror(errno):""
  3862. | ~~~~
  3863. In function ‘int sprintf(char*, const char*, ...)’,
  3864. inlined from ‘void open_archive(const char*, void*&)’ at db_purge.cpp:316:20:
  3865. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 27 and 4122 bytes into a destination of size 256
  3866. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3867. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3868. 31 | __glibc_objsize (__s), __fmt,
  3869. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3870. 32 | __va_arg_pack ());
  3871. | ~~~~~~~~~~~~~~~~~
  3872. db_purge.cpp: In function ‘int main(int, char**)’:
  3873. db_purge.cpp:909:35: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=]
  3874. 909 | sprintf(buf, "where name='%s'", app_name);
  3875. | ^~ ~~~~~~~~
  3876. In function ‘int sprintf(char*, const char*, ...)’,
  3877. inlined from ‘int main(int, char**)’ at db_purge.cpp:909:16:
  3878. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 14 and 269 bytes into a destination of size 256
  3879. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3880. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3881. 31 | __glibc_objsize (__s), __fmt,
  3882. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3883. 32 | __va_arg_pack ());
  3884. | ~~~~~~~~~~~~~~~~~
  3885. CXXLD db_purge
  3886. CXX feeder.o
  3887. feeder.cpp: In function ‘bool get_job_from_db(DB_WORK_ITEM&, int, int&, int&)’:
  3888. feeder.cpp:249:35: warning: ‘ and r1.appid=’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  3889. 249 | sprintf(select_clause, "%s and r1.appid=%lu",
  3890. | ^~~~~~~~~~~~~~
  3891. feeder.cpp:249:32: note: using the range [0, 18446744073709551615] for directive argument
  3892. 249 | sprintf(select_clause, "%s and r1.appid=%lu",
  3893. | ^~~~~~~~~~~~~~~~~~~~~
  3894. In file included from /usr/include/stdio.h:980,
  3895. from /usr/include/c++/13/cstdio:42,
  3896. from feeder.cpp:97:
  3897. In function ‘int sprintf(char*, const char*, ...)’,
  3898. inlined from ‘bool get_job_from_db(DB_WORK_ITEM&, int, int&, int&)’ at feeder.cpp:249:16:
  3899. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 16 and 290 bytes into a destination of size 256
  3900. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3901. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3902. 31 | __glibc_objsize (__s), __fmt,
  3903. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3904. 32 | __va_arg_pack ());
  3905. | ~~~~~~~~~~~~~~~~~
  3906. CXX synch.o
  3907. CXXLD feeder
  3908. CXX file_deleter.o
  3909. file_deleter.cpp: In function ‘int wu_delete_files(WORKUNIT&)’:
  3910. file_deleter.cpp:203:41: warning: ‘.gz’ directive writing 3 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  3911. 203 | sprintf(path_gz, "%s.gz", path);
  3912. | ^~~
  3913. In file included from /usr/include/stdio.h:980,
  3914. from /usr/include/c++/13/cstdio:42,
  3915. from /usr/include/c++/13/ext/string_conversions.h:45,
  3916. from /usr/include/c++/13/bits/basic_string.h:4109,
  3917. from /usr/include/c++/13/string:54,
  3918. from file_deleter.cpp:37:
  3919. In function ‘int sprintf(char*, const char*, ...)’,
  3920. inlined from ‘int wu_delete_files(WORKUNIT&)’ at file_deleter.cpp:203:28:
  3921. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 4 and 4099 bytes into a destination of size 4096
  3922. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3923. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3924. 31 | __glibc_objsize (__s), __fmt,
  3925. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3926. 32 | __va_arg_pack ());
  3927. | ~~~~~~~~~~~~~~~~~
  3928. file_deleter.cpp: In function ‘int wu_delete_files(WORKUNIT&)’:
  3929. file_deleter.cpp:214:46: warning: ‘.md5’ directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  3930. 214 | sprintf(path_md5, "%s.md5", path);
  3931. | ^~~~
  3932. In function ‘int sprintf(char*, const char*, ...)’,
  3933. inlined from ‘int wu_delete_files(WORKUNIT&)’ at file_deleter.cpp:214:32:
  3934. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096
  3935. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3936. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3937. 31 | __glibc_objsize (__s), __fmt,
  3938. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3939. 32 | __va_arg_pack ());
  3940. | ~~~~~~~~~~~~~~~~~
  3941. CXXLD file_deleter
  3942. CXX message_handler.o
  3943. CXXLD message_handler
  3944. CXX assimilator.o
  3945. CXX validate_util.o
  3946. CXX sample_assimilator.o
  3947. CXXLD sample_assimilator
  3948. CXX validator.o
  3949. validator.cpp: In function ‘int main_loop()’:
  3950. validator.cpp:815:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=]
  3951. 815 | sprintf(buf, "where name='%s'", app_name);
  3952. | ^~ ~~~~~~~~
  3953. In file included from /usr/include/stdio.h:980,
  3954. from /usr/include/c++/13/cstdio:42,
  3955. from /usr/include/c++/13/ext/string_conversions.h:45,
  3956. from /usr/include/c++/13/bits/basic_string.h:4109,
  3957. from /usr/include/c++/13/string:54,
  3958. from validator.cpp:57:
  3959. In function ‘int sprintf(char*, const char*, ...)’,
  3960. inlined from ‘int main_loop()’ at validator.cpp:815:12:
  3961. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 14 and 269 bytes into a destination of size 256
  3962. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3963. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3964. 31 | __glibc_objsize (__s), __fmt,
  3965. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3966. 32 | __va_arg_pack ());
  3967. | ~~~~~~~~~~~~~~~~~
  3968. CXX validate_util2.o
  3969. CXX sample_bitwise_validator.o
  3970. CXXLD sample_bitwise_validator
  3971. CXX sample_dummy_assimilator.o
  3972. CXXLD sample_dummy_assimilator
  3973. CXX sample_substr_validator.o
  3974. CXXLD sample_substr_validator
  3975. CXX sample_trivial_validator.o
  3976. CXXLD sample_trivial_validator
  3977. CXX sample_work_generator.o
  3978. CXXLD sample_work_generator
  3979. CXX script_assimilator.o
  3980. script_assimilator.cpp: In function ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’:
  3981. script_assimilator.cpp:125:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  3982. 125 | sprintf(buf, " %s", wu.name);
  3983. | ^
  3984. In file included from /usr/include/stdio.h:980,
  3985. from /usr/include/c++/13/cstdio:42,
  3986. from /usr/include/c++/13/ext/string_conversions.h:45,
  3987. from /usr/include/c++/13/bits/basic_string.h:4109,
  3988. from /usr/include/c++/13/string:54,
  3989. from script_assimilator.cpp:46:
  3990. In function ‘int sprintf(char*, const char*, ...)’,
  3991. inlined from ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’ at script_assimilator.cpp:125:24:
  3992. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 2 and 257 bytes into a destination of size 256
  3993. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  3994. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3995. 31 | __glibc_objsize (__s), __fmt,
  3996. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3997. 32 | __va_arg_pack ());
  3998. | ~~~~~~~~~~~~~~~~~
  3999. CXXLD script_assimilator
  4000. CXX script_validator.o
  4001. CXXLD script_validator
  4002. CXX single_job_assimilator.o
  4003. single_job_assimilator.cpp: In function ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’:
  4004. single_job_assimilator.cpp:103:26: warning: ‘/job_summary_’ directive writing 13 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  4005. 103 | sprintf(filename, "%s/job_summary_%lu", job_dir, wu.id);
  4006. | ^~~~~~~~~~~~~
  4007. single_job_assimilator.cpp:103:23: note: using the range [0, 18446744073709551615] for directive argument
  4008. 103 | sprintf(filename, "%s/job_summary_%lu", job_dir, wu.id);
  4009. | ^~~~~~~~~~~~~~~~~~~~
  4010. In file included from /usr/include/stdio.h:980,
  4011. from /usr/include/c++/13/cstdio:42,
  4012. from /usr/include/c++/13/ext/string_conversions.h:45,
  4013. from /usr/include/c++/13/bits/basic_string.h:4109,
  4014. from /usr/include/c++/13/string:54,
  4015. from single_job_assimilator.cpp:25:
  4016. In function ‘int sprintf(char*, const char*, ...)’,
  4017. inlined from ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’ at single_job_assimilator.cpp:103:12:
  4018. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 15 and 4129 bytes into a destination of size 4096
  4019. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4020. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4021. 31 | __glibc_objsize (__s), __fmt,
  4022. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4023. 32 | __va_arg_pack ());
  4024. | ~~~~~~~~~~~~~~~~~
  4025. single_job_assimilator.cpp: In function ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’:
  4026. single_job_assimilator.cpp:134:38: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  4027. 134 | sprintf(copy_path, "%s/%s", job_dir, logical_name.c_str());
  4028. | ^
  4029. In function ‘int sprintf(char*, const char*, ...)’,
  4030. inlined from ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’ at single_job_assimilator.cpp:134:20:
  4031. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
  4032. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4033. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4034. 31 | __glibc_objsize (__s), __fmt,
  4035. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4036. 32 | __va_arg_pack ());
  4037. | ~~~~~~~~~~~~~~~~~
  4038. CXXLD single_job_assimilator
  4039. CXX size_regulator.o
  4040. CXXLD size_regulator
  4041. CXX transitioner.o
  4042. CXXLD transitioner
  4043. CXX trickle_credit.o
  4044. CXX trickle_handler.o
  4045. trickle_handler.cpp: In function ‘bool do_trickle_scan()’:
  4046. trickle_handler.cpp:70:34: warning: ‘%s’ directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
  4047. 70 | sprintf(buf, "where variety='%s' and handled=%d", variety, handled_enum);
  4048. | ^~ ~~~~~~~
  4049. In file included from /usr/include/stdio.h:980,
  4050. from /usr/include/c++/13/cstdio:42,
  4051. from ../db/boinc_db.h:35,
  4052. from trickle_handler.cpp:37:
  4053. In function ‘int sprintf(char*, const char*, ...)’,
  4054. inlined from ‘bool do_trickle_scan()’ at trickle_handler.cpp:70:12:
  4055. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 31 and 296 bytes into a destination of size 256
  4056. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4057. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4058. 31 | __glibc_objsize (__s), __fmt,
  4059. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4060. 32 | __va_arg_pack ());
  4061. | ~~~~~~~~~~~~~~~~~
  4062. CXXLD trickle_credit
  4063. CXX trickle_deadline.o
  4064. trickle_deadline.cpp: In function ‘int handle_trickle(MSG_FROM_HOST&)’:
  4065. trickle_deadline.cpp:101:32: warning: ‘%s’ directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=]
  4066. 101 | sprintf(buf, " where name='%s' and hostid=%lu", task_name, mfh.hostid);
  4067. | ^~ ~~~~~~~~~
  4068. trickle_deadline.cpp:101:18: note: using the range [0, 18446744073709551615] for directive argument
  4069. 101 | sprintf(buf, " where name='%s' and hostid=%lu", task_name, mfh.hostid);
  4070. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4071. In file included from /usr/include/stdio.h:980,
  4072. from /usr/include/c++/13/cstdio:42,
  4073. from /usr/include/c++/13/ext/string_conversions.h:45,
  4074. from /usr/include/c++/13/bits/basic_string.h:4109,
  4075. from /usr/include/c++/13/string:54,
  4076. from ../lib/util.h:24,
  4077. from trickle_deadline.cpp:35:
  4078. In function ‘int sprintf(char*, const char*, ...)’,
  4079. inlined from ‘int handle_trickle(MSG_FROM_HOST&)’ at trickle_deadline.cpp:101:12:
  4080. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 28 and 302 bytes into a destination of size 256
  4081. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4082. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4083. 31 | __glibc_objsize (__s), __fmt,
  4084. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4085. 32 | __va_arg_pack ());
  4086. | ~~~~~~~~~~~~~~~~~
  4087. CXXLD trickle_deadline
  4088. CXX trickle_echo.o
  4089. trickle_echo.cpp: In function ‘int handle_trickle(MSG_FROM_HOST&)’:
  4090. trickle_echo.cpp:55:10: warning: ‘%s’ directive writing up to 262143 bytes into a region of size 262129 [-Wformat-overflow=]
  4091. 55 | "%s"
  4092. | ^~
  4093. In file included from /usr/include/stdio.h:980,
  4094. from /usr/include/c++/13/cstdio:42,
  4095. from ../db/boinc_db.h:35,
  4096. from trickle_handler.h:18,
  4097. from trickle_echo.cpp:32:
  4098. In function ‘int sprintf(char*, const char*, ...)’,
  4099. inlined from ‘int handle_trickle(MSG_FROM_HOST&)’ at trickle_echo.cpp:53:12:
  4100. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 32 and 262175 bytes into a destination of size 262144
  4101. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4102. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4103. 31 | __glibc_objsize (__s), __fmt,
  4104. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4105. 32 | __va_arg_pack ());
  4106. | ~~~~~~~~~~~~~~~~~
  4107. CXXLD trickle_echo
  4108. CXX update_stats.o
  4109. CXXLD update_stats
  4110. CXX libsched_la-credit.lo
  4111. CXX libsched_la-sched_shmem.lo
  4112. sched_shmem.cpp: In member function 'void SCHED_SHMEM::init(int)':
  4113. sched_shmem.cpp:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct SCHED_SHMEM'; use assignment or value-initialization instead [-Wclass-memaccess]
  4114. 46 | memset(this, 0, size);
  4115. | ~~~~~~^~~~~~~~~~~~~~~
  4116. In file included from sched_shmem.cpp:41:
  4117. sched_shmem.h:83:8: note: 'struct SCHED_SHMEM' declared here
  4118. 83 | struct SCHED_SHMEM {
  4119. | ^~~~~~~~~~~
  4120. CXX libsched_la-sched_util.lo
  4121. CXX libsched_la-sched_util_basic.lo
  4122. sched_util_basic.cpp: In function 'int dir_hier_path(const char*, const char*, int, char*, bool)':
  4123. sched_util_basic.cpp:238:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  4124. 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
  4125. | ^
  4126. In file included from /usr/include/stdio.h:980,
  4127. from /usr/include/c++/13/cstdio:42,
  4128. from /usr/include/c++/13/ext/string_conversions.h:45,
  4129. from /usr/include/c++/13/bits/basic_string.h:4109,
  4130. from /usr/include/c++/13/string:54,
  4131. from /usr/include/c++/13/bits/locale_classes.h:40,
  4132. from /usr/include/c++/13/bits/ios_base.h:41,
  4133. from /usr/include/c++/13/ios:44,
  4134. from /usr/include/c++/13/istream:40,
  4135. from /usr/include/c++/13/sstream:40,
  4136. from sched_util_basic.cpp:25:
  4137. In function 'int snprintf(char*, size_t, const char*, ...)',
  4138. inlined from 'int dir_hier_path(const char*, const char*, int, char*, bool)' at sched_util_basic.cpp:238:13:
  4139. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096
  4140. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4141. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4142. 55 | __glibc_objsize (__s), __fmt,
  4143. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4144. 56 | __va_arg_pack ());
  4145. | ~~~~~~~~~~~~~~~~~
  4146. CXX libsched_la-sched_config.lo
  4147. sched_config.cpp: In member function 'int SCHED_CONFIG::parse(FILE*)':
  4148. sched_config.cpp:78:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct SCHED_CONFIG' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  4149. 78 | memset(this, 0, sizeof(*this));
  4150. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  4151. In file included from sched_config.cpp:34:
  4152. sched_config.h:43:8: note: 'struct SCHED_CONFIG' declared here
  4153. 43 | struct SCHED_CONFIG {
  4154. | ^~~~~~~~~~~~
  4155. CXX libsched_la-sched_limit.lo
  4156. CXX libsched_la-boinc_db.lo
  4157. ../db/boinc_db.cpp: In member function 'void HOST::clear()':
  4158. ../db/boinc_db.cpp:72:27: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct HOST' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  4159. 72 | void HOST::clear() {memset(this, 0, sizeof(*this));}
  4160. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  4161. In file included from ../db/boinc_db.h:40,
  4162. from ../db/boinc_db.cpp:36:
  4163. ../db/boinc_db_types.h:270:8: note: 'struct HOST' declared here
  4164. 270 | struct HOST {
  4165. | ^~~~
  4166. ../db/boinc_db.cpp: In member function 'void VALIDATOR_ITEM::clear()':
  4167. ../db/boinc_db.cpp:87:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct VALIDATOR_ITEM'; use assignment or value-initialization instead [-Wclass-memaccess]
  4168. 87 | void VALIDATOR_ITEM::clear() {memset(this, 0, sizeof(*this));}
  4169. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  4170. ../db/boinc_db.h:120:8: note: 'struct VALIDATOR_ITEM' declared here
  4171. 120 | struct VALIDATOR_ITEM {
  4172. | ^~~~~~~~~~~~~~
  4173. ../db/boinc_db.cpp: In member function 'void WORK_ITEM::parse(char**&)':
  4174. ../db/boinc_db.cpp:2055:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WORK_ITEM'; use assignment or value-initialization instead [-Wclass-memaccess]
  4175. 2055 | memset(this, 0, sizeof(WORK_ITEM));
  4176. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4177. ../db/boinc_db.h:312:8: note: 'struct WORK_ITEM' declared here
  4178. 312 | struct WORK_ITEM {
  4179. | ^~~~~~~~~
  4180. CXX libsched_la-db_base.lo
  4181. ../db/db_base.cpp: In member function 'int DB_BASE::insert()':
  4182. ../db/db_base.cpp:206:40: warning: '%s' directive writing up to 524287 bytes into a region of size 524271 [-Wformat-overflow=]
  4183. 206 | sprintf(query, "insert into %s set %s", table_name, vals);
  4184. | ^~ ~~~~
  4185. In file included from /usr/include/stdio.h:980,
  4186. from /usr/include/c++/13/cstdio:42,
  4187. from ../db/db_base.cpp:19:
  4188. In function 'int sprintf(char*, const char*, ...)',
  4189. inlined from 'int DB_BASE::insert()' at ../db/db_base.cpp:206:12:
  4190. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 524305) into a destination of size 524288
  4191. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4192. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4193. 31 | __glibc_objsize (__s), __fmt,
  4194. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4195. 32 | __va_arg_pack ());
  4196. | ~~~~~~~~~~~~~~~~~
  4197. ../db/db_base.cpp: In member function 'int DB_BASE::update()':
  4198. ../db/db_base.cpp:248:35: warning: '%s' directive writing up to 262143 bytes into a region of size 262132 [-Wformat-overflow=]
  4199. 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
  4200. | ^~ ~~~~
  4201. ../db/db_base.cpp:248:20: note: using the range [0, 18446744073709551615] for directive argument
  4202. 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
  4203. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4204. In function 'int sprintf(char*, const char*, ...)',
  4205. inlined from 'int DB_BASE::update()' at ../db/db_base.cpp:248:12:
  4206. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 24 or more bytes (assuming 262167) into a destination of size 262144
  4207. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4208. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4209. 31 | __glibc_objsize (__s), __fmt,
  4210. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4211. 32 | __va_arg_pack ());
  4212. | ~~~~~~~~~~~~~~~~~
  4213. CXX libsched_la-process_result_template.lo
  4214. ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
  4215. ../tools/process_result_template.cpp:67:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=]
  4216. 67 | sprintf(signed_xml, "<name>%s</name><max_nbytes>%.0f</max_nbytes>",
  4217. | ^~
  4218. 68 | name, max_nbytes
  4219. | ~~~~
  4220. In file included from /usr/include/stdio.h:980,
  4221. from /usr/include/c++/13/cstdio:42,
  4222. from /usr/include/c++/13/ext/string_conversions.h:45,
  4223. from /usr/include/c++/13/bits/basic_string.h:4109,
  4224. from /usr/include/c++/13/string:54,
  4225. from ../tools/process_result_template.cpp:20:
  4226. In function 'int sprintf(char*, const char*, ...)',
  4227. inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:67:16:
  4228. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 40 and 1372 bytes into a destination of size 1024
  4229. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4230. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4231. 31 | __glibc_objsize (__s), __fmt,
  4232. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4233. 32 | __va_arg_pack ());
  4234. | ~~~~~~~~~~~~~~~~~
  4235. ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
  4236. ../tools/process_result_template.cpp:72:31: warning: '%s' directive writing up to 65535 bytes into a region of size 65520 [-Wformat-overflow=]
  4237. 72 | "<xml_signature>\n%s</xml_signature>\n", signature_hex
  4238. | ^~ ~~~~~~~~~~~~~
  4239. In function 'int sprintf(char*, const char*, ...)',
  4240. inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:71:16:
  4241. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 34 and 65569 bytes into a destination of size 65536
  4242. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4243. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4244. 31 | __glibc_objsize (__s), __fmt,
  4245. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4246. 32 | __va_arg_pack ());
  4247. | ~~~~~~~~~~~~~~~~~
  4248. CXX libsched_la-process_input_template.lo
  4249. ../tools/process_input_template.cpp: In function 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)':
  4250. ../tools/process_input_template.cpp:117:23: warning: '%s' directive writing up to 4095 bytes into a region of size 512 [-Wformat-overflow=]
  4251. 117 | sprintf(md5name, "%s.md5", path);
  4252. | ^~
  4253. ......
  4254. 337 | write_md5_info(path, md5, nbytes);
  4255. | ~~~~
  4256. In file included from /usr/include/stdio.h:980,
  4257. from ../tools/process_input_template.cpp:25:
  4258. In function 'int sprintf(char*, const char*, ...)',
  4259. inlined from 'void write_md5_info(const char*, const char*, double)' at ../tools/process_input_template.cpp:117:12,
  4260. inlined from 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)' at ../tools/process_input_template.cpp:337:39:
  4261. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 4100 bytes into a destination of size 512
  4262. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4263. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4264. 31 | __glibc_objsize (__s), __fmt,
  4265. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4266. 32 | __va_arg_pack ());
  4267. | ~~~~~~~~~~~~~~~~~
  4268. ../tools/process_input_template.cpp: In function 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)':
  4269. ../tools/process_input_template.cpp:347:43: warning: '.gz' directive writing 3 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
  4270. 347 | sprintf(gzip_path, "%s.gz", path);
  4271. | ^~~
  4272. In function 'int sprintf(char*, const char*, ...)',
  4273. inlined from 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)' at ../tools/process_input_template.cpp:347:28:
  4274. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 4 and 4099 bytes into a destination of size 4096
  4275. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4276. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4277. 31 | __glibc_objsize (__s), __fmt,
  4278. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4279. 32 | __va_arg_pack ());
  4280. | ~~~~~~~~~~~~~~~~~
  4281. ../tools/process_input_template.cpp: In function 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)':
  4282. ../tools/process_input_template.cpp:357:43: warning: '%s' directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
  4283. 357 | " <gzipped_url>%s.gz</gzipped_url>\n"
  4284. | ^~
  4285. 358 | " <gzipped_nbytes>%.0f</gzipped_nbytes>\n",
  4286. 359 | url, gzipped_nbytes
  4287. | ~~~
  4288. In function 'int sprintf(char*, const char*, ...)',
  4289. inlined from 'int process_file_info(XML_PARSER&, SCHED_CONFIG&, std::vector<INFILE_DESC>&, std::string&, std::vector<INFILE_DESC>&, int&)' at ../tools/process_input_template.cpp:356:28:
  4290. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 75 and 639 bytes into a destination of size 256
  4291. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4292. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4293. 31 | __glibc_objsize (__s), __fmt,
  4294. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4295. 32 | __va_arg_pack ());
  4296. | ~~~~~~~~~~~~~~~~~
  4297. ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
  4298. ../tools/process_input_template.cpp:435:42: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
  4299. 435 | sprintf(buf, " <file_name>%s</file_name>\n", id.name);
  4300. | ^~
  4301. In function 'int sprintf(char*, const char*, ...)',
  4302. inlined from 'int process_workunit(XML_PARSER&, WORKUNIT&, std::string&, std::vector<INFILE_DESC>&, const char*, const char*)' at ../tools/process_input_template.cpp:435:20,
  4303. inlined from 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)' at ../tools/process_input_template.cpp:561:38:
  4304. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 1052 bytes into a destination of size 256
  4305. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4306. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4307. 31 | __glibc_objsize (__s), __fmt,
  4308. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4309. 32 | __va_arg_pack ());
  4310. | ~~~~~~~~~~~~~~~~~
  4311. ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
  4312. ../tools/process_input_template.cpp:454:54: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
  4313. 454 | sprintf(buf, " <open_name>%s</open_name>\n", id.name);
  4314. | ^~
  4315. In function 'int sprintf(char*, const char*, ...)',
  4316. inlined from 'int process_workunit(XML_PARSER&, WORKUNIT&, std::string&, std::vector<INFILE_DESC>&, const char*, const char*)' at ../tools/process_input_template.cpp:454:32,
  4317. inlined from 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)' at ../tools/process_input_template.cpp:561:38:
  4318. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 1052 bytes into a destination of size 256
  4319. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4320. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4321. 31 | __glibc_objsize (__s), __fmt,
  4322. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4323. 32 | __va_arg_pack ());
  4324. | ~~~~~~~~~~~~~~~~~
  4325. ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
  4326. ../tools/process_input_template.cpp:440:50: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
  4327. 440 | sprintf(buf, " <open_name>%s</open_name>\n", open_name);
  4328. | ^~ ~~~~~~~~~
  4329. In function 'int sprintf(char*, const char*, ...)',
  4330. inlined from 'int process_workunit(XML_PARSER&, WORKUNIT&, std::string&, std::vector<INFILE_DESC>&, const char*, const char*)' at ../tools/process_input_template.cpp:440:28,
  4331. inlined from 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)' at ../tools/process_input_template.cpp:561:38:
  4332. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256
  4333. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4334. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4335. 31 | __glibc_objsize (__s), __fmt,
  4336. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4337. 32 | __va_arg_pack ());
  4338. | ~~~~~~~~~~~~~~~~~
  4339. CXX libsched_la-backend_lib.lo
  4340. ../tools/backend_lib.cpp: In function 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)':
  4341. ../tools/backend_lib.cpp:161:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  4342. 161 | snprintf(result.name, sizeof(result.name), "%s_%s", wu.name, result_name_suffix);
  4343. | ^
  4344. In file included from /usr/include/stdio.h:980,
  4345. from /usr/include/c++/13/cstdio:42,
  4346. from ../lib/boinc_stdio.h:35,
  4347. from ../tools/backend_lib.cpp:19:
  4348. In function 'int snprintf(char*, size_t, const char*, ...)',
  4349. inlined from 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)' at ../tools/backend_lib.cpp:161:13:
  4350. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
  4351. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4352. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4353. 55 | __glibc_objsize (__s), __fmt,
  4354. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4355. 56 | __va_arg_pack ());
  4356. | ~~~~~~~~~~~~~~~~~
  4357. CXXLD libsched.la
  4358. rm -f libsched.a
  4359. /usr/bin/ln .libs/libsched.a .
  4360. rm -f libsched_fcgi.a
  4361. /usr/bin/ln .libs/libsched_fcgi.a .
  4362. make[2]: Leaving directory '/home/boincadm/boinc/sched'
  4363. Making all in apps
  4364. make[2]: Entering directory '/home/boincadm/boinc/apps'
  4365. CXX uppercase-uppercase.o
  4366. CXXLD uppercase
  4367. CXX concat-concat.o
  4368. concat.cpp: In function ‘int main(int, char**)’:
  4369. concat.cpp:122:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  4370. 122 | fscanf(state, "%d %d", &file_num, &nchars);
  4371. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4372. CXXLD concat
  4373. CXX 1sec-1sec.o
  4374. CXXLD 1sec
  4375. make[2]: Leaving directory '/home/boincadm/boinc/apps'
  4376. Making all in tools
  4377. make[2]: Entering directory '/home/boincadm/boinc/tools'
  4378. CXX cancel_jobs.o
  4379. CXXLD cancel_jobs
  4380. CXX create_work.o
  4381. create_work.cpp: In function ‘int main(int, char**)’:
  4382. create_work.cpp:493:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=]
  4383. 493 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
  4384. | ^~
  4385.  
  4386. create_work.cpp:493:64: note: directive argument in the range [0, 2147483647]
  4387. 493 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
  4388. | ^~~~~~~
  4389.  
  4390. In file included from /usr/include/stdio.h:980,
  4391. from /usr/include/c++/13/cstdio:42,
  4392. from create_work.cpp:43:
  4393. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  4394. inlined from ‘int main(int, char**)’ at create_work.cpp:493:29:
  4395. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 3 and 267 bytes into a destination of size 256
  4396. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4397. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4398. 55 | __glibc_objsize (__s), __fmt,
  4399. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4400. 56 | __va_arg_pack ());
  4401. | ~~~~~~~~~~~~~~~~~
  4402. create_work.cpp: In function ‘int main(int, char**)’:
  4403. create_work.cpp:469:68: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=]
  4404. 469 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
  4405. | ^~
  4406.  
  4407. create_work.cpp:469:64: note: directive argument in the range [0, 2147483647]
  4408. 469 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
  4409. | ^~~~~~~
  4410.  
  4411. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  4412. inlined from ‘int main(int, char**)’ at create_work.cpp:469:29:
  4413. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 3 and 267 bytes into a destination of size 256
  4414. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4415. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4416. 55 | __glibc_objsize (__s), __fmt,
  4417. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4418. 56 | __va_arg_pack ());
  4419. | ~~~~~~~~~~~~~~~~~
  4420. CXXLD create_work
  4421. CXX dir_hier_move.o
  4422. CXXLD dir_hier_move
  4423. CXX dir_hier_path.o
  4424. CXXLD dir_hier_path
  4425. CXX remote_submit_test.o
  4426. remote_submit_test.cpp: In function ‘void get_auth()’:
  4427. remote_submit_test.cpp:64:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  4428. 64 | fread((void*)authenticator, 1, 256, f);
  4429. | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4430. CXX remote_submit.o
  4431. ../lib/remote_submit.cpp: In function ‘int do_http_post(const char*, const char*, FILE*, std::vector<std::__cxx11::basic_string<char> >)’:
  4432. ../lib/remote_submit.cpp:125:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  4433. 125 | CURLFORM_COPYNAME, "request",
  4434. | ^~~~~~~~~~~~~~~~~
  4435. In file included from ../lib/remote_submit.cpp:24:
  4436. /usr/include/x86_64-linux-gnu/curl/curl.h:2501:3: note: declared here
  4437. 2501 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
  4438. | ^~~~~~~~~~~~~~~~~
  4439. ../lib/remote_submit.cpp:126:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  4440. 126 | CURLFORM_COPYCONTENTS, request,
  4441. | ^~~~~~~~~~~~~~~~~~~~~
  4442. /usr/include/x86_64-linux-gnu/curl/curl.h:2504:3: note: declared here
  4443. 2504 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
  4444. | ^~~~~~~~~~~~~~~~~~~~~
  4445. ../lib/remote_submit.cpp:124:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  4446. 124 | curl_formadd(&formpost, &lastptr,
  4447. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  4448. 125 | CURLFORM_COPYNAME, "request",
  4449. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4450. 126 | CURLFORM_COPYCONTENTS, request,
  4451. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4452. 127 | CURLFORM_END
  4453. | ~~~~~~~~~~~~
  4454. 128 | );
  4455. | ~
  4456. /usr/include/x86_64-linux-gnu/curl/curl.h:2576:1: note: declared here
  4457. 2576 | curl_formadd(struct curl_httppost **httppost,
  4458. | ^~~~~~~~~~~~
  4459. ../lib/remote_submit.cpp:133:13: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  4460. 133 | CURLFORM_COPYNAME, buf,
  4461. | ^~~~~~~~~~~~~~~~~
  4462. /usr/include/x86_64-linux-gnu/curl/curl.h:2501:3: note: declared here
  4463. 2501 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
  4464. | ^~~~~~~~~~~~~~~~~
  4465. ../lib/remote_submit.cpp:134:13: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
  4466. 134 | CURLFORM_FILE, s.c_str(),
  4467. | ^~~~~~~~~~~~~
  4468. /usr/include/x86_64-linux-gnu/curl/curl.h:2510:3: note: declared here
  4469. 2510 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
  4470. | ^~~~~~~~~~~~~
  4471. ../lib/remote_submit.cpp:132:21: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  4472. 132 | curl_formadd(&formpost, &lastptr,
  4473. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  4474. 133 | CURLFORM_COPYNAME, buf,
  4475. | ~~~~~~~~~~~~~~~~~~~~~~~
  4476. 134 | CURLFORM_FILE, s.c_str(),
  4477. | ~~~~~~~~~~~~~~~~~~~~~~~~~
  4478. 135 | CURLFORM_END
  4479. | ~~~~~~~~~~~~
  4480. 136 | );
  4481. | ~
  4482. /usr/include/x86_64-linux-gnu/curl/curl.h:2576:1: note: declared here
  4483. 2576 | curl_formadd(struct curl_httppost **httppost,
  4484. | ^~~~~~~~~~~~
  4485. ../lib/remote_submit.cpp:142:28: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
  4486. 142 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
  4487. | ^~~~~~~~~~~~~~~~
  4488. /usr/include/x86_64-linux-gnu/curl/curl.h:1190:3: note: declared here
  4489. 1190 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
  4490. | ^~~~~~~~~~~~~~~~~
  4491. ../lib/remote_submit.cpp:152:18: warning: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
  4492. 152 | curl_formfree(formpost);
  4493. | ~~~~~~~~~~~~~^~~~~~~~~~
  4494. /usr/include/x86_64-linux-gnu/curl/curl.h:2612:1: note: declared here
  4495. 2612 | curl_formfree(struct curl_httppost *form);
  4496. | ^~~~~~~~~~~~~
  4497. ../lib/remote_submit.cpp: In function ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’:
  4498. ../lib/remote_submit.cpp:952:88: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 973 [-Wformat-truncation=]
  4499. 952 | l), "%sget_output.php?cmd=workunit_file&auth_str=%s&wu_name=%s&file_num=%d",
  4500. | ^~
  4501.  
  4502. 953 | ticator, job_name_esc, file_num
  4503. | ~~~~~~~~~~~~
  4504.  
  4505. In file included from /usr/include/stdio.h:980,
  4506. from /usr/include/x86_64-linux-gnu/curl/curl.h:56:
  4507. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  4508. inlined from ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’ at ../lib/remote_submit.cpp:952:13:
  4509. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 63 or more bytes (assuming 1086) into a destination of size 1024
  4510. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4511. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4512. 55 | __glibc_objsize (__s), __fmt,
  4513. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4514. 56 | __va_arg_pack ());
  4515. | ~~~~~~~~~~~~~~~~~
  4516. ../lib/remote_submit.cpp: In function ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’:
  4517. ../lib/remote_submit.cpp:960:52: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1009 [-Wformat-truncation=]
  4518. 960 | snprintf(buf, sizeof(buf), "couldn't fetch %s: %d", url, retval);
  4519. | ^~ ~~~
  4520. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  4521. inlined from ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’ at ../lib/remote_submit.cpp:960:17:
  4522. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 20 and 1043 bytes into a destination of size 1024
  4523. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4524. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4525. 55 | __glibc_objsize (__s), __fmt,
  4526. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4527. 56 | __va_arg_pack ());
  4528. | ~~~~~~~~~~~~~~~~~
  4529. CXXLD remote_submit_test
  4530. CXX sign_executable.o
  4531. CXXLD sign_executable
  4532. CXX stage_file_native.o
  4533. stage_file_native.cpp: In function ‘int stage_file(char*, bool, bool, bool)’:
  4534. stage_file_native.cpp:141:42: warning: ‘.gz’ directive output may be truncated writing 3 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
  4535. 141 | snprintf(gz_path, MAXPATHLEN, "%s.gz", dl_hier_path);
  4536. | ^~~
  4537. In file included from /usr/include/stdio.h:980,
  4538. from /usr/include/c++/13/cstdio:42,
  4539. from stage_file_native.cpp:23:
  4540. In function ‘int snprintf(char*, size_t, const char*, ...)’,
  4541. inlined from ‘int stage_file(char*, bool, bool, bool)’ at stage_file_native.cpp:141:17:
  4542. /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 4 and 4099 bytes into a destination of size 4096
  4543. 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  4544. | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4545. 55 | __glibc_objsize (__s), __fmt,
  4546. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4547. 56 | __va_arg_pack ());
  4548. | ~~~~~~~~~~~~~~~~~
  4549. CXXLD stage_file_native
  4550. make[2]: Leaving directory '/home/boincadm/boinc/tools'
  4551. Making all in vda
  4552. make[2]: Entering directory '/home/boincadm/boinc/vda'
  4553. CXX vda.o
  4554. vda.cpp: In function ‘int handle_add(const char*)’:
  4555. vda.cpp:125:19: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
  4556. 125 | sprintf(buf, "%s/boinc_meta.txt", dir);
  4557. | ^~ ~~~
  4558. In file included from /usr/include/stdio.h:980,
  4559. from vda.cpp:23:
  4560. In function ‘int sprintf(char*, const char*, ...)’,
  4561. inlined from ‘int handle_add(const char*)’ at vda.cpp:125:12:
  4562. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 16 and 4111 bytes into a destination of size 1024
  4563. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4564. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4565. 31 | __glibc_objsize (__s), __fmt,
  4566. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4567. 32 | __va_arg_pack ());
  4568. | ~~~~~~~~~~~~~~~~~
  4569. CXX vda_lib.o
  4570. CXX vda_lib2.o
  4571. vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
  4572. vda_lib2.cpp:210:13: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
  4573. 210 | "cd %s; /mydisks/b/users/boincadm/vda_test/encoder %s %d %d cauchy_good 32 1024 500000 | grep Encoding",
  4574. | ^~
  4575. In file included from /usr/include/stdio.h:980,
  4576. from /usr/include/c++/13/cstdio:42,
  4577. from /usr/include/c++/13/ext/string_conversions.h:45,
  4578. from /usr/include/c++/13/bits/basic_string.h:4109,
  4579. from /usr/include/c++/13/string:54,
  4580. from ../lib/filesys.h:29,
  4581. from vda_lib2.cpp:30:
  4582. In function ‘int sprintf(char*, const char*, ...)’,
  4583. inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:209:12:
  4584. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 104 and 1147 bytes into a destination of size 1024
  4585. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4586. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4587. 31 | __glibc_objsize (__s), __fmt,
  4588. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4589. 32 | __va_arg_pack ());
  4590. | ~~~~~~~~~~~~~~~~~
  4591. vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
  4592. vda_lib2.cpp:221:34: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=]
  4593. 221 | sprintf(cmd, "chmod g+wx %s/Coding", dir);
  4594. | ^~
  4595. In function ‘int sprintf(char*, const char*, ...)’,
  4596. inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:221:16:
  4597. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 19 and 1042 bytes into a destination of size 1024
  4598. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4599. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4600. 31 | __glibc_objsize (__s), __fmt,
  4601. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4602. 32 | __va_arg_pack ());
  4603. | ~~~~~~~~~~~~~~~~~
  4604. vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
  4605. vda_lib2.cpp:234:37: warning: ‘/Coding/’ directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  4606. 234 | sprintf(target_path, "%s/Coding/%s", dir, enc_filename);
  4607. | ^~~~~~~~
  4608. In function ‘int sprintf(char*, const char*, ...)’,
  4609. inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:234:20:
  4610. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 9 and 2055 bytes into a destination of size 1024
  4611. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4612. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4613. 31 | __glibc_objsize (__s), __fmt,
  4614. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4615. 32 | __va_arg_pack ());
  4616. | ~~~~~~~~~~~~~~~~~
  4617. vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
  4618. vda_lib2.cpp:235:35: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  4619. 235 | sprintf(dir_name, "%s/%d", dir, i);
  4620. | ^~
  4621. vda_lib2.cpp:235:31: note: directive argument in the range [0, 2147483646]
  4622. 235 | sprintf(dir_name, "%s/%d", dir, i);
  4623. | ^~~~~~~
  4624. In function ‘int sprintf(char*, const char*, ...)’,
  4625. inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:235:20:
  4626. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 1035 bytes into a destination of size 1024
  4627. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4628. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4629. 31 | __glibc_objsize (__s), __fmt,
  4630. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4631. 32 | __va_arg_pack ());
  4632. | ~~~~~~~~~~~~~~~~~
  4633. vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
  4634. vda_lib2.cpp:241:36: warning: ‘%s’ directive writing 8 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  4635. 241 | sprintf(link_name, "%s/%s", dir_name, DATA_FILENAME);
  4636. | ^~
  4637. In function ‘int sprintf(char*, const char*, ...)’,
  4638. inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:241:20:
  4639. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 1033 bytes into a destination of size 1024
  4640. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4641. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4642. 31 | __glibc_objsize (__s), __fmt,
  4643. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4644. 32 | __va_arg_pack ());
  4645. | ~~~~~~~~~~~~~~~~~
  4646. vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
  4647. vda_lib2.cpp:276:30: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
  4648. 276 | sprintf(cmd, "mv %s/Coding/%s %s/Coding/decode_temp",
  4649. | ^~
  4650. In function ‘int sprintf(char*, const char*, ...)’,
  4651. inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:276:20:
  4652. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 32 and 3101 bytes into a destination of size 1024
  4653. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4654. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4655. 31 | __glibc_objsize (__s), __fmt,
  4656. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4657. 32 | __va_arg_pack ());
  4658. | ~~~~~~~~~~~~~~~~~
  4659. vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
  4660. vda_lib2.cpp:285:13: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
  4661. 285 | "cd %s; /mydisks/b/users/boincadm/vda_test/decoder %s | grep Decoding",
  4662. | ^~
  4663. In function ‘int sprintf(char*, const char*, ...)’,
  4664. inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:284:12:
  4665. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 73 and 1096 bytes into a destination of size 1024
  4666. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4667. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4668. 31 | __glibc_objsize (__s), __fmt,
  4669. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4670. 32 | __va_arg_pack ());
  4671. | ~~~~~~~~~~~~~~~~~
  4672. vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
  4673. vda_lib2.cpp:296:26: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
  4674. 296 | sprintf(cmd, "mv %s/Coding/decode_temp %s/Coding/%s",
  4675. | ^~
  4676. In function ‘int sprintf(char*, const char*, ...)’,
  4677. inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:296:16:
  4678. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 32 and 3101 bytes into a destination of size 1024
  4679. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4680. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4681. 31 | __glibc_objsize (__s), __fmt,
  4682. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4683. 32 | __va_arg_pack ());
  4684. | ~~~~~~~~~~~~~~~~~
  4685. vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
  4686. vda_lib2.cpp:285:13: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
  4687. 285 | "cd %s; /mydisks/b/users/boincadm/vda_test/decoder %s | grep Decoding",
  4688. | ^~
  4689. In function ‘int sprintf(char*, const char*, ...)’,
  4690. inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:284:12:
  4691. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 73 and 1096 bytes into a destination of size 1024
  4692. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4693. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4694. 31 | __glibc_objsize (__s), __fmt,
  4695. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4696. 32 | __va_arg_pack ());
  4697. | ~~~~~~~~~~~~~~~~~
  4698. vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
  4699. vda_lib2.cpp:307:26: warning: ‘/data.vda’ directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  4700. 307 | sprintf(linkpath, "%s/data.vda", dir);
  4701. | ^~~~~~~~~
  4702. In function ‘int sprintf(char*, const char*, ...)’,
  4703. inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:307:12:
  4704. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 1033 bytes into a destination of size 1024
  4705. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4706. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4707. 31 | __glibc_objsize (__s), __fmt,
  4708. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4709. 32 | __va_arg_pack ());
  4710. | ~~~~~~~~~~~~~~~~~
  4711. vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
  4712. vda_lib2.cpp:314:22: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
  4713. 314 | sprintf(cmd, "mv %s/Coding/data_decoded.vda %s", dir, filepath);
  4714. | ^~
  4715. In function ‘int sprintf(char*, const char*, ...)’,
  4716. inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:314:12:
  4717. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 29 and 2075 bytes into a destination of size 1024
  4718. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4719. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4720. 31 | __glibc_objsize (__s), __fmt,
  4721. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4722. 32 | __va_arg_pack ());
  4723. | ~~~~~~~~~~~~~~~~~
  4724. vda_lib2.cpp: In member function ‘int CHUNK::start_upload_from_host(VDA_CHUNK_HOST&)’:
  4725. vda_lib2.cpp:428:66: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 166 and 204 [-Wformat-overflow=]
  4726. 428 | "vda_file_id=%lu and host_id=%lu and physical_file_name='%s'",
  4727. | ^~
  4728. In function ‘int sprintf(char*, const char*, ...)’,
  4729. inlined from ‘int CHUNK::start_upload_from_host(VDA_CHUNK_HOST&)’ at vda_lib2.cpp:427:12:
  4730. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 54 and 347 bytes into a destination of size 256
  4731. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4732. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4733. 31 | __glibc_objsize (__s), __fmt,
  4734. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4735. 32 | __va_arg_pack ());
  4736. | ~~~~~~~~~~~~~~~~~
  4737. In file included from vda_lib2.cpp:38:
  4738. vda_lib.h: In member function ‘int CHUNK::assign()’:
  4739. vda_lib.h:231:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 240 and 250 [-Wformat-overflow=]
  4740. 231 | sprintf(buf, "vda_%d_%s_%s", hostid, chunk_name, file_name);
  4741. | ^~
  4742. In function ‘int sprintf(char*, const char*, ...)’,
  4743. inlined from ‘void physical_file_name(int, char*, char*, char*)’ at vda_lib.h:231:12,
  4744. inlined from ‘int CHUNK::assign()’ at vda_lib2.cpp:396:23:
  4745. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 8 and 528 bytes into a destination of size 256
  4746. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4747. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4748. 31 | __glibc_objsize (__s), __fmt,
  4749. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4750. 32 | __va_arg_pack ());
  4751. | ~~~~~~~~~~~~~~~~~
  4752. CXX stats.o
  4753. stats.cpp: In member function ‘void STATS_ITEM::sample(double, bool, double)’:
  4754. stats.cpp:56:29: warning: ‘: ’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  4755. 56 | sprintf(buf, "%s: %f Mbps -> %f Mbps\n", name, value/1e6, v/1e6);
  4756. | ^~
  4757. stats.cpp:56:26: note: assuming directive output of 8 bytes
  4758. 56 | sprintf(buf, "%s: %f Mbps -> %f Mbps\n", name, value/1e6, v/1e6);
  4759. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  4760. stats.cpp:56:26: note: assuming directive output of 8 bytes
  4761. In file included from /usr/include/stdio.h:980,
  4762. from stats.cpp:19:
  4763. In function ‘int sprintf(char*, const char*, ...)’,
  4764. inlined from ‘void STATS_ITEM::sample(double, bool, double)’ at stats.cpp:56:20:
  4765. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 24 and 907 bytes into a destination of size 256
  4766. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4767. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4768. 31 | __glibc_objsize (__s), __fmt,
  4769. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4770. 32 | __va_arg_pack ());
  4771. | ~~~~~~~~~~~~~~~~~
  4772. stats.cpp: In member function ‘void STATS_ITEM::sample(double, bool, double)’:
  4773. stats.cpp:60:29: warning: ‘: ’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  4774. 60 | sprintf(buf, "%s: %.0f -> %.0f\n", name, value, v);
  4775. | ^~
  4776. In function ‘int sprintf(char*, const char*, ...)’,
  4777. inlined from ‘void STATS_ITEM::sample(double, bool, double)’ at stats.cpp:60:20:
  4778. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 10 and 883 bytes into a destination of size 256
  4779. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4780. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4781. 31 | __glibc_objsize (__s), __fmt,
  4782. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4783. 32 | __va_arg_pack ());
  4784. | ~~~~~~~~~~~~~~~~~
  4785. stats.cpp: In member function ‘void STATS_ITEM::sample(double, bool, double)’:
  4786. stats.cpp:52:29: warning: ‘: ’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  4787. 52 | sprintf(buf, "%s: %f GB -> %f GB\n", name, value/1e9, v/1e9);
  4788. | ^~
  4789. stats.cpp:52:26: note: assuming directive output of 8 bytes
  4790. 52 | sprintf(buf, "%s: %f GB -> %f GB\n", name, value/1e9, v/1e9);
  4791. | ^~~~~~~~~~~~~~~~~~~~~~
  4792. stats.cpp:52:26: note: assuming directive output of 8 bytes
  4793. In function ‘int sprintf(char*, const char*, ...)’,
  4794. inlined from ‘void STATS_ITEM::sample(double, bool, double)’ at stats.cpp:52:20:
  4795. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 20 and 903 bytes into a destination of size 256
  4796. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4797. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4798. 31 | __glibc_objsize (__s), __fmt,
  4799. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4800. 32 | __va_arg_pack ());
  4801. | ~~~~~~~~~~~~~~~~~
  4802. CXXLD vda
  4803. CXX vdad.o
  4804. vdad.cpp: In function ‘int handle_file(VDA_FILE_AUX&, DB_VDA_FILE&)’:
  4805. vdad.cpp:104:61: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 235 and 1000 [-Wformat-overflow=]
  4806. 104 | sprintf(buf, "truncate %s/%s --reference %s/%s",
  4807. | ^~
  4808. In file included from /usr/include/stdio.h:980,
  4809. from /usr/include/c++/13/cstdio:42,
  4810. from ../db/boinc_db.h:35,
  4811. from vdad.cpp:32:
  4812. In function ‘int sprintf(char*, const char*, ...)’,
  4813. inlined from ‘int handle_file(VDA_FILE_AUX&, DB_VDA_FILE&)’ at vdad.cpp:104:24:
  4814. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 25 and 1045 bytes into a destination of size 1024
  4815. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4816. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4817. 31 | __glibc_objsize (__s), __fmt,
  4818. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4819. 32 | __va_arg_pack ());
  4820. | ~~~~~~~~~~~~~~~~~
  4821. CXXLD vdad
  4822. CXX ssim.o
  4823. ssim.cpp: In constructor ‘CHUNK::CHUNK(META_CHUNK*, double, int)’:
  4824. ssim.cpp:430:23: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
  4825. 430 | sprintf(name, "%s.%d", parent->name, index);
  4826. | ^~
  4827. In file included from /usr/include/stdio.h:980,
  4828. from stats.h:25,
  4829. from ssim.cpp:57:
  4830. In function ‘int sprintf(char*, const char*, ...)’,
  4831. inlined from ‘CHUNK::CHUNK(META_CHUNK*, double, int)’ at ssim.cpp:430:12:
  4832. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 3 and 268 bytes into a destination of size 256
  4833. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4834. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4835. 31 | __glibc_objsize (__s), __fmt,
  4836. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4837. 32 | __va_arg_pack ());
  4838. | ~~~~~~~~~~~~~~~~~
  4839. ssim.cpp: In member function ‘int CHUNK::assign()’:
  4840. ssim.cpp:455:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=]
  4841. 455 | sprintf(c->physical_file_name, "chunk %s on host %d", name, h->id);
  4842. | ^~
  4843. In function ‘int sprintf(char*, const char*, ...)’,
  4844. inlined from ‘int CHUNK::assign()’ at ssim.cpp:455:16:
  4845. /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 17 and 282 bytes into a destination of size 256
  4846. 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  4847. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4848. 31 | __glibc_objsize (__s), __fmt,
  4849. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4850. 32 | __va_arg_pack ());
  4851. | ~~~~~~~~~~~~~~~~~
  4852. CXXLD ssim
  4853. make[2]: Leaving directory '/home/boincadm/boinc/vda'
  4854. Making all in html
  4855. make[2]: Entering directory '/home/boincadm/boinc/html'
  4856. make[2]: Nothing to be done for 'all'.
  4857. make[2]: Leaving directory '/home/boincadm/boinc/html'
  4858. Making all in doc
  4859. make[2]: Entering directory '/home/boincadm/boinc/doc'
  4860. make[3]: Entering directory '/home/boincadm/boinc/doc'
  4861. make[3]: Nothing to be done for 'all-am'.
  4862. make[3]: Leaving directory '/home/boincadm/boinc/doc'
  4863. make[2]: Leaving directory '/home/boincadm/boinc/doc'
  4864. make[2]: Entering directory '/home/boincadm/boinc'
  4865. cd . && sh generate_svn_version.sh
  4866. warning: tag 'server_release/1.3/1.3.0' is externally known as 'server_release/1.x/1.x.0'
  4867. make[2]: Leaving directory '/home/boincadm/boinc'
  4868. make[1]: Leaving directory '/home/boincadm/boinc'
  4869. boincadm@BOINC:~/boinc$ cd ~/boinc/tools
  4870. boincadm@BOINC:~/boinc/tools$ ./make_project --db_passwd foobar99 --url_base http://192.168.2.134 test
  4871. Traceback (most recent call last):
  4872. File "/home/boincadm/boinc/tools/./make_project", line 7, in <module>
  4873. from Boinc.setup_project import *
  4874. File "/home/boincadm/boinc/py/Boinc/setup_project.py", line 8, in <module>
  4875. from Boinc import database, db_mid, configxml, tools
  4876. File "/home/boincadm/boinc/py/Boinc/database.py", line 33, in <module>
  4877. from Boinc.db_base import *
  4878. File "/home/boincadm/boinc/py/Boinc/db_base.py", line 12, in <module>
  4879. import MySQLdb, MySQLdb.cursors
  4880. ModuleNotFoundError: No module named 'MySQLdb'
  4881.  
Add Comment
Please, Sign In to add comment