Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boincadm@BOINC:~/boinc$ ./_autosetup
- ./configure --enable-server --disable-client --disable-manager
- make
- Bootstrapping configure script and makefiles:
- Checking version of 'make' >= 379... succeeded. (403)
- Checking version of 'm4' >= 104... succeeded. (104)
- Checking version of 'pkg-config' >= 15... succeeded. (108)
- Checking version of 'autoreconf' >= 258... succeeded. (271)
- Checking version of 'automake' >= 108... succeeded. (116)
- Checking version of 'libtoolize' >= 105... succeeded. (204)
- autoreconf -i
- configure.ac:32: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:32: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:350: AC_PROG_AWK is expanded from...
- aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from...
- configure.ac:32: the top level
- configure.ac:57: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:57: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
- ./lib/autoconf/c.m4:452: AC_PROG_CC is expanded from...
- configure.ac:57: the top level
- configure.ac:58: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:58: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
- ./lib/autoconf/c.m4:701: AC_PROG_CXX is expanded from...
- configure.ac:58: the top level
- configure.ac:62: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:62: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
- ./lib/autoconf/c.m4:1018: AC_PROG_OBJCXX is expanded from...
- configure.ac:62: the top level
- configure.ac:394: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:394: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/ax_winsock.m4:1: AX_WINSOCK is expanded from...
- m4/boinc_check_cygwin.m4:1: BOINC_CHECK_CYGWIN is expanded from...
- configure.ac:394: the top level
- configure.ac:411: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
- configure.ac:411: You should run autoupdate.
- m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
- configure.ac:411: the top level
- configure.ac:411: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
- configure.ac:411: put the 'dlopen' option into LT_INIT's first parameter.
- ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
- m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
- configure.ac:411: the top level
- configure.ac:412: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
- configure.ac:412: You should run autoupdate.
- m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
- configure.ac:412: the top level
- configure.ac:412: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
- configure.ac:412: put the 'win32-dll' option into LT_INIT's first parameter.
- ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
- m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
- configure.ac:412: the top level
- configure.ac:413: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
- configure.ac:413: You should run autoupdate.
- m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
- configure.ac:413: the top level
- configure.ac:413: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:413: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
- m4/libtool.m4:3690: LT_PATH_NM is expanded from...
- m4/libtool.m4:153: _LT_SETUP is expanded from...
- m4/libtool.m4:62: LT_INIT is expanded from...
- m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
- configure.ac:413: the top level
- configure.ac:413: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:413: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
- m4/libtool.m4:1490: _LT_PROG_AR is expanded from...
- m4/libtool.m4:1540: _LT_CMD_OLD_ARCHIVE is expanded from...
- m4/libtool.m4:153: _LT_SETUP is expanded from...
- m4/libtool.m4:62: LT_INIT is expanded from...
- m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
- configure.ac:413: the top level
- configure.ac:419: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:419: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/sah_select_bitness.m4:97: SAH_OPTION_BITNESS is expanded from...
- configure.ac:419: the top level
- configure.ac:422: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:422: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/boinc_platform.m4:1: BOINC_PLATFORM is expanded from...
- configure.ac:422: the top level
- configure.ac:492: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:492: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/check_ssl.m4:1: CHECK_SSL is expanded from...
- lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
- configure.ac:492: the top level
- configure.ac:492: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:492: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/boinc_check_lib_with.m4:1: BOINC_CHECK_LIB_WITH is expanded from...
- m4/check_ssl.m4:1: CHECK_SSL is expanded from...
- lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
- configure.ac:492: the top level
- configure.ac:498: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:498: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
- lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
- configure.ac:498: the top level
- configure.ac:498: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:498: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- ./lib/autoconf/programs.m4:350: AC_PROG_AWK is expanded from...
- m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
- lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
- configure.ac:498: the top level
- configure.ac:498: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:498: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- m4/boinc_check_lib_with.m4:1: BOINC_CHECK_LIB_WITH is expanded from...
- m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
- lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
- configure.ac:498: the top level
- configure.ac:583: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:583: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
- lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
- m4/ax_pthread.m4:126: AX_PTHREAD is expanded from...
- configure.ac:583: the top level
- configure.ac:619: warning: The macro `ACX_PTHREAD' is obsolete.
- configure.ac:619: You should run autoupdate.
- m4/ax_pthread.m4:125: ACX_PTHREAD is expanded from...
- m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
- configure.ac:619: the top level
- configure.ac:619: warning: The macro `AC_CHECK_PROGS' is obsolete.
- configure.ac:619: You should run autoupdate.
- m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
- lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
- lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
- m4/ax_pthread.m4:126: AX_PTHREAD is expanded from...
- m4/ax_pthread.m4:125: ACX_PTHREAD is expanded from...
- m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
- configure.ac:619: the top level
- configure.ac:619: warning: The macro `AC_HELP_STRING' is obsolete.
- configure.ac:619: You should run autoupdate.
- ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
- ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
- m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
- configure.ac:619: the top level
- configure.ac:726: warning: The macro `AC_HEADER_STDC' is obsolete.
- configure.ac:726: You should run autoupdate.
- ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
- configure.ac:726: the top level
- configure.ac:728: warning: The macro `AC_HEADER_TIME' is obsolete.
- configure.ac:728: You should run autoupdate.
- ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
- configure.ac:728: the top level
- configure.ac:729: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
- configure.ac:729: You should run autoupdate.
- ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
- configure.ac:729: the top level
- configure.ac:998: warning: AC_CHECK_HEADERS($sah_stdcxx_headers): you should use literals
- ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
- lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
- lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
- ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
- ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
- m4/sah_header_stdcxx.m4:23: SAH_HEADER_STDCXX is expanded from...
- configure.ac:998: the top level
- api/Makefile.am:22: warning: source file '$(top_srcdir)/samples/image_libs/bmplib.cpp' is in a subdirectory,
- api/Makefile.am:22: but option 'subdir-objects' is disabled
- automake: warning: possible forward-incompatibility.
- automake: At least one source file is in a subdirectory, but the 'subdir-objects'
- automake: automake option hasn't been enabled. For now, the corresponding output
- automake: object file(s) will be placed in the top-level directory. However, this
- automake: behavior may change in a future Automake major version, with object
- automake: files being placed in the same subdirectory as the corresponding sources.
- automake: You are advised to start using 'subdir-objects' option throughout your
- automake: project, to avoid future incompatibilities.
- api/Makefile.am:22: warning: source file '$(top_srcdir)/samples/image_libs/tgalib.cpp' is in a subdirectory,
- api/Makefile.am:22: but option 'subdir-objects' is disabled
- client/Makefile.am:4: warning: ':='-style assignments are not portable
- client/Makefile.am:4: warning: filter-out -mfpu=vfpv3-d16,$(CXXFLAGS: non-POSIX variable name
- client/Makefile.am:4: (probably a GNU make extension)
- client/Makefile.am:126: warning: filter-out -mfpu=vfpv3-d16,$(boinc_client_CXXFLAGS: non-POSIX variable name
- client/Makefile.am:126: (probably a GNU make extension)
- client/Makefile.am:4: warning: 'CXXFLAGS' is a user variable, you should not override it;
- client/Makefile.am:4: use 'AM_CXXFLAGS' instead
- clientgui/Makefile.am:26: warning: source file 'common/wxPieCtrl.cpp' is in a subdirectory,
- clientgui/Makefile.am:26: but option 'subdir-objects' is disabled
- clientgui/Makefile.am:26: warning: source file 'gtk/taskbarex.cpp' is in a subdirectory,
- clientgui/Makefile.am:26: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/mac_backtrace.cpp' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/mac_spawn.cpp' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/QBacktrace.c' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/QCrashReport.c' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/QMachOImage.c' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/QMachOImageList.c' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/QSymbols.c' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/QTaskMemory.c' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- lib/Makefile.am:95: warning: source file 'mac/mac_branding.cpp' is in a subdirectory,
- lib/Makefile.am:95: but option 'subdir-objects' is disabled
- sched/Makefile.am:11: warning: source file '../db/boinc_db.cpp' is in a subdirectory,
- sched/Makefile.am:11: but option 'subdir-objects' is disabled
- sched/Makefile.am:11: warning: source file '../db/db_base.cpp' is in a subdirectory,
- sched/Makefile.am:11: but option 'subdir-objects' is disabled
- sched/Makefile.am:11: warning: source file '../tools/process_result_template.cpp' is in a subdirectory,
- sched/Makefile.am:11: but option 'subdir-objects' is disabled
- sched/Makefile.am:11: warning: source file '../tools/process_input_template.cpp' is in a subdirectory,
- sched/Makefile.am:11: but option 'subdir-objects' is disabled
- sched/Makefile.am:11: warning: source file '../tools/backend_lib.cpp' is in a subdirectory,
- sched/Makefile.am:11: but option 'subdir-objects' is disabled
- sched/Makefile.am:157: warning: source file '../vda/sched_vda.cpp' is in a subdirectory,
- sched/Makefile.am:157: but option 'subdir-objects' is disabled
- sched/Makefile.am:198: warning: source file '../lib/synch.cpp' is in a subdirectory,
- sched/Makefile.am:198: but option 'subdir-objects' is disabled
- tools/Makefile.am:69: warning: source file '../lib/remote_submit.cpp' is in a subdirectory,
- tools/Makefile.am:69: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/api.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/apihelp.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/crc32.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/explode.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/extract.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/fileio.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/globals.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/inflate.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/list.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/match.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/process.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/ttyio.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/unreduce.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/unshrink.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/unzip.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './unzip/zipinfo.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/deflate.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/trees.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/util.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/z_fileio.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/z_globals.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/zip.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/zipfile.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:21: warning: source file './zip/zipup.c' is in a subdirectory,
- zip/Makefile.am:21: but option 'subdir-objects' is disabled
- zip/Makefile.am:49: warning: source file './unzip/win32/nt.c' is in a subdirectory,
- zip/Makefile.am:49: but option 'subdir-objects' is disabled
- zip/Makefile.am:49: warning: source file './unzip/win32/win32.c' is in a subdirectory,
- zip/Makefile.am:49: but option 'subdir-objects' is disabled
- zip/Makefile.am:49: warning: source file './zip/win32/win32_boinc.c' is in a subdirectory,
- zip/Makefile.am:49: but option 'subdir-objects' is disabled
- zip/Makefile.am:49: warning: source file './zip/win32/win32i64.c' is in a subdirectory,
- zip/Makefile.am:49: but option 'subdir-objects' is disabled
- zip/Makefile.am:49: warning: source file './zip/win32/z_nt.c' is in a subdirectory,
- zip/Makefile.am:49: but option 'subdir-objects' is disabled
- zip/Makefile.am:49: warning: source file './zip/win32/win32zip.c' is in a subdirectory,
- zip/Makefile.am:49: but option 'subdir-objects' is disabled
- zip/Makefile.am:57: warning: source file './unzip/unix/unix.c' is in a subdirectory,
- zip/Makefile.am:57: but option 'subdir-objects' is disabled
- zip/Makefile.am:57: warning: source file './zip/unix/z_unix.c' is in a subdirectory,
- zip/Makefile.am:57: but option 'subdir-objects' is disabled
- Done, now run ./configure
- ./configure -C to enable caching
- checking build system type... x86_64-pc-linux-gnu
- checking host system type... x86_64-pc-linux-gnu
- checking target system type... x86_64-pc-linux-gnu
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking for a race-free mkdir -p... /usr/bin/mkdir -p
- checking for gawk... no
- checking for mawk... /usr/bin/mawk
- checking whether make sets $(MAKE)... yes
- checking whether make supports nested variables... yes
- checking whether make supports nested variables... (cached) yes
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether the compiler supports GNU C... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to enable C11 features... none needed
- checking whether gcc understands -c and -o together... yes
- checking whether make supports the include directive... yes (GNU style)
- checking dependency style of gcc... gcc3
- checking for g++... /usr/bin/g++
- checking whether the compiler supports GNU C++... yes
- checking whether /usr/bin/g++ accepts -g... yes
- checking for /usr/bin/g++ option to enable C++11 features... none needed
- checking dependency style of /usr/bin/g++... gcc3
- checking for g++... /usr/bin/g++
- checking whether the compiler supports GNU Objective C++... no
- checking whether /usr/bin/g++ accepts -g... no
- checking dependency style of /usr/bin/g++... gcc3
- checking how to run the C preprocessor... gcc -E
- checking whether make sets $(MAKE)... (cached) yes
- checking for ln... /usr/bin/ln
- checking whether '/usr/bin/ln' works... yes
- checking whether ln -s works... yes
- checking whether 'ln -s' really works or whether I'm deluding myself... it works
- checking for pkg-config... /usr/bin/pkg-config
- checking pkg-config is at least version 0.9.0... yes
- checking if C compiler supports -Wall... yes
- checking if C++ compiler supports -Wall... yes
- --- Configuring BOINC 8.1.0 (Release) ---
- --- Build Components: ( libraries server) ---
- checking for docbook2x-man... no
- checking for stdio.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for strings.h... yes
- checking for sys/stat.h... yes
- checking for sys/types.h... yes
- checking for unistd.h... yes
- checking for sys/time.h... yes
- checking whether we are compiling for cygwin... no
- checking for winsock2.h... (cached) no
- checking for winsock.h... (cached) no
- checking for windows.h... no
- checking for sys/socket.h... yes
- checking dependency style of gcc... gcc3
- checking how to print strings... printf
- checking for a sed that does not truncate output... /usr/bin/sed
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for fgrep... /usr/bin/grep -F
- checking for ld used by gcc... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
- checking the name lister (/usr/bin/nm -B) interface... BSD nm
- checking the maximum length of command line arguments... 1572864
- checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
- checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
- checking for /usr/bin/ld option to reload object files... -r
- checking for file... file
- checking for objdump... objdump
- checking how to recognize dependent libraries... pass_all
- checking for dlltool... dlltool
- checking how to associate runtime and link libraries... printf %s\n
- checking for ar... /usr/bin/ar
- checking for archiver @FILE support... @
- checking for strip... strip
- checking for ranlib... ranlib
- checking command to parse /usr/bin/nm -B output from gcc object... ok
- checking for sysroot... no
- checking for a working dd... /usr/bin/dd
- checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
- checking for mt... mt
- checking if mt is a manifest tool... no
- checking for dlfcn.h... yes
- checking for objdir... .libs
- checking if gcc supports -fno-rtti -fno-exceptions... no
- checking for gcc option to produce PIC... -fPIC -DPIC
- checking if gcc PIC flag -fPIC -DPIC works... yes
- checking if gcc static flag -static works... yes
- checking if gcc supports -c -o file.o... yes
- checking if gcc supports -c -o file.o... (cached) yes
- checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
- checking whether -lc should be explicitly linked in... no
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking for shl_load... no
- checking for shl_load in -ldld... no
- checking for dlopen... yes
- checking whether a program can dlopen itself... yes
- checking whether a statically linked program can dlopen itself... no
- checking whether stripping libraries is possible... yes
- checking if libtool supports shared libraries... yes
- checking whether to build shared libraries... yes
- checking whether to build static libraries... yes
- checking how to run the C++ preprocessor... /usr/bin/g++ -E
- checking for ld used by /usr/bin/g++... /usr/bin/ld -m elf_x86_64
- checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
- checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
- checking for /usr/bin/g++ option to produce PIC... -fPIC -DPIC
- checking if /usr/bin/g++ PIC flag -fPIC -DPIC works... yes
- checking if /usr/bin/g++ static flag -static works... yes
- checking if /usr/bin/g++ supports -c -o file.o... yes
- checking if /usr/bin/g++ supports -c -o file.o... (cached) yes
- checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
- checking dynamic linker characteristics... (cached) GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking default bitness of C compiler... 64
- checking default bitness of C++ compiler... 64
- checking boinc platform... x86_64-pc-linux-gnu
- checking alternate boinc platform... i686-pc-linux-gnu
- checking library extension... a
- checking shared object extension... so
- checking for mysql_config... /usr/bin/mysql_config
- checking mysql libraries... -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lz -lzstd -lssl -lcrypto -lresolv -lm
- checking mysql includes... -I/usr/include/mysql
- checking if CFLAG '-include fcgi_stdio.h' works... yes
- checking for FCGI_printf in -lfcgi... yes
- checking for pkg-config... /usr/bin/pkg-config
- checking for openssl... yes
- OpenSSL found in /usr
- checking for gawk... (cached) /usr/bin/mawk
- checking for ... no
- checking for curl-config... /usr/bin/curl-config
- checking for the version of libcurl... 8.5.0
- checking for libcurl >= version 7.17.1... yes
- checking whether libcurl is usable... yes
- checking for curl_free... yes
- checking for shmget in dynamic library cygipc... no
- checking for aio_fork in dynamic library aio... no
- checking for dlopen in dynamic library dl... -ldl
- checking for gethostbyname in static library nsl... no
- checking for gethostbyname in dynamic library nsl... no
- checking for static library freetype... -lfreetype
- checking for bind in static library socket... no
- checking for bind in dynamic library socket... no
- checking for gzopen in static library z... -lz
- checking for md5_finish in dynamic library cups... no
- checking for the pthreads library -lpthreads... no
- checking whether pthreads work without any flags... yes
- checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
- checking if more special flags are required for pthreads... no
- checking for PTHREAD_PRIO_INHERIT... yes
- checking for X... libraries , headers
- checking for gethostbyname... yes
- checking for connect... yes
- checking for remove... yes
- checking for shmat... yes
- checking for IceConnectionNumber in -lICE... yes
- configure: checking for usable OpenCL opencl.h header
- checking for OpenCL/opencl.h... no
- checking for CL/opencl.h... yes
- checking for usable OpenCL library... -lOpenCL
- checking for the pthreads library -lpthreads... no
- checking whether pthreads work without any flags... yes
- checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
- checking if more special flags are required for pthreads... no
- checking for PTHREAD_PRIO_INHERIT... (cached) yes
- checking whether we are using the Microsoft C compiler... no
- checking for windows.h... (cached) no
- checking for OpenGL library... -lGL
- checking for OpenGL Utility library... -lGLU
- checking for fopen in -lXmu... no
- checking for fopen in -lXi... no
- checking for GLUT library... -lglut
- checking for gl.h... no
- checking for glu.h... no
- checking for glut.h... no
- checking for glaux.h... no
- checking for GL/gl.h... yes
- checking for GL/glu.h... yes
- checking for GL/glut.h... yes
- checking for GL/glaux.h... no
- checking for OpenGL/gl.h... no
- checking for OpenGL/glu.h... no
- checking for OpenGL/glut.h... no
- checking for OpenGL/glaux.h... no
- checking for GLUT/glut.h... no
- checking for MesaGL/gl.h... no
- checking for MesaGL/glu.h... no
- checking for MesaGL/glut.h... no
- checking for MesaGL/glaux.h... no
- checking for libnotify/notify.h... no
- checking for gtk/gtk.h... no
- checking for jpeg_start_compress in -ljpeg... yes
- checking for jpeglib.h... yes
- checking for dirent.h that defines DIR... yes
- checking for library containing opendir... none required
- checking for egrep... (cached) /usr/bin/grep -E
- checking for sys/wait.h that is POSIX.1 compatible... yes
- checking return type of signal handlers... void
- checking for sys/types.h... (cached) yes
- checking for sys/un.h... yes
- checking for arpa/inet.h... yes
- checking for dirent.h... yes
- checking for grp.h... yes
- checking for fcntl.h... yes
- checking for inttypes.h... (cached) yes
- checking for stdint.h... (cached) yes
- checking for memory.h... yes
- checking for netdb.h... yes
- checking for netinet/in.h... yes
- checking for netinet/tcp.h... yes
- checking for netinet/ether.h... yes
- checking for net/if.h... yes
- checking for net/if_arp.h... yes
- checking for signal.h... yes
- checking for strings.h... (cached) yes
- checking for sys/auxv.h... yes
- checking for sys/file.h... yes
- checking for sys/fcntl.h... yes
- checking for sys/ipc.h... yes
- checking for sys/ioctl.h... yes
- checking for sys/msg.h... yes
- checking for sys/param.h... yes
- checking for sys/resource.h... yes
- checking for sys/select.h... yes
- checking for sys/sem.h... yes
- checking for sys/sockio.h... no
- checking for sys/socket.h... (cached) yes
- checking for sys/stat.h... (cached) yes
- checking for sys/statvfs.h... yes
- checking for sys/statfs.h... yes
- checking for sys/systeminfo.h... no
- checking for sys/time.h... (cached) yes
- checking for sys/types.h... (cached) yes
- checking for sys/utsname.h... yes
- checking for sys/vmmeter.h... no
- checking for sys/wait.h... (cached) yes
- checking for unistd.h... (cached) yes
- checking for utmp.h... yes
- checking for errno.h... yes
- checking for procfs.h... no
- checking for ieeefp.h... no
- checking for setjmp.h... yes
- checking for float.h... yes
- checking for sal.h... no
- checking for execinfo.h... yes
- checking for xlocale.h... no
- checking for sys/shm.h... yes
- checking for intrin.h... no
- checking for x86intrin.h... yes
- checking for pmmintrin.h... yes
- checking for xmmintrin.h... yes
- checking for emmintrin.h... yes
- checking for immintrin.h... yes
- checking for gcc options needed to detect all undeclared functions... none needed
- checking whether _xgetbv is declared... yes
- checking whether xgetbv is declared... no
- checking whether __xgetbv is declared... no
- checking whether cpuid is declared... no
- checking whether _cpuid is declared... no
- checking whether __cpuid is declared... no
- checking if assembler supports xgetbv... yes
- checking for nvapi.h... no
- checking for socklen_t... yes
- checking for net/if.h... (cached) yes
- checking for net/if_arp.h... (cached) yes
- checking for sys/mount.h... yes
- checking for sys/swap.h... yes
- checking for sys/sensors.h... no
- checking for sys/sysctl.h... no
- checking for resolv.h... yes
- checking for netinet/if_ether.h... yes
- checking for struct lifconf... no
- checking for struct lifreq... no
- checking for struct ifconf... yes
- checking for struct ifreq... yes
- checking for struct ether_addr... yes
- checking for special C compiler options needed for large files... no
- checking for _FILE_OFFSET_BITS value needed for large files... no
- checking whether largefile support breaks C++... no
- checking standard C++ headers... yes
- checking for C++ header <algorithm>... (cached) yes
- checking for C++ header <bitset>... (cached) yes
- checking for C++ header <cassert>... (cached) yes
- checking for C++ header <cctype>... (cached) yes
- checking for C++ header <cerrno>... (cached) yes
- checking for C++ header <cfloat>... (cached) yes
- checking for C++ header <climits>... (cached) yes
- checking for C++ header <clocale>... (cached) yes
- checking for C++ header <cmath>... (cached) yes
- checking for C++ header <complex>... (cached) yes
- checking for C++ header <csetjmp>... (cached) yes
- checking for C++ header <csignal>... (cached) yes
- checking for C++ header <cstdarg>... (cached) yes
- checking for C++ header <cstddef>... (cached) yes
- checking for C++ header <cstdio>... (cached) yes
- checking for C++ header <cstdlib>... (cached) yes
- checking for C++ header <cstring>... (cached) yes
- checking for C++ header <ctime>... (cached) yes
- checking for C++ header <deque>... (cached) yes
- checking for C++ header <fstream>... (cached) yes
- checking for C++ header <functional>... (cached) yes
- checking for C++ header <iomanip>... (cached) yes
- checking for C++ header <ios>... (cached) yes
- checking for C++ header <iosfwd>... (cached) yes
- checking for C++ header <iostream>... (cached) yes
- checking for C++ header <istream>... (cached) yes
- checking for C++ header <iterator>... (cached) yes
- checking for C++ header <limits>... (cached) yes
- checking for C++ header <list>... (cached) yes
- checking for C++ header <locale>... (cached) yes
- checking for C++ header <map>... (cached) yes
- checking for C++ header <memory>... (cached) yes
- checking for C++ header <numeric>... (cached) yes
- checking for C++ header <ostream>... (cached) yes
- checking for C++ header <queue>... (cached) yes
- checking for C++ header <set>... (cached) yes
- checking for C++ header <sstream>... (cached) yes
- checking for C++ header <stack>... (cached) yes
- checking for C++ header <stdexcept>... (cached) yes
- checking for C++ header <streambuf>... (cached) yes
- checking for C++ header <string>... (cached) yes
- checking for C++ header <utility>... (cached) yes
- checking for C++ header <valarray>... (cached) yes
- checking for C++ header <vector>... (cached) yes
- checking for C++ namespaces... yes
- checking for min(0,0) in namespace std... yes
- checking for max(0,0) in namespace std... yes
- checking for transform((char *)0,(char *) 0,(char *)0,(int(*)(int))malloc) in namespace std... yes
- checking for locale("") in namespace std... yes
- checking whether gcc needs -traditional... no
- checking for vprintf... yes
- checking for ether_ntoa... yes
- checking for setpriority... yes
- checking for sched_setscheduler... yes
- checking for strlcpy... yes
- checking for strlcat... yes
- checking for strcasestr... yes
- checking for strcasecmp... yes
- checking for sigaction... yes
- checking for getutent... yes
- checking for setutent... yes
- checking for getisax... no
- checking for strdup... yes
- checking for _strdup... no
- checking for strdupa... no
- checking for _strdupa... no
- checking for daemon... yes
- checking for stat64... yes
- checking for putenv... yes
- checking for setenv... yes
- checking for unsetenv... yes
- checking for res_init... no
- checking for strtoull... yes
- checking for localtime... yes
- checking for localtime_r... yes
- checking for gmtime... yes
- checking for gmtime_r... yes
- checking for uselocale... yes
- checking for _configthreadlocale... no
- checking for ftok... yes
- checking whether _fpreset is declared... no
- checking whether fpreset is declared... no
- checking for an ANSI C-conforming const... yes
- checking for size_t... yes
- checking whether struct tm is in sys/time.h or time.h... time.h
- checking for struct tm.tm_zone... yes
- checking for sin in dynamic library m... -lm
- checking for pthread_join in dynamic library pthread... -lpthread
- checking for dynamic library nvapi... no
- checking for res_init in -lresolv... no
- checking for res_query in static library resolv... -lresolv
- checking for whoami... /usr/bin/whoami
- checking that generated files are newer than configure... done
- configure: creating ./config.status
- config.status: creating version.h
- config.status: creating api/Makefile
- config.status: creating api/libboinc_api.pc
- config.status: creating api/libboinc_graphics2.pc
- config.status: creating api/libboinc_opencl.pc
- config.status: creating apps/Makefile
- config.status: creating clientgui/Makefile
- config.status: creating clientgui/res/Makefile
- config.status: creating clientgui/skins/Makefile
- config.status: creating clientscr/Makefile
- config.status: creating client/Makefile
- config.status: creating client/win/boinc_path_config.py
- config.status: creating client/scripts/Makefile
- config.status: creating client/scripts/boinc-client
- config.status: creating client/scripts/boinc-client.service
- config.status: creating db/Makefile
- config.status: creating doc/Makefile
- config.status: creating doc/manpages/Makefile
- config.status: creating html/Makefile
- config.status: creating lib/Makefile
- config.status: creating lib/libboinc.pc
- config.status: creating lib/libboinc_crypt.pc
- config.status: creating lib/libboinc_fcgi.pc
- config.status: creating locale/Makefile
- config.status: creating Makefile
- config.status: creating py/Boinc/version.py
- config.status: creating py/Makefile
- config.status: creating py/boinc_path_config.py
- config.status: creating py/setup.py
- config.status: creating sched/boinc_path_config.py
- config.status: creating sched/Makefile
- config.status: creating packages/generic/sea/Makefile
- config.status: creating packages/solaris/CSW/Makefile
- config.status: creating packages/solaris/CSW/boincclient/Makefile
- config.status: creating packages/solaris/CSW/boincclient/pkginfo
- config.status: creating packages/solaris/CSW/boincclient/prototype
- config.status: creating packages/solaris/CSW/boincdevel/Makefile
- config.status: creating packages/solaris/CSW/boincdevel/pkginfo
- config.status: creating packages/solaris/CSW/boincdevel/prototype
- config.status: creating packages/solaris/CSW/boinclibs/Makefile
- config.status: creating packages/solaris/CSW/boinclibs/pkginfo
- config.status: creating packages/solaris/CSW/boinclibs/prototype
- config.status: creating packages/solaris/CSW/boincmanager/Makefile
- config.status: creating packages/solaris/CSW/boincmanager/pkginfo
- config.status: creating packages/solaris/CSW/boincmanager/prototype
- config.status: creating samples/Makefile
- config.status: creating tools/boinc_path_config.py
- config.status: creating tools/Makefile
- config.status: creating vda/Makefile
- config.status: creating zip/Makefile
- config.status: creating zip/libboinc_zip.pc
- config.status: creating zip/zip/Makefile
- config.status: creating zip/unzip/Makefile
- config.status: creating m4/Makefile
- config.status: creating config.h
- config.status: executing depfiles commands
- config.status: executing libtool commands
- --- Configuring BOINC 8.1.0 (Release) ---
- --- Build Components: ( libraries server libraries_graphics) ---
- cd . && sh generate_svn_version.sh
- warning: tag 'server_release/1.3/1.3.0' is externally known as 'server_release/1.x/1.x.0'
- make all-recursive
- make[1]: Entering directory '/home/boincadm/boinc'
- Making all in m4
- make[2]: Entering directory '/home/boincadm/boinc/m4'
- make[2]: Nothing to be done for 'all'.
- make[2]: Leaving directory '/home/boincadm/boinc/m4'
- Making all in api
- make[2]: Entering directory '/home/boincadm/boinc/api'
- CXX boinc_api.lo
- CXX graphics2_util.lo
- CXX reduce_main.lo
- CXXLD libboinc_api.la
- CXX libboinc_graphics2_la-gutil.lo
- CXX libboinc_graphics2_la-gutil_text.lo
- CXX libboinc_graphics2_la-reduce_lib.lo
- CXX libboinc_graphics2_la-graphics2.lo
- CXX libboinc_graphics2_la-graphics2_unix.lo
- CXXLD libboinc_graphics2.la
- CXX boinc_opencl.lo
- CXXLD libboinc_opencl.la
- rm -f libboinc_api.a
- /usr/bin/ln .libs/libboinc_api.a .
- rm -f libboinc_graphics2.a
- /usr/bin/ln .libs/libboinc_graphics2.a .
- rm -f libboinc_opencl.a
- /usr/bin/ln .libs/libboinc_opencl.a .
- make[2]: Leaving directory '/home/boincadm/boinc/api'
- Making all in lib
- make[2]: Entering directory '/home/boincadm/boinc/lib'
- CXX crypt_prog-crypt_prog.o
- crypt_prog.cpp: In function ‘int genkey(int, const std::string&, const std::string&)’:
- crypt_prog.cpp:143:22: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 143 | RSA* rp = RSA_new();
- | ~~~~~~~^~
- In file included from /usr/include/openssl/x509.h:36,
- from /usr/include/openssl/pem.h:23,
- from crypt_prog.cpp:53:
- /usr/include/openssl/rsa.h:206:28: note: declared here
- 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
- | ^~~~~~~
- crypt_prog.cpp:144:28: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 144 | if (RSA_generate_key_ex(rp, n, e, NULL) != 1) {
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:265:27: note: declared here
- 265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
- | ^~~~~~~~~~~~~~~~~~~
- crypt_prog.cpp: In function ‘int convkey_private_b2o(const std::string&, const std::string&)’:
- crypt_prog.cpp:444:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 444 | RSA* rsa_key = RSA_new();
- | ~~~~~~~^~
- /usr/include/openssl/rsa.h:206:28: note: declared here
- 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
- | ^~~~~~~
- 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]
- 471 | PEM_write_RSAPrivateKey(fpriv, rsa_key, NULL, NULL, 0, 0, NULL);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/pem.h:447:1: note: declared here
- 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
- | ^~~~~~~~~~~~~~~~~~~~~~
- crypt_prog.cpp: In function ‘int convkey_private_o2b(const std::string&, const std::string&)’:
- 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]
- 487 | RSA* rsa_key = PEM_read_RSAPrivateKey(fpriv, NULL, NULL, NULL);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/pem.h:447:1: note: declared here
- 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
- | ^~~~~~~~~~~~~~~~~~~~~~
- crypt_prog.cpp: In function ‘int convkey_public_b2o(const std::string&, const std::string&)’:
- crypt_prog.cpp:521:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 521 | RSA* rsa_key = RSA_new();
- | ~~~~~~~^~
- /usr/include/openssl/rsa.h:206:28: note: declared here
- 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
- | ^~~~~~~
- crypt_prog.cpp:545:34: warning: ‘int PEM_write_RSA_PUBKEY(FILE*, const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 545 | retval = PEM_write_RSA_PUBKEY(fpub, rsa_key);
- | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /usr/include/openssl/pem.h:449:1: note: declared here
- 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
- | ^~~~~~~~~~~~~~~~~~~
- crypt_prog.cpp: In function ‘int convkey_public_o2b(const std::string&, const std::string&)’:
- 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]
- 566 | RSA* rsa_key = PEM_read_RSA_PUBKEY(fpub, NULL, NULL, NULL);
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/pem.h:449:1: note: declared here
- 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
- | ^~~~~~~~~~~~~~~~~~~
- CXX libboinc_crypt_la-crypt.lo
- crypt.cpp: In function 'int encrypt_private(R_RSA_PRIVATE_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
- crypt.cpp:259:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 259 | RSA* rp = RSA_new();
- | ~~~~~~~^~
- In file included from /usr/include/openssl/x509.h:36,
- from /usr/include/openssl/ssl.h:31,
- from crypt.cpp:31:
- /usr/include/openssl/rsa.h:206:28: note: declared here
- 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
- | ^~~~~~~
- 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]
- 261 | retval = RSA_private_encrypt(n, in.data, out.data, rp, RSA_PKCS1_PADDING);
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:290:5: note: declared here
- 290 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
- | ^~~~~~~~~~~~~~~~~~~
- crypt.cpp:263:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 263 | RSA_free(rp);
- | ~~~~~~~~^~~~
- /usr/include/openssl/rsa.h:298:28: note: declared here
- 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
- | ^~~~~~~~
- crypt.cpp:266:23: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 266 | out.len = RSA_size(rp);
- | ~~~~~~~~^~~~
- /usr/include/openssl/rsa.h:209:27: note: declared here
- 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
- | ^~~~~~~~
- crypt.cpp:267:13: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 267 | RSA_free(rp);
- | ~~~~~~~~^~~~
- /usr/include/openssl/rsa.h:298:28: note: declared here
- 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
- | ^~~~~~~~
- crypt.cpp: In function 'int decrypt_public(R_RSA_PUBLIC_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
- crypt.cpp:273:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 273 | RSA* rp = RSA_new();
- | ~~~~~~~^~
- /usr/include/openssl/rsa.h:206:28: note: declared here
- 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
- | ^~~~~~~
- 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]
- 275 | retval = RSA_public_decrypt(in.len, in.data, out.data, rp, RSA_PKCS1_PADDING);
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:293:5: note: declared here
- 293 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
- | ^~~~~~~~~~~~~~~~~~
- crypt.cpp:277:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 277 | RSA_free(rp);
- | ~~~~~~~~^~~~
- /usr/include/openssl/rsa.h:298:28: note: declared here
- 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
- | ^~~~~~~~
- crypt.cpp:280:23: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 280 | out.len = RSA_size(rp);
- | ~~~~~~~~^~~~
- /usr/include/openssl/rsa.h:209:27: note: declared here
- 209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
- | ^~~~~~~~
- crypt.cpp:281:13: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 281 | RSA_free(rp);
- | ~~~~~~~~^~~~
- /usr/include/openssl/rsa.h:298:28: note: declared here
- 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
- | ^~~~~~~~
- crypt.cpp: In function 'void openssl_to_keys(RSA*, int, R_RSA_PRIVATE_KEY&, R_RSA_PUBLIC_KEY&)':
- 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]
- 468 | RSA_get0_key(rp, &n, &e, &d);
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:222:28: note: declared here
- 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
- | ^~~~~~~~~~~~
- crypt.cpp:469:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 469 | RSA_get0_factors(rp, &p, &q);
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- /usr/include/openssl/rsa.h:225:28: note: declared here
- 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
- | ^~~~~~~~~~~~~~~~
- 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]
- 470 | RSA_get0_crt_params(rp, &dmp1, &dmq1, &iqmp);
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:230:28: note: declared here
- 230 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
- | ^~~~~~~~~~~~~~~~~~~
- crypt.cpp: In function 'void private_to_openssl(R_RSA_PRIVATE_KEY&, RSA*)':
- crypt.cpp:531:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 531 | RSA_set0_key(rp, n, e, d);
- | ~~~~~~~~~~~~^~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:212:27: note: declared here
- 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
- | ^~~~~~~~~~~~
- crypt.cpp:532:21: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 532 | RSA_set0_factors(rp, p, q);
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~
- /usr/include/openssl/rsa.h:213:27: note: declared here
- 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
- | ^~~~~~~~~~~~~~~~
- crypt.cpp:533:24: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 533 | RSA_set0_crt_params(rp, dmp1, dmq1, iqmp);
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:214:27: note: declared here
- 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
- | ^~~~~~~~~~~~~~~~~~~
- crypt.cpp: In function 'void public_to_openssl(R_RSA_PUBLIC_KEY&, RSA*)':
- crypt.cpp:552:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 552 | RSA_set0_key(rp, n, e, NULL);
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:212:27: note: declared here
- 212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
- | ^~~~~~~~~~~~
- crypt.cpp: In function 'int openssl_to_private(RSA*, R_RSA_PRIVATE_KEY*)':
- 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]
- 582 | RSA_get0_key(from, &n, &e, &d);
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:222:28: note: declared here
- 222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
- | ^~~~~~~~~~~~
- crypt.cpp:583:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 583 | RSA_get0_factors(from, &p, &q);
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:225:28: note: declared here
- 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
- | ^~~~~~~~~~~~~~~~
- 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]
- 584 | RSA_get0_crt_params(from, &dmp1, &dmq1, &iqmp);
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:230:28: note: declared here
- 230 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
- | ^~~~~~~~~~~~~~~~~~~
- crypt.cpp: In function 'int check_validity_of_cert(const char*, const unsigned char*, unsigned char*, int, const char*)':
- crypt.cpp:684:41: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 684 | rsa = (rsa_st*)EVP_PKEY_get0_RSA(pubKey);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~
- In file included from /usr/include/openssl/x509.h:29:
- /usr/include/openssl/evp.h:1348:22: note: declared here
- 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
- | ^~~~~~~~~~~~~~~~~
- crypt.cpp:685:29: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 685 | if (!RSA_blinding_on(rsa, c)) {
- | ~~~~~~~~~~~~~~~^~~~~~~~
- /usr/include/openssl/rsa.h:376:27: note: declared here
- 376 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
- | ^~~~~~~~~~~~~~~
- 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]
- 696 | retval = RSA_verify(NID_md5, md5_md, MD5_DIGEST_LENGTH, sfileMsg, sfsize, rsa);
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/rsa.h:356:27: note: declared here
- 356 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
- | ^~~~~~~~~~
- crypt.cpp:697:25: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 697 | RSA_blinding_off(rsa);
- | ~~~~~~~~~~~~~~~~^~~~~
- /usr/include/openssl/rsa.h:377:28: note: declared here
- 377 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa);
- | ^~~~~~~~~~~~~~~~
- crypt.cpp: In function 'char* check_validity(const char*, const char*, unsigned char*, char*)':
- crypt.cpp:740:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 740 | MD5_Init(&md5CTX);
- | ~~~~~~~~^~~~~~~~~
- In file included from crypt.cpp:32:
- /usr/include/openssl/md5.h:49:27: note: declared here
- 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
- | ^~~~~~~~
- crypt.cpp:742:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 742 | MD5_Update(&md5CTX, rbuf, rbytes);
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/md5.h:50:27: note: declared here
- 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
- | ^~~~~~~~~~
- crypt.cpp:744:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 744 | MD5_Final(md5_md, &md5CTX);
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~
- /usr/include/openssl/md5.h:51:27: note: declared here
- 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
- | ^~~~~~~~~
- crypt.cpp: In function 'int cert_verify_file(CERT_SIGS*, const char*, const char*)':
- crypt.cpp:791:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 791 | MD5_Init(&md5CTX);
- | ~~~~~~~~^~~~~~~~~
- /usr/include/openssl/md5.h:49:27: note: declared here
- 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
- | ^~~~~~~~
- crypt.cpp:793:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 793 | MD5_Update(&md5CTX, rbuf, rbytes);
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/openssl/md5.h:50:27: note: declared here
- 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
- | ^~~~~~~~~~
- crypt.cpp:795:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
- 795 | MD5_Final(md5_md, &md5CTX);
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~
- /usr/include/openssl/md5.h:51:27: note: declared here
- 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
- | ^~~~~~~~~
- CXXLD libboinc_crypt.la
- rm -f libboinc_crypt.a
- /usr/bin/ln .libs/libboinc_crypt.a .
- CXXLD crypt_prog
- CXX parse_test-parse_test.o
- CXXLD parse_test
- CXX libboinc_la-app_ipc.lo
- CXX libboinc_la-base64.lo
- CXX libboinc_la-cc_config.lo
- CXX libboinc_la-cert_sig.lo
- CXX libboinc_la-coproc.lo
- CXX libboinc_la-diagnostics.lo
- CXX libboinc_la-filesys.lo
- CXX libboinc_la-gui_rpc_client.lo
- CXX libboinc_la-gui_rpc_client_ops.lo
- CXX libboinc_la-gui_rpc_client_print.lo
- CXX libboinc_la-hostinfo.lo
- CXX libboinc_la-keyword.lo
- CXX libboinc_la-md5_file.lo
- CXX libboinc_la-mem_usage.lo
- CXX libboinc_la-mfile.lo
- CXX libboinc_la-miofile.lo
- CXX libboinc_la-msg_log.lo
- CXX libboinc_la-network.lo
- CXX libboinc_la-notice.lo
- CXX libboinc_la-opencl_boinc.lo
- CXX libboinc_la-parse.lo
- CXX libboinc_la-prefs.lo
- CXX libboinc_la-procinfo.lo
- CXX libboinc_la-proc_control.lo
- CXX libboinc_la-project_init.lo
- CXX libboinc_la-proxy_info.lo
- CXX libboinc_la-sched_msgs.lo
- CXX libboinc_la-shmem.lo
- CXX libboinc_la-str_util.lo
- CXX libboinc_la-url.lo
- CXX libboinc_la-util.lo
- util.cpp: In function 'std::string docker_image_name(const char*, const char*)':
- util.cpp:809:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=]
- 809 | sprintf(buf, "boinc__%s__%s", url_buf, wu_buf);
- | ^~ ~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from boinc_stdio.h:35,
- from util.cpp:33:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'std::string docker_image_name(const char*, const char*)' at util.cpp:809:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libboinc_la-wslinfo.lo
- CXX libboinc_la-procinfo_unix.lo
- CXX libboinc_la-synch.lo
- CXX libboinc_la-unix_util.lo
- CXXLD libboinc.la
- CXX libboinc_fcgi_la-coproc.lo
- In file included from coproc.cpp:21:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-filesys.lo
- In file included from filesys.h:33,
- from filesys.cpp:65:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from filesys.h:29:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-hostinfo.lo
- In file included from miofile.h:21,
- from parse.h:29,
- from hostinfo.cpp:35:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from hostinfo.cpp:25:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-keyword.lo
- In file included from miofile.h:21,
- from parse.h:29,
- from keyword.cpp:22:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from keyword.cpp:20:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-md5.lo
- CXX libboinc_fcgi_la-md5_file.lo
- In file included from md5_file.cpp:32:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-mfile.lo
- In file included from filesys.h:33,
- from mfile.cpp:32:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from mfile.cpp:22:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-miofile.lo
- In file included from miofile.h:21,
- from miofile.cpp:30:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from miofile.cpp:22:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-msg_log.lo
- In file included from miofile.h:21,
- from common_defs.h:32,
- from util.h:30,
- from msg_log.cpp:27:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from msg_log.cpp:22:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-opencl_boinc.lo
- In file included from opencl_boinc.cpp:21:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- opencl_boinc.cpp: In member function 'void OPENCL_CPU_PROP::write_xml(MIOFILE&)':
- opencl_boinc.cpp:305:42: warning: unused parameter 'f' [-Wunused-parameter]
- 305 | void OPENCL_CPU_PROP::write_xml(MIOFILE& f) {
- | ~~~~~~~~~^
- CXX libboinc_fcgi_la-parse.lo
- In file included from parse.cpp:46:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from parse.cpp:33:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-sched_msgs.lo
- In file included from msg_log.h:24,
- from sched_msgs.h:21,
- from sched_msgs.cpp:20:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from msg_log.h:21:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-shmem.lo
- In file included from shmem.cpp:67:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from shmem.cpp:33:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-str_util.lo
- In file included from str_util.cpp:36:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bits/locale_classes.h:40,
- from /usr/include/c++/13/bits/ios_base.h:41,
- from /usr/include/c++/13/ios:44,
- from /usr/include/c++/13/istream:40,
- from /usr/include/c++/13/sstream:40,
- from str_util.cpp:27:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-synch.lo
- In file included from synch.cpp:30:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from synch.cpp:24:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libboinc_fcgi_la-url.lo
- CXX libboinc_fcgi_la-util.lo
- In file included from util.cpp:33:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- util.cpp: In function 'int run_command(char*, std::vector<std::__cxx11::basic_string<char> >&)':
- util.cpp:288:23: warning: unused parameter 'cmd' [-Wunused-parameter]
- 288 | int run_command(char *cmd, vector<string> &out) {
- | ~~~~~~^~~
- CXX libboinc_fcgi_la-wslinfo.lo
- In file included from miofile.h:21,
- from common_defs.h:32,
- from wslinfo.cpp:23:
- boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bitset:52,
- from /usr/include/c++/13/regex:40,
- from wslinfo.cpp:21:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXXLD libboinc_fcgi.la
- rm -f libboinc.a
- /usr/bin/ln .libs/libboinc.a .
- rm -f libboinc_fcgi.a
- /usr/bin/ln .libs/libboinc_fcgi.a .
- make[2]: Leaving directory '/home/boincadm/boinc/lib'
- Making all in zip
- make[2]: Entering directory '/home/boincadm/boinc/zip'
- Making all in zip
- make[3]: Entering directory '/home/boincadm/boinc/zip/zip'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory '/home/boincadm/boinc/zip/zip'
- Making all in unzip
- make[3]: Entering directory '/home/boincadm/boinc/zip/unzip'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory '/home/boincadm/boinc/zip/unzip'
- make[3]: Entering directory '/home/boincadm/boinc/zip'
- CXX boinc_zip.lo
- CXXLD libboinc_zip.la
- rm -f libboinc_zip.a
- /usr/bin/ln .libs/libboinc_zip.a .
- make[3]: Leaving directory '/home/boincadm/boinc/zip'
- make[2]: Leaving directory '/home/boincadm/boinc/zip'
- Making all in db
- make[2]: Entering directory '/home/boincadm/boinc/db'
- make[2]: Nothing to be done for 'all'.
- make[2]: Leaving directory '/home/boincadm/boinc/db'
- Making all in py
- make[2]: Entering directory '/home/boincadm/boinc/py'
- python setup.py build --build-base=../py
- make[2]: Leaving directory '/home/boincadm/boinc/py'
- Making all in sched
- make[2]: Entering directory '/home/boincadm/boinc/sched'
- CXX adjust_user_priority.o
- CXXLD adjust_user_priority
- CXX delete_file.o
- CXXLD delete_file
- CXX get_file.o
- CXXLD get_file
- CXX make_work.o
- CXXLD make_work
- CXX put_file.o
- CXXLD put_file
- CXX sched_driver.o
- CXXLD sched_driver
- CXX show_shmem.o
- CXXLD show_shmem
- CXX wu_check.o
- CXXLD wu_check
- CXX credit.o
- CXX edf_sim.o
- CXX handle_request.o
- handle_request.cpp: In function ‘void process_request(char*)’:
- 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]
- 1234 | memset(&g_reply->wreq, 0, sizeof(g_reply->wreq));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_main.h:21,
- from handle_request.cpp:50:
- sched_types.h:516:8: note: ‘struct WORK_REQ’ declared here
- 516 | struct WORK_REQ : public WORK_REQ_BASE {
- | ^~~~~~~~
- handle_request.cpp: In function ‘int lock_sched()’:
- handle_request.cpp:135:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 135 | sprintf(filename, "%s/CGI_%07lu",
- | ^~~~~
- handle_request.cpp:135:23: note: using the range [0, 18446744073709551615] for directive argument
- 135 | sprintf(filename, "%s/CGI_%07lu",
- | ^~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../lib/boinc_stdio.h:35,
- from handle_request.cpp:21:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int lock_sched()’ at handle_request.cpp:135:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- handle_request.cpp: In function ‘void unlock_sched()’:
- handle_request.cpp:172:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
- | ^~~~~
- handle_request.cpp:172:23: note: using the range [0, 18446744073709551615] for directive argument
- 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
- | ^~~~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void unlock_sched()’ at handle_request.cpp:172:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- handle_request.cpp: In function ‘int authenticate_user()’:
- handle_request.cpp:102:121: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 380 and 1951 [-Wformat-overflow=]
- 102 | ame='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
- | ^~
- 103 | , user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
- | ~~
- In function ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’,
- inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
- handle_request.cpp:102:13: note: assuming directive output of 8 bytes
- 102 | "where userid=%lu and id>%lu and domain_name='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 103 | " and m_nbytes = %lf order by id desc", user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’ at handle_request.cpp:101:16,
- inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- handle_request.cpp: In function ‘void process_request(char*)’:
- handle_request.cpp:1398:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 204 [-Wformat-overflow=]
- 1398 | sprintf(buf, "%s %s",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void process_request(char*)’ at handle_request.cpp:1398:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX hr.o
- CXX hr_info.o
- CXX plan_class_spec.o
- plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
- plan_class_spec.cpp:276:26: warning: ‘ ’ directive writing 1 byte into a region of size between 0 and 8191 [-Wformat-overflow=]
- 276 | sprintf(buf, " %s ", sreq.host.p_features);
- | ^
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../lib/util.h:24,
- from plan_class_spec.cpp:23:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:276:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
- plan_class_spec.cpp:613:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
- 613 | sprintf(tag,"<%s>",project_prefs_tag);
- | ^
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:613:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
- plan_class_spec.cpp:643:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
- 643 | sprintf(tag,"<%s>",gpu_utilization_tag);
- | ^
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:643:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_array.o
- CXX sched_assign.o
- CXX sched_check.o
- CXX sched_customize.o
- sched_customize.cpp: In function ‘bool app_plan_wsl(SCHEDULER_REQUEST&, char*, HOST_USAGE&)’:
- sched_customize.cpp:963:24: warning: unused parameter ‘sreq’ [-Wunused-parameter]
- 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
- | ~~~~~~~~~~~~~~~~~~~^~~~
- sched_customize.cpp:963:36: warning: unused parameter ‘plan_class’ [-Wunused-parameter]
- 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
- | ~~~~~~^~~~~~~~~~
- sched_customize.cpp:963:60: warning: unused parameter ‘hu’ [-Wunused-parameter]
- 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
- | ~~~~~~~~~~~~^~
- CXX sched_files.o
- CXX sched_hr.o
- CXX sched_keyword.o
- CXX sched_limit.o
- CXX sched_locality.o
- sched_locality.cpp: In function ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’:
- sched_locality.cpp:864:36: warning: ‘__~’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 864 | sprintf(min_resultname, "%s__~", filename);
- | ^~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from sched_locality.cpp:32:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’ at sched_locality.cpp:864:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_main.o
- sched_main.cpp: In function ‘int main(int, char**)’:
- sched_main.cpp:423:55: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 228 [-Wformat-overflow=]
- 423 | sprintf(buf, "Server can't open log file (%s)", path);
- | ^~ ~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../lib/boinc_stdio.h:35,
- from sched_main.cpp:34:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at sched_main.cpp:423:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_nci.o
- CXX sched_resend.o
- sched_resend.cpp: In function ‘bool resend_lost_work()’:
- sched_resend.cpp:268:52: warning: ‘%s’ directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
- 268 | sprintf(warning_msg, "Resent lost task %s", result.name);
- | ^~ ~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_resend.cpp:32:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:268:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- sched_resend.cpp: In function ‘bool resend_lost_work()’:
- sched_resend.cpp:248:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=]
- 248 | "Didn't resend lost task %s (expired)", result.name
- | ^~ ~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:247:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_result.o
- CXX sched_score.o
- sched_score.cpp: In constructor ‘JOB::JOB()’:
- 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]
- 54 | memset(this, 0, sizeof(JOB));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_score.cpp:42:
- sched_score.h:20:8: note: ‘struct JOB’ declared here
- 20 | struct JOB {
- | ^~~
- CXX sched_send.o
- sched_send.cpp: In function ‘void check_buda_plan_class(WORKUNIT&, HOST_USAGE&, bool&, bool&)’:
- sched_send.cpp:945:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation]
- 945 | strncpy(buf, p, 256);
- | ^
- sched_send.cpp: In function ‘void send_user_messages()’:
- sched_send.cpp:1380:57: warning: ‘%s’ directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=]
- 1380 | "No tasks are available for %s",
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_send.cpp:25:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void send_user_messages()’ at sched_send.cpp:1379:32:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
- sched_send.cpp:700:25: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=]
- 700 | sprintf(buf, "<name>%s</name>\n", result.name);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:700:12,
- inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
- sched_send.cpp:703:28: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=]
- 703 | sprintf(buf, "<wu_name>%s</wu_name>\n", wu.name);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:703:12,
- inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_timezone.o
- CXX sched_vda.o
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../vda/sched_vda.cpp:175:19: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
- 175 | sprintf(buf, "%s/data.vda", chunk_dir);
- | ^~ ~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../lib/boinc_stdio.h:35,
- from ../vda/sched_vda.cpp:21:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:175:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../vda/sched_vda.cpp:192:27: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
- 192 | sprintf(buf, "%s/data.vda", chunk_dir);
- | ^~ ~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:192:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../vda/sched_vda.cpp:200:34: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 253 [-Wformat-overflow=]
- 200 | sprintf(buf, "mv %s %s; chmod g+rw %s", path, dst_path, dst_path);
- | ^~ ~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:200:24:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../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=]
- 215 | sprintf(buf, "host_id=%lu and physical_file_name='%s'",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:215:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int issue_transfer_commands(CHUNK_LIST&)’:
- ../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=]
- 103 | sprintf(url, "%s/%s/data.vda", buf, chunk_dirs);
- | ^~ ~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void get_chunk_url(DB_VDA_FILE&, const char*, char*)’ at ../vda/sched_vda.cpp:103:12,
- inlined from ‘int issue_transfer_commands(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:469:26:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘void handle_vda()’:
- ../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=]
- 334 | "host_id=%lu and vda_file_id=%lu and physical_file_name='%s'",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_chunks_missing_on_client(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:333:20,
- inlined from ‘void handle_vda()’ at ../vda/sched_vda.cpp:587:37:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_version.o
- sched_version.cpp: In function ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’:
- sched_version.cpp:240:17: warning: ‘%s’ directive writing up to 255 bytes into a region of size 195 [-Wformat-overflow=]
- 240 | "%s %s.",
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35,
- from sched_version.cpp:30:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’ at sched_version.cpp:239:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_types.o
- sched_types.cpp: In member function ‘int CLIENT_APP_VERSION::parse(XML_PARSER&)’:
- 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]
- 64 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_main.h:21,
- from sched_types.cpp:33:
- sched_types.h:149:8: note: ‘struct CLIENT_APP_VERSION’ declared here
- 149 | struct CLIENT_APP_VERSION {
- | ^~~~~~~~~~~~~~~~~~
- sched_types.cpp: In member function ‘const char* SCHEDULER_REQUEST::parse(XML_PARSER&)’:
- 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]
- 313 | memset(&host, 0, sizeof(host));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../db/boinc_db.h:40,
- from sched_types.cpp:32:
- ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
- 270 | struct HOST {
- | ^~~~
- sched_types.cpp: In constructor ‘SCHEDULER_REPLY::SCHEDULER_REPLY()’:
- 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]
- 741 | memset(&host, 0, sizeof(host));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
- 270 | struct HOST {
- | ^~~~
- sched_types.cpp: In member function ‘int SCHED_DB_RESULT::parse_from_client(XML_PARSER&)’:
- 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]
- 1303 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- sched_types.h:204:8: note: ‘struct SCHED_DB_RESULT’ declared here
- 204 | struct SCHED_DB_RESULT : DB_RESULT {
- | ^~~~~~~~~~~~~~~
- sched_types.cpp: In function ‘void get_rss_auth(USER&, char*)’:
- sched_types.cpp:1602:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 1602 | sprintf(buf2, "%s%s%s", user.authenticator, user.passwd_hash, "notify_rss");
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_types.cpp:24:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void get_rss_auth(USER&, char*)’ at sched_types.cpp:1602:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX time_stats_log.o
- CXXLD cgi
- CXX file_upload_handler.o
- file_upload_handler.cpp: In function ‘int get_key(R_RSA_PUBLIC_KEY&)’:
- file_upload_handler.cpp:608:21: warning: ‘/upload_public’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 608 | sprintf(buf, "%s/upload_public", config.key_dir);
- | ^~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from file_upload_handler.cpp:32:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int get_key(R_RSA_PUBLIC_KEY&)’ at file_upload_handler.cpp:608:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX sched_config.o
- sched_config.cpp: In member function ‘int SCHED_CONFIG::parse(FILE*)’:
- 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]
- 78 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_config.cpp:34:
- sched_config.h:43:8: note: ‘struct SCHED_CONFIG’ declared here
- 43 | struct SCHED_CONFIG {
- | ^~~~~~~~~~~~
- CXX sched_util_basic.o
- sched_util_basic.cpp: In function ‘int dir_hier_path(const char*, const char*, int, char*, bool)’:
- sched_util_basic.cpp:238:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
- 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
- | ^
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bits/locale_classes.h:40,
- from /usr/include/c++/13/bits/ios_base.h:41,
- from /usr/include/c++/13/ios:44,
- from /usr/include/c++/13/istream:40,
- from /usr/include/c++/13/sstream:40,
- from sched_util_basic.cpp:25:
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int dir_hier_path(const char*, const char*, int, char*, bool)’ at sched_util_basic.cpp:238:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD file_upload_handler
- CXX fcgi-credit.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from credit.cpp:27:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-edf_sim.o
- In file included from edf_sim.cpp:25:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-handle_request.o
- In file included from handle_request.cpp:21:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- handle_request.cpp: In function ‘void process_request(char*)’:
- 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]
- 1234 | memset(&g_reply->wreq, 0, sizeof(g_reply->wreq));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_main.h:21,
- from handle_request.cpp:50:
- sched_types.h:516:8: note: ‘struct WORK_REQ’ declared here
- 516 | struct WORK_REQ : public WORK_REQ_BASE {
- | ^~~~~~~~
- handle_request.cpp: In function ‘int lock_sched()’:
- handle_request.cpp:135:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 135 | sprintf(filename, "%s/CGI_%07lu",
- | ^~~~~
- handle_request.cpp:135:23: note: using the range [0, 18446744073709551615] for directive argument
- 135 | sprintf(filename, "%s/CGI_%07lu",
- | ^~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int lock_sched()’ at handle_request.cpp:135:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- handle_request.cpp: In function ‘void unlock_sched()’:
- handle_request.cpp:172:26: warning: ‘/CGI_’ directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
- | ^~~~~
- handle_request.cpp:172:23: note: using the range [0, 18446744073709551615] for directive argument
- 172 | sprintf(filename, "%s/CGI_%07lu", config.sched_lockfile_dir, g_reply->host.id);
- | ^~~~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void unlock_sched()’ at handle_request.cpp:172:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- handle_request.cpp: In function ‘int authenticate_user()’:
- handle_request.cpp:102:121: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 380 and 1951 [-Wformat-overflow=]
- 102 | ame='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
- | ^~
- 103 | , user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
- | ~~
- In function ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’,
- inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
- handle_request.cpp:102:13: note: assuming directive output of 8 bytes
- 102 | "where userid=%lu and id>%lu and domain_name='%s' and last_ip_addr = '%s' and os_name = '%s' and p_model = '%s'"
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 103 | " and m_nbytes = %lf order by id desc", user.id, req_host.id, dn, ip, os, pm, req_host.m_nbytes
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool find_host_by_other(DB_USER&, HOST, DB_HOST&)’ at handle_request.cpp:101:16,
- inlined from ‘int authenticate_user()’ at handle_request.cpp:488:34:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- handle_request.cpp: In function ‘void process_request(char*)’:
- handle_request.cpp:1398:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 204 [-Wformat-overflow=]
- 1398 | sprintf(buf, "%s %s",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void process_request(char*)’ at handle_request.cpp:1398:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-hr.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from hr.h:21,
- from hr.cpp:23:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../lib/str_util.h:21,
- from hr.cpp:21:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-hr_info.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from hr.h:21,
- from hr_info.h:28,
- from hr_info.cpp:22:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-plan_class_spec.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/util.h:30,
- from plan_class_spec.cpp:23:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../lib/util.h:24:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
- plan_class_spec.cpp:276:26: warning: ‘ ’ directive writing 1 byte into a region of size between 0 and 8191 [-Wformat-overflow=]
- 276 | sprintf(buf, " %s ", sreq.host.p_features);
- | ^
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:276:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
- plan_class_spec.cpp:613:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
- 613 | sprintf(tag,"<%s>",project_prefs_tag);
- | ^
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:613:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- plan_class_spec.cpp: In member function ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’:
- plan_class_spec.cpp:643:25: warning: ‘>’ directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=]
- 643 | sprintf(tag,"<%s>",gpu_utilization_tag);
- | ^
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool PLAN_CLASS_SPEC::check(SCHEDULER_REQUEST&, HOST_USAGE&, const WORKUNIT*)’ at plan_class_spec.cpp:643:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_array.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_shmem.h:27,
- from sched_check.h:22,
- from sched_array.cpp:28:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_array.cpp:23:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_assign.o
- In file included from sched_assign.cpp:23:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_check.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from credit.h:20,
- from sched_check.cpp:20:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_customize.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/util.h:30,
- from sched_customize.cpp:53:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_customize.cpp:48:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_customize.cpp: In function ‘bool app_plan_wsl(SCHEDULER_REQUEST&, char*, HOST_USAGE&)’:
- sched_customize.cpp:963:24: warning: unused parameter ‘sreq’ [-Wunused-parameter]
- 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
- | ~~~~~~~~~~~~~~~~~~~^~~~
- sched_customize.cpp:963:36: warning: unused parameter ‘plan_class’ [-Wunused-parameter]
- 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
- | ~~~~~~^~~~~~~~~~
- sched_customize.cpp:963:60: warning: unused parameter ‘hu’ [-Wunused-parameter]
- 963 | SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu
- | ~~~~~~~~~~~~^~
- CXX fcgi-sched_files.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_limit.h:23,
- from sched_config.h:25,
- from sched_files.cpp:27:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from sched_files.cpp:23:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_hr.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_types.h:24,
- from sched_hr.cpp:28:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from sched_hr.cpp:22:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_keyword.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_main.h:18,
- from sched_keyword.cpp:27:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bits/locale_classes.h:40,
- from /usr/include/c++/13/bits/ios_base.h:41,
- from /usr/include/c++/13/streambuf:43,
- from /usr/include/c++/13/bits/streambuf_iterator.h:35,
- from /usr/include/c++/13/iterator:66,
- from sched_keyword.cpp:25:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_limit.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_main.h:18,
- from sched_limit.cpp:21:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_locality.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_locality.cpp:39:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from sched_locality.cpp:32:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_locality.cpp: In function ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’:
- sched_locality.cpp:864:36: warning: ‘__~’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 864 | sprintf(min_resultname, "%s__~", filename);
- | ^~~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int send_new_file_work_deterministic_seeded(int&, const char*, const char*)’ at sched_locality.cpp:864:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_main.o
- In file included from sched_main.cpp:34:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_main.cpp: In function ‘int main(int, char**)’:
- sched_main.cpp:434:64: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 219 [-Wformat-overflow=]
- 434 | sprintf(buf, "Server can't open log file for FCGI (%s)", path);
- | ^~ ~~~~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at sched_main.cpp:434:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_nci.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_shmem.h:27,
- from sched_check.h:22,
- from sched_nci.cpp:21:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_resend.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_shmem.h:27,
- from sched_check.h:22,
- from sched_resend.cpp:35:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_resend.cpp:32:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_resend.cpp: In function ‘bool resend_lost_work()’:
- sched_resend.cpp:268:52: warning: ‘%s’ directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
- 268 | sprintf(warning_msg, "Resent lost task %s", result.name);
- | ^~ ~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:268:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- sched_resend.cpp: In function ‘bool resend_lost_work()’:
- sched_resend.cpp:248:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=]
- 248 | "Didn't resend lost task %s (expired)", result.name
- | ^~ ~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool resend_lost_work()’ at sched_resend.cpp:247:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_result.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_result.cpp:20:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_score.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_score.cpp:27:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_score.cpp: In constructor ‘JOB::JOB()’:
- 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]
- 54 | memset(this, 0, sizeof(JOB));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_score.cpp:42:
- sched_score.h:20:8: note: ‘struct JOB’ declared here
- 20 | struct JOB {
- | ^~~
- CXX fcgi-sched_send.o
- In file included from ../lib/miofile.h:21,
- from ../lib/parse.h:29,
- from sched_send.cpp:34:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_send.cpp:25:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_send.cpp: In function ‘void check_buda_plan_class(WORKUNIT&, HOST_USAGE&, bool&, bool&)’:
- sched_send.cpp:945:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation]
- 945 | strncpy(buf, p, 256);
- | ^
- sched_send.cpp: In function ‘void send_user_messages()’:
- sched_send.cpp:1380:57: warning: ‘%s’ directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=]
- 1380 | "No tasks are available for %s",
- | ^~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void send_user_messages()’ at sched_send.cpp:1379:32:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
- sched_send.cpp:700:25: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=]
- 700 | sprintf(buf, "<name>%s</name>\n", result.name);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:700:12,
- inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- sched_send.cpp: In function ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’:
- sched_send.cpp:703:28: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=]
- 703 | sprintf(buf, "<wu_name>%s</wu_name>\n", wu.name);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int insert_name_tags(RESULT&, const WORKUNIT&)’ at sched_send.cpp:703:12,
- inlined from ‘int add_result_to_reply(SCHED_DB_RESULT&, WORKUNIT&, BEST_APP_VERSION*, HOST_USAGE&, bool, bool)’ at sched_send.cpp:1098:30:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_timezone.o
- In file included from ../lib/filesys.h:33,
- from sched_timezone.cpp:27:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_timezone.cpp:23:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX fcgi-sched_vda.o
- In file included from ../vda/sched_vda.cpp:21:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../vda/sched_vda.cpp:175:19: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
- 175 | sprintf(buf, "%s/data.vda", chunk_dir);
- | ^~ ~~~~~~~~~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:175:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../vda/sched_vda.cpp:192:27: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=]
- 192 | sprintf(buf, "%s/data.vda", chunk_dir);
- | ^~ ~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:192:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../vda/sched_vda.cpp:200:34: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 253 [-Wformat-overflow=]
- 200 | sprintf(buf, "mv %s %s; chmod g+rw %s", path, dst_path, dst_path);
- | ^~ ~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:200:24:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int process_completed_upload(char*, CHUNK_LIST&)’:
- ../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=]
- 215 | sprintf(buf, "host_id=%lu and physical_file_name='%s'",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_completed_upload(char*, CHUNK_LIST&)’ at ../vda/sched_vda.cpp:215:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘int issue_transfer_commands(CHUNK_LIST&)’:
- ../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=]
- 103 | sprintf(url, "%s/%s/data.vda", buf, chunk_dirs);
- | ^~ ~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void get_chunk_url(DB_VDA_FILE&, const char*, char*)’ at ../vda/sched_vda.cpp:103:12,
- inlined from ‘int issue_transfer_commands(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:469:26:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../vda/sched_vda.cpp: In function ‘void handle_vda()’:
- ../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=]
- 334 | "host_id=%lu and vda_file_id=%lu and physical_file_name='%s'",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int process_chunks_missing_on_client(CHUNK_LIST&)’ at ../vda/sched_vda.cpp:333:20,
- inlined from ‘void handle_vda()’ at ../vda/sched_vda.cpp:587:37:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_version.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_version.cpp:30:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_version.cpp: In function ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’:
- sched_version.cpp:240:17: warning: ‘%s’ directive writing up to 255 bytes into a region of size 195 [-Wformat-overflow=]
- 240 | "%s %s.",
- | ^~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘CLIENT_APP_VERSION* get_app_version_anonymous(APP&, bool, bool)’ at sched_version.cpp:239:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-sched_types.o
- In file included from ../lib/miofile.h:21,
- from ../lib/parse.h:29,
- from sched_types.cpp:28:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from sched_types.cpp:24:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_types.cpp: In member function ‘int CLIENT_APP_VERSION::parse(XML_PARSER&)’:
- 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]
- 64 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_main.h:21,
- from sched_types.cpp:33:
- sched_types.h:149:8: note: ‘struct CLIENT_APP_VERSION’ declared here
- 149 | struct CLIENT_APP_VERSION {
- | ^~~~~~~~~~~~~~~~~~
- sched_types.cpp: In member function ‘const char* SCHEDULER_REQUEST::parse(XML_PARSER&)’:
- 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]
- 313 | memset(&host, 0, sizeof(host));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../db/boinc_db.h:40,
- from sched_types.cpp:32:
- ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
- 270 | struct HOST {
- | ^~~~
- sched_types.cpp: In constructor ‘SCHEDULER_REPLY::SCHEDULER_REPLY()’:
- 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]
- 741 | memset(&host, 0, sizeof(host));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- ../db/boinc_db_types.h:270:8: note: ‘struct HOST’ declared here
- 270 | struct HOST {
- | ^~~~
- sched_types.cpp: In member function ‘int SCHED_DB_RESULT::parse_from_client(XML_PARSER&)’:
- 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]
- 1303 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- sched_types.h:204:8: note: ‘struct SCHED_DB_RESULT’ declared here
- 204 | struct SCHED_DB_RESULT : DB_RESULT {
- | ^~~~~~~~~~~~~~~
- sched_types.cpp: In function ‘void get_rss_auth(USER&, char*)’:
- sched_types.cpp:1602:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 1602 | sprintf(buf2, "%s%s%s", user.authenticator, user.passwd_hash, "notify_rss");
- | ^~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void get_rss_auth(USER&, char*)’ at sched_types.cpp:1602:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi-time_stats_log.o
- In file included from ../lib/filesys.h:33,
- from time_stats_log.cpp:25:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../lib/filesys.h:29:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- cd ../sched; make libsched_fcgi.la
- make[3]: Entering directory '/home/boincadm/boinc/sched'
- CXX libsched_fcgi_la-credit.lo
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from credit.cpp:27:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libsched_fcgi_la-sched_shmem.lo
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_shmem.cpp:33:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from sched_shmem.cpp:23:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_shmem.cpp: In member function 'void SCHED_SHMEM::init(int)':
- 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]
- 46 | memset(this, 0, size);
- | ~~~~~~^~~~~~~~~~~~~~~
- In file included from sched_shmem.cpp:41:
- sched_shmem.h:83:8: note: 'struct SCHED_SHMEM' declared here
- 83 | struct SCHED_SHMEM {
- | ^~~~~~~~~~~
- CXX libsched_fcgi_la-sched_util.lo
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_util.cpp:23:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libsched_fcgi_la-sched_util_basic.lo
- In file included from ../lib/filesys.h:33,
- from sched_util_basic.cpp:31:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bits/locale_classes.h:40,
- from /usr/include/c++/13/bits/ios_base.h:41,
- from /usr/include/c++/13/ios:44,
- from /usr/include/c++/13/istream:40,
- from /usr/include/c++/13/sstream:40,
- from sched_util_basic.cpp:25:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_util_basic.cpp: In function 'int dir_hier_path(const char*, const char*, int, char*, bool)':
- sched_util_basic.cpp:238:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
- 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
- | ^
- In file included from /usr/include/stdio.h:980:
- In function 'int snprintf(char*, size_t, const char*, ...)',
- inlined from 'int dir_hier_path(const char*, const char*, int, char*, bool)' at sched_util_basic.cpp:238:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_fcgi_la-sched_config.lo
- In file included from sched_config.cpp:20:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_config.cpp: In member function 'int SCHED_CONFIG::parse(FCGI_FILE*)':
- 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]
- 78 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_config.cpp:34:
- sched_config.h:43:8: note: 'struct SCHED_CONFIG' declared here
- 43 | struct SCHED_CONFIG {
- | ^~~~~~~~~~~~
- CXX libsched_fcgi_la-sched_limit.lo
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_main.h:18,
- from sched_limit.cpp:21:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXX libsched_fcgi_la-boinc_db.lo
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../db/boinc_db.cpp:31:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../db/boinc_db.cpp:20:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- ../db/boinc_db.cpp: In member function 'void HOST::clear()':
- ../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]
- 72 | void HOST::clear() {memset(this, 0, sizeof(*this));}
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../db/boinc_db.h:40,
- from ../db/boinc_db.cpp:36:
- ../db/boinc_db_types.h:270:8: note: 'struct HOST' declared here
- 270 | struct HOST {
- | ^~~~
- ../db/boinc_db.cpp: In member function 'void VALIDATOR_ITEM::clear()':
- ../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]
- 87 | void VALIDATOR_ITEM::clear() {memset(this, 0, sizeof(*this));}
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- ../db/boinc_db.h:120:8: note: 'struct VALIDATOR_ITEM' declared here
- 120 | struct VALIDATOR_ITEM {
- | ^~~~~~~~~~~~~~
- ../db/boinc_db.cpp: In member function 'void WORK_ITEM::parse(char**&)':
- ../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]
- 2055 | memset(this, 0, sizeof(WORK_ITEM));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../db/boinc_db.h:312:8: note: 'struct WORK_ITEM' declared here
- 312 | struct WORK_ITEM {
- | ^~~~~~~~~
- CXX libsched_fcgi_la-db_base.lo
- In file included from ../lib/msg_log.h:24,
- from ../lib/sched_msgs.h:21,
- from ../db/db_base.cpp:29:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/db_base.cpp:19:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- ../db/db_base.cpp: In member function 'int DB_BASE::insert()':
- ../db/db_base.cpp:206:40: warning: '%s' directive writing up to 524287 bytes into a region of size 524271 [-Wformat-overflow=]
- 206 | sprintf(query, "insert into %s set %s", table_name, vals);
- | ^~ ~~~~
- In file included from /usr/include/stdio.h:980:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int DB_BASE::insert()' at ../db/db_base.cpp:206:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../db/db_base.cpp: In member function 'int DB_BASE::update()':
- ../db/db_base.cpp:248:35: warning: '%s' directive writing up to 262143 bytes into a region of size 262132 [-Wformat-overflow=]
- 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
- | ^~ ~~~~
- ../db/db_base.cpp:248:20: note: using the range [0, 18446744073709551615] for directive argument
- 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int DB_BASE::update()' at ../db/db_base.cpp:248:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_fcgi_la-process_result_template.lo
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from ../tools/process_result_template.cpp:24:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../tools/process_result_template.cpp:20:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
- ../tools/process_result_template.cpp:67:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=]
- 67 | sprintf(signed_xml, "<name>%s</name><max_nbytes>%.0f</max_nbytes>",
- | ^~
- 68 | name, max_nbytes
- | ~~~~
- In file included from /usr/include/stdio.h:980:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:67:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
- ../tools/process_result_template.cpp:72:31: warning: '%s' directive writing up to 65535 bytes into a region of size 65520 [-Wformat-overflow=]
- 72 | "<xml_signature>\n%s</xml_signature>\n", signature_hex
- | ^~ ~~~~~~~~~~~~~
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:71:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_fcgi_la-process_input_template.lo
- In file included from ../lib/filesys.h:33,
- from ../tools/process_input_template.cpp:31:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from ../tools/process_input_template.cpp:25:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- ../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&)':
- ../tools/process_input_template.cpp:117:23: warning: '%s' directive writing up to 4095 bytes into a region of size 512 [-Wformat-overflow=]
- 117 | sprintf(md5name, "%s.md5", path);
- | ^~
- ......
- 337 | write_md5_info(path, md5, nbytes);
- | ~~~~
- In file included from /usr/include/stdio.h:980:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'void write_md5_info(const char*, const char*, double)' at ../tools/process_input_template.cpp:117:12,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../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&)':
- ../tools/process_input_template.cpp:347:43: warning: '.gz' directive writing 3 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
- 347 | sprintf(gzip_path, "%s.gz", path);
- | ^~~
- In function 'int sprintf(char*, const char*, ...)',
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../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&)':
- ../tools/process_input_template.cpp:357:43: warning: '%s' directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
- 357 | " <gzipped_url>%s.gz</gzipped_url>\n"
- | ^~
- 358 | " <gzipped_nbytes>%.0f</gzipped_nbytes>\n",
- 359 | url, gzipped_nbytes
- | ~~~
- In function 'int sprintf(char*, const char*, ...)',
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
- ../tools/process_input_template.cpp:435:42: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
- 435 | sprintf(buf, " <file_name>%s</file_name>\n", id.name);
- | ^~
- In function 'int sprintf(char*, const char*, ...)',
- 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,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
- ../tools/process_input_template.cpp:454:54: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
- 454 | sprintf(buf, " <open_name>%s</open_name>\n", id.name);
- | ^~
- In function 'int sprintf(char*, const char*, ...)',
- 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,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
- ../tools/process_input_template.cpp:440:50: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
- 440 | sprintf(buf, " <open_name>%s</open_name>\n", open_name);
- | ^~ ~~~~~~~~~
- In function 'int sprintf(char*, const char*, ...)',
- 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,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_fcgi_la-backend_lib.lo
- In file included from ../tools/backend_lib.cpp:19:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- ../tools/backend_lib.cpp: In function 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)':
- ../tools/backend_lib.cpp:161:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
- 161 | snprintf(result.name, sizeof(result.name), "%s_%s", wu.name, result_name_suffix);
- | ^
- In file included from /usr/include/stdio.h:980:
- In function 'int snprintf(char*, size_t, const char*, ...)',
- inlined from 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)' at ../tools/backend_lib.cpp:161:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD libsched_fcgi.la
- make[3]: Leaving directory '/home/boincadm/boinc/sched'
- CXXLD fcgi
- CXX fcgi_file_upload_handler-file_upload_handler.o
- In file included from file_upload_handler.cpp:34:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from file_upload_handler.cpp:32:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- file_upload_handler.cpp: In function ‘int get_key(R_RSA_PUBLIC_KEY&)’:
- file_upload_handler.cpp:608:21: warning: ‘/upload_public’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 608 | sprintf(buf, "%s/upload_public", config.key_dir);
- | ^~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int get_key(R_RSA_PUBLIC_KEY&)’ at file_upload_handler.cpp:608:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi_file_upload_handler-sched_config.o
- In file included from sched_config.cpp:20:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/fcgi_stdio.h:18,
- from ../lib/boinc_stdio.h:28:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_config.cpp: In member function ‘int SCHED_CONFIG::parse(FCGI_FILE*)’:
- 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]
- 78 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_config.cpp:34:
- sched_config.h:43:8: note: ‘struct SCHED_CONFIG’ declared here
- 43 | struct SCHED_CONFIG {
- | ^~~~~~~~~~~~
- CXX fcgi_file_upload_handler-sched_util_basic.o
- In file included from ../lib/filesys.h:33,
- from sched_util_basic.cpp:31:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bits/locale_classes.h:40,
- from /usr/include/c++/13/bits/ios_base.h:41,
- from /usr/include/c++/13/ios:44,
- from /usr/include/c++/13/istream:40,
- from /usr/include/c++/13/sstream:40,
- from sched_util_basic.cpp:25:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- sched_util_basic.cpp: In function ‘int dir_hier_path(const char*, const char*, int, char*, bool)’:
- sched_util_basic.cpp:238:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
- 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
- | ^
- In file included from /usr/include/stdio.h:980:
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int dir_hier_path(const char*, const char*, int, char*, bool)’ at sched_util_basic.cpp:238:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX fcgi_file_upload_handler-sched_limit.o
- In file included from ../lib/miofile.h:21,
- from ../lib/common_defs.h:32,
- from ../lib/opencl_boinc.h:22,
- from ../db/boinc_db_types.h:28,
- from ../db/boinc_db.h:40,
- from sched_main.h:18,
- from sched_limit.cpp:21:
- ../lib/boinc_stdio.h:30: warning: "stdin" redefined
- 30 | #define stdin FCGI_stdin
- |
- In file included from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35:
- /usr/include/stdio.h:153: note: this is the location of the previous definition
- 153 | #define stdin stdin
- |
- ../lib/boinc_stdio.h:31: warning: "stdout" redefined
- 31 | #define stdout FCGI_stdout
- |
- /usr/include/stdio.h:154: note: this is the location of the previous definition
- 154 | #define stdout stdout
- |
- ../lib/boinc_stdio.h:32: warning: "stderr" redefined
- 32 | #define stderr FCGI_stderr
- |
- /usr/include/stdio.h:155: note: this is the location of the previous definition
- 155 | #define stderr stderr
- |
- CXXLD fcgi_file_upload_handler
- CXX antique_file_deleter.o
- CXXLD antique_file_deleter
- CXX census.o
- CXXLD census
- CXX credit_test.o
- CXXLD credit_test
- CXX db_dump.o
- db_dump.cpp: In member function ‘virtual void ZIP_FILE::close()’:
- db_dump.cpp:281:30: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 249 [-Wformat-overflow=]
- 281 | sprintf(buf, "zip -q %s", current_path);
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from db_dump.cpp:30:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘virtual void ZIP_FILE::close()’ at db_dump.cpp:281:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- db_dump.cpp: In function ‘int main(int, char**)’:
- 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=]
- 1315 | snprintf(buf, sizeof(buf), "cp %s %s/db_dump.xml", spec_filename, spec.output_dir);
- | ^~ ~~~~~~~~~~~~~~~
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at db_dump.cpp:1315:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- db_dump.cpp: In function ‘int main(int, char**)’:
- db_dump.cpp:1337:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
- 1337 | sprintf(buf, "mv %s %s_%d_%d_%d_%d_%d_%d",
- | ^~
- 1338 | spec.final_output_dir,
- | ~~~~~~~~~~~~~~~~~~~~~
- db_dump.cpp:1337:22: note: directive argument in the range [-2147481748, 2147483647]
- 1337 | sprintf(buf, "mv %s %s_%d_%d_%d_%d_%d_%d",
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- db_dump.cpp:1337:22: note: directive argument in the range [-2147483647, 2147483647]
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at db_dump.cpp:1337:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- db_dump.cpp: In function ‘int main(int, char**)’:
- db_dump.cpp:1353:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
- 1353 | sprintf(buf, "mv %s %s", spec.output_dir, spec.final_output_dir);
- | ^~ ~~~~~~~~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at db_dump.cpp:1353:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD db_dump
- CXX db_purge.o
- db_purge.cpp: In function ‘void open_archive(const char*, void*&)’:
- db_purge.cpp:282:62: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 228 [-Wformat-overflow=]
- 282 | sprintf(errstr, "could not create directory '%s': %s\n",
- | ^~
- 283 | path, strerror(errno));
- | ~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from db_purge.cpp:33:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void open_archive(const char*, void*&)’ at db_purge.cpp:282:24:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- db_purge.cpp: In function ‘void open_archive(const char*, void*&)’:
- db_purge.cpp:316:51: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 232 [-Wformat-overflow=]
- 316 | sprintf(buf, "Can't open archive file %s %s\n",
- | ^~
- 317 | path, errno?strerror(errno):""
- | ~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void open_archive(const char*, void*&)’ at db_purge.cpp:316:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- db_purge.cpp: In function ‘int main(int, char**)’:
- db_purge.cpp:909:35: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=]
- 909 | sprintf(buf, "where name='%s'", app_name);
- | ^~ ~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at db_purge.cpp:909:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD db_purge
- CXX feeder.o
- feeder.cpp: In function ‘bool get_job_from_db(DB_WORK_ITEM&, int, int&, int&)’:
- feeder.cpp:249:35: warning: ‘ and r1.appid=’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 249 | sprintf(select_clause, "%s and r1.appid=%lu",
- | ^~~~~~~~~~~~~~
- feeder.cpp:249:32: note: using the range [0, 18446744073709551615] for directive argument
- 249 | sprintf(select_clause, "%s and r1.appid=%lu",
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from feeder.cpp:97:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool get_job_from_db(DB_WORK_ITEM&, int, int&, int&)’ at feeder.cpp:249:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX synch.o
- CXXLD feeder
- CXX file_deleter.o
- file_deleter.cpp: In function ‘int wu_delete_files(WORKUNIT&)’:
- file_deleter.cpp:203:41: warning: ‘.gz’ directive writing 3 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
- 203 | sprintf(path_gz, "%s.gz", path);
- | ^~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from file_deleter.cpp:37:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int wu_delete_files(WORKUNIT&)’ at file_deleter.cpp:203:28:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- file_deleter.cpp: In function ‘int wu_delete_files(WORKUNIT&)’:
- file_deleter.cpp:214:46: warning: ‘.md5’ directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
- 214 | sprintf(path_md5, "%s.md5", path);
- | ^~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int wu_delete_files(WORKUNIT&)’ at file_deleter.cpp:214:32:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD file_deleter
- CXX message_handler.o
- CXXLD message_handler
- CXX assimilator.o
- CXX validate_util.o
- CXX sample_assimilator.o
- CXXLD sample_assimilator
- CXX validator.o
- validator.cpp: In function ‘int main_loop()’:
- validator.cpp:815:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=]
- 815 | sprintf(buf, "where name='%s'", app_name);
- | ^~ ~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from validator.cpp:57:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int main_loop()’ at validator.cpp:815:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX validate_util2.o
- CXX sample_bitwise_validator.o
- CXXLD sample_bitwise_validator
- CXX sample_dummy_assimilator.o
- CXXLD sample_dummy_assimilator
- CXX sample_substr_validator.o
- CXXLD sample_substr_validator
- CXX sample_trivial_validator.o
- CXXLD sample_trivial_validator
- CXX sample_work_generator.o
- CXXLD sample_work_generator
- CXX script_assimilator.o
- script_assimilator.cpp: In function ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’:
- script_assimilator.cpp:125:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
- 125 | sprintf(buf, " %s", wu.name);
- | ^
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from script_assimilator.cpp:46:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’ at script_assimilator.cpp:125:24:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD script_assimilator
- CXX script_validator.o
- CXXLD script_validator
- CXX single_job_assimilator.o
- single_job_assimilator.cpp: In function ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’:
- single_job_assimilator.cpp:103:26: warning: ‘/job_summary_’ directive writing 13 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
- 103 | sprintf(filename, "%s/job_summary_%lu", job_dir, wu.id);
- | ^~~~~~~~~~~~~
- single_job_assimilator.cpp:103:23: note: using the range [0, 18446744073709551615] for directive argument
- 103 | sprintf(filename, "%s/job_summary_%lu", job_dir, wu.id);
- | ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from single_job_assimilator.cpp:25:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’ at single_job_assimilator.cpp:103:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- single_job_assimilator.cpp: In function ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’:
- single_job_assimilator.cpp:134:38: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
- 134 | sprintf(copy_path, "%s/%s", job_dir, logical_name.c_str());
- | ^
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int assimilate_handler(WORKUNIT&, std::vector<RESULT>&, RESULT&)’ at single_job_assimilator.cpp:134:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD single_job_assimilator
- CXX size_regulator.o
- CXXLD size_regulator
- CXX transitioner.o
- CXXLD transitioner
- CXX trickle_credit.o
- CXX trickle_handler.o
- trickle_handler.cpp: In function ‘bool do_trickle_scan()’:
- trickle_handler.cpp:70:34: warning: ‘%s’ directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
- 70 | sprintf(buf, "where variety='%s' and handled=%d", variety, handled_enum);
- | ^~ ~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35,
- from trickle_handler.cpp:37:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘bool do_trickle_scan()’ at trickle_handler.cpp:70:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD trickle_credit
- CXX trickle_deadline.o
- trickle_deadline.cpp: In function ‘int handle_trickle(MSG_FROM_HOST&)’:
- trickle_deadline.cpp:101:32: warning: ‘%s’ directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=]
- 101 | sprintf(buf, " where name='%s' and hostid=%lu", task_name, mfh.hostid);
- | ^~ ~~~~~~~~~
- trickle_deadline.cpp:101:18: note: using the range [0, 18446744073709551615] for directive argument
- 101 | sprintf(buf, " where name='%s' and hostid=%lu", task_name, mfh.hostid);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../lib/util.h:24,
- from trickle_deadline.cpp:35:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int handle_trickle(MSG_FROM_HOST&)’ at trickle_deadline.cpp:101:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD trickle_deadline
- CXX trickle_echo.o
- trickle_echo.cpp: In function ‘int handle_trickle(MSG_FROM_HOST&)’:
- trickle_echo.cpp:55:10: warning: ‘%s’ directive writing up to 262143 bytes into a region of size 262129 [-Wformat-overflow=]
- 55 | "%s"
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35,
- from trickle_handler.h:18,
- from trickle_echo.cpp:32:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int handle_trickle(MSG_FROM_HOST&)’ at trickle_echo.cpp:53:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD trickle_echo
- CXX update_stats.o
- CXXLD update_stats
- CXX libsched_la-credit.lo
- CXX libsched_la-sched_shmem.lo
- sched_shmem.cpp: In member function 'void SCHED_SHMEM::init(int)':
- 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]
- 46 | memset(this, 0, size);
- | ~~~~~~^~~~~~~~~~~~~~~
- In file included from sched_shmem.cpp:41:
- sched_shmem.h:83:8: note: 'struct SCHED_SHMEM' declared here
- 83 | struct SCHED_SHMEM {
- | ^~~~~~~~~~~
- CXX libsched_la-sched_util.lo
- CXX libsched_la-sched_util_basic.lo
- sched_util_basic.cpp: In function 'int dir_hier_path(const char*, const char*, int, char*, bool)':
- sched_util_basic.cpp:238:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
- 238 | snprintf(path, MAXPATHLEN, "%s/%s", dirpath, filename);
- | ^
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from /usr/include/c++/13/bits/locale_classes.h:40,
- from /usr/include/c++/13/bits/ios_base.h:41,
- from /usr/include/c++/13/ios:44,
- from /usr/include/c++/13/istream:40,
- from /usr/include/c++/13/sstream:40,
- from sched_util_basic.cpp:25:
- In function 'int snprintf(char*, size_t, const char*, ...)',
- inlined from 'int dir_hier_path(const char*, const char*, int, char*, bool)' at sched_util_basic.cpp:238:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_la-sched_config.lo
- sched_config.cpp: In member function 'int SCHED_CONFIG::parse(FILE*)':
- 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]
- 78 | memset(this, 0, sizeof(*this));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from sched_config.cpp:34:
- sched_config.h:43:8: note: 'struct SCHED_CONFIG' declared here
- 43 | struct SCHED_CONFIG {
- | ^~~~~~~~~~~~
- CXX libsched_la-sched_limit.lo
- CXX libsched_la-boinc_db.lo
- ../db/boinc_db.cpp: In member function 'void HOST::clear()':
- ../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]
- 72 | void HOST::clear() {memset(this, 0, sizeof(*this));}
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../db/boinc_db.h:40,
- from ../db/boinc_db.cpp:36:
- ../db/boinc_db_types.h:270:8: note: 'struct HOST' declared here
- 270 | struct HOST {
- | ^~~~
- ../db/boinc_db.cpp: In member function 'void VALIDATOR_ITEM::clear()':
- ../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]
- 87 | void VALIDATOR_ITEM::clear() {memset(this, 0, sizeof(*this));}
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- ../db/boinc_db.h:120:8: note: 'struct VALIDATOR_ITEM' declared here
- 120 | struct VALIDATOR_ITEM {
- | ^~~~~~~~~~~~~~
- ../db/boinc_db.cpp: In member function 'void WORK_ITEM::parse(char**&)':
- ../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]
- 2055 | memset(this, 0, sizeof(WORK_ITEM));
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../db/boinc_db.h:312:8: note: 'struct WORK_ITEM' declared here
- 312 | struct WORK_ITEM {
- | ^~~~~~~~~
- CXX libsched_la-db_base.lo
- ../db/db_base.cpp: In member function 'int DB_BASE::insert()':
- ../db/db_base.cpp:206:40: warning: '%s' directive writing up to 524287 bytes into a region of size 524271 [-Wformat-overflow=]
- 206 | sprintf(query, "insert into %s set %s", table_name, vals);
- | ^~ ~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../db/db_base.cpp:19:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int DB_BASE::insert()' at ../db/db_base.cpp:206:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../db/db_base.cpp: In member function 'int DB_BASE::update()':
- ../db/db_base.cpp:248:35: warning: '%s' directive writing up to 262143 bytes into a region of size 262132 [-Wformat-overflow=]
- 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
- | ^~ ~~~~
- ../db/db_base.cpp:248:20: note: using the range [0, 18446744073709551615] for directive argument
- 248 | sprintf(query, "update %s set %s where id=%lu", table_name, vals, get_id());
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int DB_BASE::update()' at ../db/db_base.cpp:248:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_la-process_result_template.lo
- ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
- ../tools/process_result_template.cpp:67:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=]
- 67 | sprintf(signed_xml, "<name>%s</name><max_nbytes>%.0f</max_nbytes>",
- | ^~
- 68 | name, max_nbytes
- | ~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../tools/process_result_template.cpp:20:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:67:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_result_template.cpp: In function 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)':
- ../tools/process_result_template.cpp:72:31: warning: '%s' directive writing up to 65535 bytes into a region of size 65520 [-Wformat-overflow=]
- 72 | "<xml_signature>\n%s</xml_signature>\n", signature_hex
- | ^~ ~~~~~~~~~~~~~
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'int add_signatures(char*, R_RSA_PRIVATE_KEY&)' at ../tools/process_result_template.cpp:71:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_la-process_input_template.lo
- ../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&)':
- ../tools/process_input_template.cpp:117:23: warning: '%s' directive writing up to 4095 bytes into a region of size 512 [-Wformat-overflow=]
- 117 | sprintf(md5name, "%s.md5", path);
- | ^~
- ......
- 337 | write_md5_info(path, md5, nbytes);
- | ~~~~
- In file included from /usr/include/stdio.h:980,
- from ../tools/process_input_template.cpp:25:
- In function 'int sprintf(char*, const char*, ...)',
- inlined from 'void write_md5_info(const char*, const char*, double)' at ../tools/process_input_template.cpp:117:12,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../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&)':
- ../tools/process_input_template.cpp:347:43: warning: '.gz' directive writing 3 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
- 347 | sprintf(gzip_path, "%s.gz", path);
- | ^~~
- In function 'int sprintf(char*, const char*, ...)',
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../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&)':
- ../tools/process_input_template.cpp:357:43: warning: '%s' directive writing up to 255 bytes into a region of size 239 [-Wformat-overflow=]
- 357 | " <gzipped_url>%s.gz</gzipped_url>\n"
- | ^~
- 358 | " <gzipped_nbytes>%.0f</gzipped_nbytes>\n",
- 359 | url, gzipped_nbytes
- | ~~~
- In function 'int sprintf(char*, const char*, ...)',
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
- ../tools/process_input_template.cpp:435:42: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
- 435 | sprintf(buf, " <file_name>%s</file_name>\n", id.name);
- | ^~
- In function 'int sprintf(char*, const char*, ...)',
- 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,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
- ../tools/process_input_template.cpp:454:54: warning: '%s' directive writing up to 1023 bytes into a region of size 241 [-Wformat-overflow=]
- 454 | sprintf(buf, " <open_name>%s</open_name>\n", id.name);
- | ^~
- In function 'int sprintf(char*, const char*, ...)',
- 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,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../tools/process_input_template.cpp: In function 'int process_input_template(WORKUNIT&, char*, std::vector<INFILE_DESC>&, SCHED_CONFIG&, const char*, const char*)':
- ../tools/process_input_template.cpp:440:50: warning: '%s' directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=]
- 440 | sprintf(buf, " <open_name>%s</open_name>\n", open_name);
- | ^~ ~~~~~~~~~
- In function 'int sprintf(char*, const char*, ...)',
- 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,
- 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:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX libsched_la-backend_lib.lo
- ../tools/backend_lib.cpp: In function 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)':
- ../tools/backend_lib.cpp:161:54: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
- 161 | snprintf(result.name, sizeof(result.name), "%s_%s", wu.name, result_name_suffix);
- | ^
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../lib/boinc_stdio.h:35,
- from ../tools/backend_lib.cpp:19:
- In function 'int snprintf(char*, size_t, const char*, ...)',
- inlined from 'int create_result(WORKUNIT&, char*, char*, R_RSA_PRIVATE_KEY&, SCHED_CONFIG&, char*, int)' at ../tools/backend_lib.cpp:161:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD libsched.la
- rm -f libsched.a
- /usr/bin/ln .libs/libsched.a .
- rm -f libsched_fcgi.a
- /usr/bin/ln .libs/libsched_fcgi.a .
- make[2]: Leaving directory '/home/boincadm/boinc/sched'
- Making all in apps
- make[2]: Entering directory '/home/boincadm/boinc/apps'
- CXX uppercase-uppercase.o
- CXXLD uppercase
- CXX concat-concat.o
- concat.cpp: In function ‘int main(int, char**)’:
- concat.cpp:122:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 122 | fscanf(state, "%d %d", &file_num, &nchars);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXXLD concat
- CXX 1sec-1sec.o
- CXXLD 1sec
- make[2]: Leaving directory '/home/boincadm/boinc/apps'
- Making all in tools
- make[2]: Entering directory '/home/boincadm/boinc/tools'
- CXX cancel_jobs.o
- CXXLD cancel_jobs
- CXX create_work.o
- create_work.cpp: In function ‘int main(int, char**)’:
- 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=]
- 493 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
- | ^~
- create_work.cpp:493:64: note: directive argument in the range [0, 2147483647]
- 493 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
- | ^~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from create_work.cpp:43:
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at create_work.cpp:493:29:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- create_work.cpp: In function ‘int main(int, char**)’:
- 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=]
- 469 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
- | ^~
- create_work.cpp:469:64: note: directive argument in the range [0, 2147483647]
- 469 | snprintf(jd2.wu.name, sizeof(jd2.wu.name), "%s_%d", jd.wu.name, j);
- | ^~~~~~~
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int main(int, char**)’ at create_work.cpp:469:29:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD create_work
- CXX dir_hier_move.o
- CXXLD dir_hier_move
- CXX dir_hier_path.o
- CXXLD dir_hier_path
- CXX remote_submit_test.o
- remote_submit_test.cpp: In function ‘void get_auth()’:
- 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]
- 64 | fread((void*)authenticator, 1, 256, f);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX remote_submit.o
- ../lib/remote_submit.cpp: In function ‘int do_http_post(const char*, const char*, FILE*, std::vector<std::__cxx11::basic_string<char> >)’:
- ../lib/remote_submit.cpp:125:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
- 125 | CURLFORM_COPYNAME, "request",
- | ^~~~~~~~~~~~~~~~~
- In file included from ../lib/remote_submit.cpp:24:
- /usr/include/x86_64-linux-gnu/curl/curl.h:2501:3: note: declared here
- 2501 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
- | ^~~~~~~~~~~~~~~~~
- ../lib/remote_submit.cpp:126:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
- 126 | CURLFORM_COPYCONTENTS, request,
- | ^~~~~~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2504:3: note: declared here
- 2504 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
- | ^~~~~~~~~~~~~~~~~~~~~
- ../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]
- 124 | curl_formadd(&formpost, &lastptr,
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- 125 | CURLFORM_COPYNAME, "request",
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 126 | CURLFORM_COPYCONTENTS, request,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 127 | CURLFORM_END
- | ~~~~~~~~~~~~
- 128 | );
- | ~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2576:1: note: declared here
- 2576 | curl_formadd(struct curl_httppost **httppost,
- | ^~~~~~~~~~~~
- ../lib/remote_submit.cpp:133:13: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
- 133 | CURLFORM_COPYNAME, buf,
- | ^~~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2501:3: note: declared here
- 2501 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
- | ^~~~~~~~~~~~~~~~~
- ../lib/remote_submit.cpp:134:13: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
- 134 | CURLFORM_FILE, s.c_str(),
- | ^~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2510:3: note: declared here
- 2510 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
- | ^~~~~~~~~~~~~
- ../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]
- 132 | curl_formadd(&formpost, &lastptr,
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- 133 | CURLFORM_COPYNAME, buf,
- | ~~~~~~~~~~~~~~~~~~~~~~~
- 134 | CURLFORM_FILE, s.c_str(),
- | ~~~~~~~~~~~~~~~~~~~~~~~~~
- 135 | CURLFORM_END
- | ~~~~~~~~~~~~
- 136 | );
- | ~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2576:1: note: declared here
- 2576 | curl_formadd(struct curl_httppost **httppost,
- | ^~~~~~~~~~~~
- ../lib/remote_submit.cpp:142:28: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
- 142 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
- | ^~~~~~~~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:1190:3: note: declared here
- 1190 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
- | ^~~~~~~~~~~~~~~~~
- ../lib/remote_submit.cpp:152:18: warning: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
- 152 | curl_formfree(formpost);
- | ~~~~~~~~~~~~~^~~~~~~~~~
- /usr/include/x86_64-linux-gnu/curl/curl.h:2612:1: note: declared here
- 2612 | curl_formfree(struct curl_httppost *form);
- | ^~~~~~~~~~~~~
- ../lib/remote_submit.cpp: In function ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’:
- ../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=]
- 952 | l), "%sget_output.php?cmd=workunit_file&auth_str=%s&wu_name=%s&file_num=%d",
- | ^~
- 953 | ticator, job_name_esc, file_num
- | ~~~~~~~~~~~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/x86_64-linux-gnu/curl/curl.h:56:
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’ at ../lib/remote_submit.cpp:952:13:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ../lib/remote_submit.cpp: In function ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’:
- ../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=]
- 960 | snprintf(buf, sizeof(buf), "couldn't fetch %s: %d", url, retval);
- | ^~ ~~~
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int get_output_file(const char*, const char*, const char*, int, const char*, std::string&)’ at ../lib/remote_submit.cpp:960:17:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD remote_submit_test
- CXX sign_executable.o
- CXXLD sign_executable
- CXX stage_file_native.o
- stage_file_native.cpp: In function ‘int stage_file(char*, bool, bool, bool)’:
- 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=]
- 141 | snprintf(gz_path, MAXPATHLEN, "%s.gz", dl_hier_path);
- | ^~~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from stage_file_native.cpp:23:
- In function ‘int snprintf(char*, size_t, const char*, ...)’,
- inlined from ‘int stage_file(char*, bool, bool, bool)’ at stage_file_native.cpp:141:17:
- /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
- 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 55 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 56 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD stage_file_native
- make[2]: Leaving directory '/home/boincadm/boinc/tools'
- Making all in vda
- make[2]: Entering directory '/home/boincadm/boinc/vda'
- CXX vda.o
- vda.cpp: In function ‘int handle_add(const char*)’:
- vda.cpp:125:19: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=]
- 125 | sprintf(buf, "%s/boinc_meta.txt", dir);
- | ^~ ~~~
- In file included from /usr/include/stdio.h:980,
- from vda.cpp:23:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int handle_add(const char*)’ at vda.cpp:125:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX vda_lib.o
- CXX vda_lib2.o
- vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
- vda_lib2.cpp:210:13: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
- 210 | "cd %s; /mydisks/b/users/boincadm/vda_test/encoder %s %d %d cauchy_good 32 1024 500000 | grep Encoding",
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from /usr/include/c++/13/ext/string_conversions.h:45,
- from /usr/include/c++/13/bits/basic_string.h:4109,
- from /usr/include/c++/13/string:54,
- from ../lib/filesys.h:29,
- from vda_lib2.cpp:30:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:209:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
- vda_lib2.cpp:221:34: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=]
- 221 | sprintf(cmd, "chmod g+wx %s/Coding", dir);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:221:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
- vda_lib2.cpp:234:37: warning: ‘/Coding/’ directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- 234 | sprintf(target_path, "%s/Coding/%s", dir, enc_filename);
- | ^~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:234:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
- 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=]
- 235 | sprintf(dir_name, "%s/%d", dir, i);
- | ^~
- vda_lib2.cpp:235:31: note: directive argument in the range [0, 2147483646]
- 235 | sprintf(dir_name, "%s/%d", dir, i);
- | ^~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:235:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::encode(bool)’:
- vda_lib2.cpp:241:36: warning: ‘%s’ directive writing 8 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- 241 | sprintf(link_name, "%s/%s", dir_name, DATA_FILENAME);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::encode(bool)’ at vda_lib2.cpp:241:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
- vda_lib2.cpp:276:30: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
- 276 | sprintf(cmd, "mv %s/Coding/%s %s/Coding/decode_temp",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:276:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
- vda_lib2.cpp:285:13: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
- 285 | "cd %s; /mydisks/b/users/boincadm/vda_test/decoder %s | grep Decoding",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:284:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
- vda_lib2.cpp:296:26: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
- 296 | sprintf(cmd, "mv %s/Coding/decode_temp %s/Coding/%s",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:296:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
- vda_lib2.cpp:285:13: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
- 285 | "cd %s; /mydisks/b/users/boincadm/vda_test/decoder %s | grep Decoding",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:284:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
- vda_lib2.cpp:307:26: warning: ‘/data.vda’ directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- 307 | sprintf(linkpath, "%s/data.vda", dir);
- | ^~~~~~~~~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:307:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int META_CHUNK::decode()’:
- vda_lib2.cpp:314:22: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
- 314 | sprintf(cmd, "mv %s/Coding/data_decoded.vda %s", dir, filepath);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int META_CHUNK::decode()’ at vda_lib2.cpp:314:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- vda_lib2.cpp: In member function ‘int CHUNK::start_upload_from_host(VDA_CHUNK_HOST&)’:
- vda_lib2.cpp:428:66: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 166 and 204 [-Wformat-overflow=]
- 428 | "vda_file_id=%lu and host_id=%lu and physical_file_name='%s'",
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int CHUNK::start_upload_from_host(VDA_CHUNK_HOST&)’ at vda_lib2.cpp:427:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- In file included from vda_lib2.cpp:38:
- vda_lib.h: In member function ‘int CHUNK::assign()’:
- vda_lib.h:231:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 240 and 250 [-Wformat-overflow=]
- 231 | sprintf(buf, "vda_%d_%s_%s", hostid, chunk_name, file_name);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void physical_file_name(int, char*, char*, char*)’ at vda_lib.h:231:12,
- inlined from ‘int CHUNK::assign()’ at vda_lib2.cpp:396:23:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXX stats.o
- stats.cpp: In member function ‘void STATS_ITEM::sample(double, bool, double)’:
- stats.cpp:56:29: warning: ‘: ’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 56 | sprintf(buf, "%s: %f Mbps -> %f Mbps\n", name, value/1e6, v/1e6);
- | ^~
- stats.cpp:56:26: note: assuming directive output of 8 bytes
- 56 | sprintf(buf, "%s: %f Mbps -> %f Mbps\n", name, value/1e6, v/1e6);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- stats.cpp:56:26: note: assuming directive output of 8 bytes
- In file included from /usr/include/stdio.h:980,
- from stats.cpp:19:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void STATS_ITEM::sample(double, bool, double)’ at stats.cpp:56:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- stats.cpp: In member function ‘void STATS_ITEM::sample(double, bool, double)’:
- stats.cpp:60:29: warning: ‘: ’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 60 | sprintf(buf, "%s: %.0f -> %.0f\n", name, value, v);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void STATS_ITEM::sample(double, bool, double)’ at stats.cpp:60:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- stats.cpp: In member function ‘void STATS_ITEM::sample(double, bool, double)’:
- stats.cpp:52:29: warning: ‘: ’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
- 52 | sprintf(buf, "%s: %f GB -> %f GB\n", name, value/1e9, v/1e9);
- | ^~
- stats.cpp:52:26: note: assuming directive output of 8 bytes
- 52 | sprintf(buf, "%s: %f GB -> %f GB\n", name, value/1e9, v/1e9);
- | ^~~~~~~~~~~~~~~~~~~~~~
- stats.cpp:52:26: note: assuming directive output of 8 bytes
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘void STATS_ITEM::sample(double, bool, double)’ at stats.cpp:52:20:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD vda
- CXX vdad.o
- vdad.cpp: In function ‘int handle_file(VDA_FILE_AUX&, DB_VDA_FILE&)’:
- vdad.cpp:104:61: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 235 and 1000 [-Wformat-overflow=]
- 104 | sprintf(buf, "truncate %s/%s --reference %s/%s",
- | ^~
- In file included from /usr/include/stdio.h:980,
- from /usr/include/c++/13/cstdio:42,
- from ../db/boinc_db.h:35,
- from vdad.cpp:32:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int handle_file(VDA_FILE_AUX&, DB_VDA_FILE&)’ at vdad.cpp:104:24:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD vdad
- CXX ssim.o
- ssim.cpp: In constructor ‘CHUNK::CHUNK(META_CHUNK*, double, int)’:
- ssim.cpp:430:23: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
- 430 | sprintf(name, "%s.%d", parent->name, index);
- | ^~
- In file included from /usr/include/stdio.h:980,
- from stats.h:25,
- from ssim.cpp:57:
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘CHUNK::CHUNK(META_CHUNK*, double, int)’ at ssim.cpp:430:12:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- ssim.cpp: In member function ‘int CHUNK::assign()’:
- ssim.cpp:455:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=]
- 455 | sprintf(c->physical_file_name, "chunk %s on host %d", name, h->id);
- | ^~
- In function ‘int sprintf(char*, const char*, ...)’,
- inlined from ‘int CHUNK::assign()’ at ssim.cpp:455:16:
- /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
- 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 32 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
- CXXLD ssim
- make[2]: Leaving directory '/home/boincadm/boinc/vda'
- Making all in html
- make[2]: Entering directory '/home/boincadm/boinc/html'
- make[2]: Nothing to be done for 'all'.
- make[2]: Leaving directory '/home/boincadm/boinc/html'
- Making all in doc
- make[2]: Entering directory '/home/boincadm/boinc/doc'
- make[3]: Entering directory '/home/boincadm/boinc/doc'
- make[3]: Nothing to be done for 'all-am'.
- make[3]: Leaving directory '/home/boincadm/boinc/doc'
- make[2]: Leaving directory '/home/boincadm/boinc/doc'
- make[2]: Entering directory '/home/boincadm/boinc'
- cd . && sh generate_svn_version.sh
- warning: tag 'server_release/1.3/1.3.0' is externally known as 'server_release/1.x/1.x.0'
- make[2]: Leaving directory '/home/boincadm/boinc'
- make[1]: Leaving directory '/home/boincadm/boinc'
- boincadm@BOINC:~/boinc$ cd ~/boinc/tools
- boincadm@BOINC:~/boinc/tools$ ./make_project --db_passwd foobar99 --url_base http://192.168.2.134 test
- Traceback (most recent call last):
- File "/home/boincadm/boinc/tools/./make_project", line 7, in <module>
- from Boinc.setup_project import *
- File "/home/boincadm/boinc/py/Boinc/setup_project.py", line 8, in <module>
- from Boinc import database, db_mid, configxml, tools
- File "/home/boincadm/boinc/py/Boinc/database.py", line 33, in <module>
- from Boinc.db_base import *
- File "/home/boincadm/boinc/py/Boinc/db_base.py", line 12, in <module>
- import MySQLdb, MySQLdb.cursors
- ModuleNotFoundError: No module named 'MySQLdb'
Add Comment
Please, Sign In to add comment