<86>Jan 26 07:14:24 userdel[26604]: delete user 'rooter' <86>Jan 26 07:14:24 userdel[26604]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 07:14:24 groupadd[26609]: group added to /etc/group: name=rooter, GID=582 <86>Jan 26 07:14:24 groupadd[26609]: group added to /etc/gshadow: name=rooter <86>Jan 26 07:14:24 groupadd[26609]: new group: name=rooter, GID=582 <86>Jan 26 07:14:24 useradd[26613]: new user: name=rooter, UID=582, GID=582, home=/root, shell=/bin/bash <86>Jan 26 07:14:24 userdel[26619]: delete user 'builder' <86>Jan 26 07:14:24 userdel[26619]: removed group 'builder' owned by 'builder' <86>Jan 26 07:14:24 userdel[26619]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 07:14:24 groupadd[26624]: group added to /etc/group: name=builder, GID=583 <86>Jan 26 07:14:24 groupadd[26624]: group added to /etc/gshadow: name=builder <86>Jan 26 07:14:24 groupadd[26624]: new group: name=builder, GID=583 <86>Jan 26 07:14:24 useradd[26628]: new user: name=builder, UID=583, GID=583, home=/usr/src, shell=/bin/bash <13>Jan 26 07:14:28 rpmi: libibverbs-1.1.8-alt1 1423045780 installed <13>Jan 26 07:14:28 rpmi: librdmacm-1.0.19.1-alt2 1423057440 installed <13>Jan 26 07:14:28 rpmi: libdapl-1.2.16-alt2 1297310493 installed <13>Jan 26 07:14:28 rpmi: libquadmath0-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:29 rpmi: libgfortran3-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:29 rpmi: libquadmath6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:29 rpmi: tcsh-6.18.01-alt2.qa1 1479380728 installed <13>Jan 26 07:14:29 rpmi: rpm-macros-mpi-selector-1.0.3-alt2 1289984589 installed <13>Jan 26 07:14:29 rpmi: mpi-selector-1.0.3-alt2 1289984589 installed <13>Jan 26 07:14:29 rpmi: torque-4.2.1-alt1 1362870992 installed <13>Jan 26 07:14:29 rpmi: libtorque-4.2.1-alt1 1362870992 installed <13>Jan 26 07:14:29 rpmi: libnuma-2.0.11-alt1 1450022594 installed <13>Jan 26 07:14:29 rpmi: libibumad-1.3.6-alt2 1297311906 installed <13>Jan 26 07:14:29 rpmi: libibcommon-1.2.0-alt2 1297310561 installed <13>Jan 26 07:14:29 rpmi: libibcommon-devel-1.2.0-alt2 1297310561 installed <13>Jan 26 07:14:29 rpmi: libibumad-devel-1.3.6-alt2 1297311906 installed <13>Jan 26 07:14:29 rpmi: libsysfs-2.1.0-alt8 1435686568 installed <13>Jan 26 07:14:29 rpmi: libsysfs-devel-2.1.0-alt8 1435686568 installed <13>Jan 26 07:14:29 rpmi: libibverbs-devel-1.1.8-alt1 1423045780 installed <13>Jan 26 07:14:29 rpmi: librdmacm-devel-1.0.19.1-alt2 1423057440 installed <13>Jan 26 07:14:29 rpmi: libdapl-devel-1.2.16-alt2 1297310493 installed <13>Jan 26 07:14:29 rpmi: gcc-fortran-common-1.4.20-alt1 1432315196 installed <13>Jan 26 07:14:29 rpmi: libgfortran6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:30 rpmi: gcc6-fortran-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:30 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 07:14:31 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:32 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 07:14:32 rpmi: openmpi-2.0.1-alt1 1482882291 installed <13>Jan 26 07:14:33 rpmi: openmpi-devel-2.0.1-alt1 1482882291 installed Installing dataspaces-1.6.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.15046 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dataspaces-1.6.0 + echo 'Source #0 (dataspaces-1.6.0.tar):' Source #0 (dataspaces-1.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/dataspaces-1.6.0.tar + cd dataspaces-1.6.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.15046 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dataspaces-1.6.0 + source /usr/lib/openmpi/bin/mpivars.sh ++ echo /usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games ++ grep -q /usr/lib/openmpi/bin ++ PATH=/usr/lib/openmpi/bin:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games ++ export PATH ++ echo ++ grep -q /usr/lib/openmpi/lib ++ LD_LIBRARY_PATH=/usr/lib/openmpi/lib ++ export LD_LIBRARY_PATH ++ echo ++ grep -q /usr/lib/openmpi/man ++ MANPATH=/usr/lib/openmpi/man: ++ export MANPATH + export 'OMPI_LDFLAGS=-Wl,--as-needed,-rpath=/usr/lib/openmpi/lib -L/usr/lib/openmpi/lib' + OMPI_LDFLAGS='-Wl,--as-needed,-rpath=/usr/lib/openmpi/lib -L/usr/lib/openmpi/lib' + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level autoreconf-default: configure.ac: tracing configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level autoreconf-default: running: /usr/bin/autoheader-2.60 --force configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level configure.ac:26: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... config/ac_portals.m4:22: AC_PORTALS is expanded from... configure.ac:26: the top level configure.ac:13: installing 'config/ar-lib' configure.ac:6: installing 'config/compile' configure.ac:26: installing 'config/config.guess' configure.ac:26: installing 'config/config.sub' configure.ac:4: installing 'config/install-sh' configure.ac:4: installing 'config/missing' dart/Makefile.am: installing 'config/depcomp' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --enable-dimes CC=mpicc FC=mpif90 configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i586-alt-linux-gcc... mpicc 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 we are using the GNU C compiler... yes checking whether mpicc accepts -g... yes checking for mpicc option to accept ISO C89... none needed checking whether mpicc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of mpicc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gfortran... mpif90 checking whether we are using the GNU Fortran compiler... yes checking whether mpif90 accepts -g... yes checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-ar... no checking for i586-alt-linux-lib... no checking for i586-alt-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu 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 cc_r... mpicc checking how to run the C preprocessor... mpicc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking portals3.h usability... no checking portals3.h presence... no checking for portals3.h... no checking portals/portals3.h usability... no checking portals/portals3.h presence... no checking for portals/portals3.h... no checking for p3nal_utcp.h... no checking for p3rt/p3rt.h... no checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking for library containing ibv_alloc_pd... -libverbs configure: === checking for IBM DCMF === checking dcmf.h usability... no checking dcmf.h presence... no checking for dcmf.h... no checking pmi.h usability... no checking pmi.h presence... no checking for pmi.h... no checking gni_pub.h usability... no checking gni_pub.h presence... no checking for gni_pub.h... no configure: === checking for IBM PAMI === checking pami.h usability... no checking pami.h presence... no checking for pami.h... no configure: === checking for TCP socket === checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes DIMES enabled! checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dart/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tests/C/Makefile config.status: creating tests/Fortran/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext Network transport layer No Cray UGNI. No Cray Portals. Infiniband available. - INFINIBAND_CFLAGS = - INFINIBAND_CPPFLAGS = - INFINIBAND_LDFLAGS = - INFINIBAND_LIBS = -libverbs No IBM DCMF. No IBM PAMI. No TCP socket DART. + '[' -n '' ']' + NPROCS=1 + make -j1 make: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' Making all in dart make[2]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/dart' mpicc -DHAVE_CONFIG_H -I. -I.. -I./ -I../ -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o ib/dart_rpc_ib.o ib/dart_rpc_ib.c In file included from ib/dart_rpc_ib.h:30:0, from ib/ds_base_ib.h:4, from ib/dart_rpc_ib.c:27: ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ib/dart_rpc_ib.c: In function 'sys_process_event': ib/dart_rpc_ib.c:228:17: warning: variable 'seq' set but not used [-Wunused-but-set-variable] int ret, i, j, seq, err = 0; ^~~ ib/dart_rpc_ib.c: In function '__process_event': ib/dart_rpc_ib.c:1965:11: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err = 0; ^~~ ib/dart_rpc_ib.c:1780:12: warning: variable 'seq' set but not used [-Wunused-but-set-variable] int i, j, seq, ret, err = 0; ^~~ At top level: ib/dart_rpc_ib.c:347:12: warning: 'sys_cleanup' defined but not used [-Wunused-function] static int sys_cleanup(struct rpc_server *rpc_s) ^~~~~~~~~~~ In file included from ib/ds_base_ib.h:4:0, from ib/dart_rpc_ib.c:27: ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ib/dart_rpc_ib.h:27:0, from ib/ds_base_ib.h:4, from ib/dart_rpc_ib.c:27: ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ ib/dart_rpc_ib.c: In function 'rpc_cb_decode': ib/dart_rpc_ib.c:527:4: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if(err < 0) ^ ib/dart_rpc_ib.c: In function 'rpc_receive_direct': ib/dart_rpc_ib.c:2237:9: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] return err; ^~~ ib/dart_rpc_ib.c: In function 'rpc_cb_req_completion': ib/dart_rpc_ib.c:637:9: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] return err; ^~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I./ -I../ -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o ib/ds_base_ib.o ib/ds_base_ib.c In file included from ib/dart_rpc_ib.h:30:0, from ib/ds_base_ib.h:4, from ib/ds_base_ib.c:26: ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ib/ds_base_ib.c: In function 'ds_disseminate_all': ib/ds_base_ib.c:476:5: warning: implicit declaration of function 'pthread_yield' [-Wimplicit-function-declaration] pthread_yield(); ^~~~~~~~~~~~~ ib/ds_base_ib.c: In function 'ds_listen': ib/ds_base_ib.c:771:14: warning: variable 'check' set but not used [-Wunused-but-set-variable] int j, err, check, connected, connect_count = 0; ^~~~~ ib/ds_base_ib.c:771:6: warning: unused variable 'j' [-Wunused-variable] int j, err, check, connected, connect_count = 0; ^ ib/ds_base_ib.c: In function 'ds_boot_slave': ib/ds_base_ib.c:855:32: warning: unused variable 'connect_count' [-Wunused-variable] int i, err, check, connected, connect_count = 0; ^~~~~~~~~~~~~ ib/ds_base_ib.c:855:21: warning: variable 'connected' set but not used [-Wunused-but-set-variable] int i, err, check, connected, connect_count = 0; ^~~~~~~~~ ib/ds_base_ib.c:855:14: warning: variable 'check' set but not used [-Wunused-but-set-variable] int i, err, check, connected, connect_count = 0; ^~~~~ ib/ds_base_ib.c:854:24: warning: unused variable 'event' [-Wunused-variable] struct rdma_cm_event *event = NULL; ^~~~~ ib/ds_base_ib.c:853:21: warning: unused variable 'con' [-Wunused-variable] struct connection *con; ^~~ ib/ds_base_ib.c:852:19: warning: unused variable 'conpara' [-Wunused-variable] struct con_param conpara; ^~~~~~~ ib/ds_base_ib.c:851:25: warning: unused variable 'cm_params' [-Wunused-variable] struct rdma_conn_param cm_params; ^~~~~~~~~ In file included from ib/ds_base_ib.h:4:0, from ib/ds_base_ib.c:26: At top level: ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ib/dart_rpc_ib.h:27:0, from ib/ds_base_ib.h:4, from ib/ds_base_ib.c:26: ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ ib/ds_base_ib.c: In function 'ds_boot_master': ib/ds_base_ib.c:696:18: warning: 'hdr.id_min' may be used uninitialized in this function [-Wmaybe-uninitialized] conpara.type = hdr.id_min; ~~~~~~~~~~~~~^~~~~~~~~~~~ ib/ds_base_ib.c:724:4: warning: 'peer' may be used uninitialized in this function [-Wmaybe-uninitialized] rpc_print_connection_err(ds->rpc_s, peer, event_copy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I./ -I../ -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o ib/dc_base_ib.o ib/dc_base_ib.c In file included from ib/dart_rpc_ib.h:30:0, from ib/dc_base_ib.h:4, from ib/dc_base_ib.c:26: ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ib/dc_base_ib.c: In function 'dc_listen': ib/dc_base_ib.c:304:14: warning: variable 'check' set but not used [-Wunused-but-set-variable] int j, err, check, connected, connect_count = 0; ^~~~~ ib/dc_base_ib.c:304:6: warning: unused variable 'j' [-Wunused-variable] int j, err, check, connected, connect_count = 0; ^ ib/dc_base_ib.c: In function 'dc_boot': ib/dc_base_ib.c:398:6: warning: unused variable 'rank' [-Wunused-variable] int rank; ^~~~ ib/dc_base_ib.c:385:6: warning: unused variable 'connect_count' [-Wunused-variable] int connect_count = 0; ^~~~~~~~~~~~~ ib/dc_base_ib.c:384:21: warning: unused variable 'connected' [-Wunused-variable] int i, err, check, connected = 0; ^~~~~~~~~ ib/dc_base_ib.c:384:14: warning: variable 'check' set but not used [-Wunused-but-set-variable] int i, err, check, connected = 0; ^~~~~ ib/dc_base_ib.c:383:24: warning: unused variable 'event' [-Wunused-variable] struct rdma_cm_event *event = NULL; ^~~~~ ib/dc_base_ib.c:382:21: warning: unused variable 'con' [-Wunused-variable] struct connection *con; ^~~ ib/dc_base_ib.c:381:19: warning: unused variable 'conpara' [-Wunused-variable] struct con_param conpara; ^~~~~~~ ib/dc_base_ib.c:380:25: warning: unused variable 'cm_params' [-Wunused-variable] struct rdma_conn_param cm_params; ^~~~~~~~~ ib/dc_base_ib.c: In function 'dc_alloc': ib/dc_base_ib.c:591:12: warning: unused variable 'dup_comm' [-Wunused-variable] MPI_Comm dup_comm; ^~~~~~~~ ib/dc_base_ib.c: In function 'dc_barrier': ib/dc_base_ib.c:566:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from ib/dc_base_ib.h:4:0, from ib/dc_base_ib.c:26: At top level: ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ib/dart_rpc_ib.h:27:0, from ib/dc_base_ib.h:4, from ib/dc_base_ib.c:26: ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I./ -I../ -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o ib/dart_rdma_ib.o ib/dart_rdma_ib.c ib/dart_rdma_ib.c: In function 'dart_rdma_get': ib/dart_rdma_ib.c:36:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion] read_op->wr.wr.rdma.remote_addr = read_tran->src.mr.addr + read_op->src_offset; ^ ib/dart_rdma_ib.c:39:20: warning: assignment makes integer from pointer without a cast [-Wint-conversion] read_op->sge.addr = read_tran->dst.mr.addr + read_op->dst_offset; ^ ib/dart_rdma_ib.c: In function 'dart_rdma_process_ibv_cq': ib/dart_rdma_ib.c:58:16: warning: unused variable 'pollfd_array' [-Wunused-variable] struct pollfd pollfd_array[1]; ^~~~~~~~~~~~ ib/dart_rdma_ib.c:56:21: warning: unused variable 'rpc_s' [-Wunused-variable] struct rpc_server *rpc_s = drh->rpc_s; ^~~~~ ib/dart_rdma_ib.c: In function 'dart_perform_local_copy': ib/dart_rdma_ib.c:130:16: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] memcpy(tran->dst.base_addr + op->dst_offset, ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ib/dart_rpc_ib.h:14, from ib/dart_rdma_ib.h:12, from ib/dart_rdma_ib.c:1: /usr/include/bits/string3.h:52:1: note: expected 'void * restrict' but argument is of type 'uint64_t {aka long long unsigned int}' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ ib/dart_rdma_ib.c:131:16: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] tran->src.base_addr + op->src_offset, ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ib/dart_rpc_ib.h:14, from ib/dart_rdma_ib.h:12, from ib/dart_rdma_ib.c:1: /usr/include/bits/string3.h:52:1: note: expected 'const void * restrict' but argument is of type 'uint64_t {aka long long unsigned int}' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ ib/dart_rdma_ib.c: In function 'dart_rdma_init': ib/dart_rdma_ib.c:158:7: warning: label 'err_out' defined but not used [-Wunused-label] err_out: ^~~~~~~ ib/dart_rdma_ib.c: In function 'dart_rdma_register_mem': ib/dart_rdma_ib.c:186:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] mem_hndl->base_addr = (uint64_t) data; ^ ib/dart_rdma_ib.c: In function 'dart_rdma_schedule_read': ib/dart_rdma_ib.c:266:6: warning: unused variable 'err' [-Wunused-variable] int err = -ENOMEM; ^~~ In file included from ib/dart_rdma_ib.h:12:0, from ib/dart_rdma_ib.c:1: At top level: ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ib/dart_rpc_ib.h:27:0, from ib/dart_rdma_ib.h:12, from ib/dart_rdma_ib.c:1: ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ rm -f libdart.a ar cru libdart.a ib/dart_rpc_ib.o ib/ds_base_ib.o ib/dc_base_ib.o ib/dart_rdma_ib.o ranlib libdart.a make[2]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/dart' Making all in src make[2]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/src' mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o bbox.o bbox.c bbox.c: In function 'coord_sprint': bbox.c:543:9: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&str, "{%d", c->c[0]); ^~~~~~~~ In file included from bbox.c:39:0: At top level: ../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o ss_data.o ss_data.c ss_data.c: In function 'ssd_alloc_v2': ss_data.c:761:35: warning: passing argument 2 of 'dht_alloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ssd->dht = dht_alloc(ssd, bb_domain, num_nodes, max_versions); ^~~~~~~~~ ss_data.c:466:1: note: expected 'struct bbox *' but argument is of type 'const struct bbox *' dht_alloc(struct sspace *ssd, struct bbox *bb_domain, int num_nodes, int size_hash) ^~~~~~~~~ At top level: ss_data.c:540:12: warning: 'ssd_get_bpd' defined but not used [-Wunused-function] static int ssd_get_bpd(struct sspace *ss) ^~~~~~~~~~~ ss_data.c:535:14: warning: 'ssd_get_max_dim' defined but not used [-Wunused-function] static __u64 ssd_get_max_dim(struct sspace *ss) ^~~~~~~~~~~~~~~ ss_data.c:450:13: warning: 'dht_entry_free' defined but not used [-Wunused-function] static void dht_entry_free(struct dht_entry *de) ^~~~~~~~~~~~~~ ss_data.c: In function 'matrix_copy': ss_data.c:244:38: warning: array subscript is above array bounds [-Warray-bounds] dim10: for(a9 = a->mat_view.lb[9], b9 = b->mat_view.lb[9]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:246:33: warning: array subscript is above array bounds [-Warray-bounds] aloc9 = a9 * a->dist[8]; ~~~~~~~^~~ ss_data.c:247:33: warning: array subscript is above array bounds [-Warray-bounds] bloc9 = a9 * b->dist[8]; ~~~~~~~^~~ ss_data.c:248:37: warning: array subscript is above array bounds [-Warray-bounds] dim9: for(a8 = a->mat_view.lb[8], b8 = b->mat_view.lb[8]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:248:61: warning: array subscript is above array bounds [-Warray-bounds] dim9: for(a8 = a->mat_view.lb[8], b8 = b->mat_view.lb[8]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:250:43: warning: array subscript is above array bounds [-Warray-bounds] aloc8 = (aloc9 + a8) * a->dist[7]; ~~~~~~~^~~ ss_data.c:251:43: warning: array subscript is above array bounds [-Warray-bounds] bloc8 = (bloc9 + b8) * b->dist[7]; ~~~~~~~^~~ ss_data.c:252:37: warning: array subscript is above array bounds [-Warray-bounds] dim8: for(a7 = a->mat_view.lb[7], b7 = b->mat_view.lb[7]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:252:61: warning: array subscript is above array bounds [-Warray-bounds] dim8: for(a7 = a->mat_view.lb[7], b7 = b->mat_view.lb[7]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:254:43: warning: array subscript is above array bounds [-Warray-bounds] aloc7 = (aloc8 + a7) * a->dist[6]; ~~~~~~~^~~ ss_data.c:255:43: warning: array subscript is above array bounds [-Warray-bounds] bloc7 = (bloc8 + b7) * b->dist[6]; ~~~~~~~^~~ ss_data.c:256:37: warning: array subscript is above array bounds [-Warray-bounds] dim7: for(a6 = a->mat_view.lb[6], b6 = b->mat_view.lb[6]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:256:61: warning: array subscript is above array bounds [-Warray-bounds] dim7: for(a6 = a->mat_view.lb[6], b6 = b->mat_view.lb[6]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:258:43: warning: array subscript is above array bounds [-Warray-bounds] aloc6 = (aloc7 + a6) * a->dist[5]; ~~~~~~~^~~ ss_data.c:259:43: warning: array subscript is above array bounds [-Warray-bounds] bloc6 = (bloc7 + b6) * b->dist[5]; ~~~~~~~^~~ ss_data.c:260:37: warning: array subscript is above array bounds [-Warray-bounds] dim6: for(a5 = a->mat_view.lb[5], b5 = b->mat_view.lb[5]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:260:61: warning: array subscript is above array bounds [-Warray-bounds] dim6: for(a5 = a->mat_view.lb[5], b5 = b->mat_view.lb[5]; //TODO-Q ~~~~~~~~~~~~~~^~~ ss_data.c:262:43: warning: array subscript is above array bounds [-Warray-bounds] aloc5 = (aloc6 + a5) * a->dist[4]; ~~~~~~~^~~ ss_data.c:263:43: warning: array subscript is above array bounds [-Warray-bounds] bloc5 = (bloc6 + b5) * b->dist[4]; ~~~~~~~^~~ ss_data.c:264:37: warning: array subscript is above array bounds [-Warray-bounds] dim5: for(a4 = a->mat_view.lb[4], b4 = b->mat_view.lb[4]; ~~~~~~~~~~~~~~^~~ ss_data.c:264:61: warning: array subscript is above array bounds [-Warray-bounds] dim5: for(a4 = a->mat_view.lb[4], b4 = b->mat_view.lb[4]; ~~~~~~~~~~~~~~^~~ ss_data.c:266:43: warning: array subscript is above array bounds [-Warray-bounds] aloc4 = (aloc5 + a4) * a->dist[3]; ~~~~~~~^~~ ss_data.c:267:43: warning: array subscript is above array bounds [-Warray-bounds] bloc4 = (bloc5 + b4) * b->dist[3]; ~~~~~~~^~~ ss_data.c:268:37: warning: array subscript is above array bounds [-Warray-bounds] dim4: for(a3 = a->mat_view.lb[3], b3 = b->mat_view.lb[3]; ~~~~~~~~~~~~~~^~~ ss_data.c:268:61: warning: array subscript is above array bounds [-Warray-bounds] dim4: for(a3 = a->mat_view.lb[3], b3 = b->mat_view.lb[3]; ~~~~~~~~~~~~~~^~~ ss_data.c:269:33: warning: array subscript is above array bounds [-Warray-bounds] a3 <= a->mat_view.ub[3]; a3++, b3++){ ~~~~~~~~~~~~~~^~~ ss_data.c:265:33: warning: array subscript is above array bounds [-Warray-bounds] a4 <= a->mat_view.ub[4]; a4++, b4++){ ~~~~~~~~~~~~~~^~~ ss_data.c:261:33: warning: array subscript is above array bounds [-Warray-bounds] a5 <= a->mat_view.ub[5]; a5++, b5++){ ~~~~~~~~~~~~~~^~~ ss_data.c:257:33: warning: array subscript is above array bounds [-Warray-bounds] a6 <= a->mat_view.ub[6]; a6++, b6++){ ~~~~~~~~~~~~~~^~~ ss_data.c:253:33: warning: array subscript is above array bounds [-Warray-bounds] a7 <= a->mat_view.ub[7]; a7++, b7++){ ~~~~~~~~~~~~~~^~~ ss_data.c:249:33: warning: array subscript is above array bounds [-Warray-bounds] a8 <= a->mat_view.ub[8]; a8++, b8++){ ~~~~~~~~~~~~~~^~~ ss_data.c:245:33: warning: array subscript is above array bounds [-Warray-bounds] a9 <= a->mat_view.ub[9]; a9++, b9++){ ~~~~~~~~~~~~~~^~~ ss_data.c:249:46: warning: 'b8' may be used uninitialized in this function [-Wmaybe-uninitialized] a8 <= a->mat_view.ub[8]; a8++, b8++){ ~~^~ ss_data.c:253:46: warning: 'b7' may be used uninitialized in this function [-Wmaybe-uninitialized] a7 <= a->mat_view.ub[7]; a7++, b7++){ ~~^~ ss_data.c:257:46: warning: 'b6' may be used uninitialized in this function [-Wmaybe-uninitialized] a6 <= a->mat_view.ub[6]; a6++, b6++){ ~~^~ ss_data.c:261:46: warning: 'b5' may be used uninitialized in this function [-Wmaybe-uninitialized] a5 <= a->mat_view.ub[5]; a5++, b5++){ ~~^~ ss_data.c:265:46: warning: 'b4' may be used uninitialized in this function [-Wmaybe-uninitialized] a4 <= a->mat_view.ub[4]; a4++, b4++){ ~~^~ ss_data.c:269:46: warning: 'b3' may be used uninitialized in this function [-Wmaybe-uninitialized] a3 <= a->mat_view.ub[3]; a3++, b3++){ ~~^~ ss_data.c:273:50: warning: 'b2' may be used uninitialized in this function [-Wmaybe-uninitialized] a2 <= a->mat_view.ub[2]; a2++, b2++){ ~~^~ ss_data.c:277:54: warning: 'b1' may be used uninitialized in this function [-Wmaybe-uninitialized] a1 <= a->mat_view.ub[1]; a1++, b1++){ ~~^~ ss_data.c:245:40: warning: 'a9' may be used uninitialized in this function [-Wmaybe-uninitialized] a9 <= a->mat_view.ub[9]; a9++, b9++){ ~~^~ ss_data.c:249:40: warning: 'a8' may be used uninitialized in this function [-Wmaybe-uninitialized] a8 <= a->mat_view.ub[8]; a8++, b8++){ ~~^~ ss_data.c:253:40: warning: 'a7' may be used uninitialized in this function [-Wmaybe-uninitialized] a7 <= a->mat_view.ub[7]; a7++, b7++){ ~~^~ ss_data.c:257:40: warning: 'a6' may be used uninitialized in this function [-Wmaybe-uninitialized] a6 <= a->mat_view.ub[6]; a6++, b6++){ ~~^~ ss_data.c:261:40: warning: 'a5' may be used uninitialized in this function [-Wmaybe-uninitialized] a5 <= a->mat_view.ub[5]; a5++, b5++){ ~~^~ ss_data.c:265:40: warning: 'a4' may be used uninitialized in this function [-Wmaybe-uninitialized] a4 <= a->mat_view.ub[4]; a4++, b4++){ ~~^~ ss_data.c:269:40: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized] a3 <= a->mat_view.ub[3]; a3++, b3++){ ~~^~ ss_data.c:273:44: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized] a2 <= a->mat_view.ub[2]; a2++, b2++){ ~~^~ ss_data.c:277:48: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] a1 <= a->mat_view.ub[1]; a1++, b1++){ ~~^~ In file included from ss_data.c:40:0: ss_data.c: In function 'ssd_alloc_v2': ../include/queue.h:81:17: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] q->head = qn->next; ~~~~~~~~^~~~~~~~~~ ss_data.c:748:23: note: 'q' was declared here struct queue *q; ^ ss_data.c:744:17: warning: 'dst_q' may be used uninitialized in this function [-Wmaybe-uninitialized] queue_enqueue(dst_q, b2); ^~~~~~~~~~~~~~~~~~~~~~~~ ss_data.c:721:27: warning: 'src_q' may be used uninitialized in this function [-Wmaybe-uninitialized] struct queue *src_q, *dst_q; ^~~~~ ss_data.c:737:17: warning: 'dim' may be used uninitialized in this function [-Wmaybe-uninitialized] bbox_divide_in2_ondim(bb, b_tab, dim); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o timer.o timer.c mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o util.o util.c rm -f libdscommon.a ar cru libdscommon.a bbox.o ss_data.o timer.o util.o ranlib libdscommon.a mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dataspaces.o dataspaces.c mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o common_dataspaces.o common_dataspaces.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ../include/dc_gspace.h:38, from common_dataspaces.c:48: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ common_dataspaces.c: In function 'common_dspaces_remove': common_dataspaces.c:335:30: warning: 'return' with no value, in function returning non-void if (!is_dspaces_lib_init()) return; ^~~~~~ common_dataspaces.c:332:5: note: declared here int common_dspaces_remove (const char *var_name, unsigned int ver) ^~~~~~~~~~~~~~~~~~~~~ At top level: common_dataspaces.c:60:12: warning: 'cq_id' defined but not used [-Wunused-variable] static int cq_id = -1; // TODO: still support it? ^~~~~ common_dataspaces.c:58:21: warning: 'timer' defined but not used [-Wunused-variable] static struct timer timer; ^~~~~ In file included from ../dart/dart.h:21:0, from ../include/dc_gspace.h:38, from common_dataspaces.c:48: ../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ss_data.h:37:0, from ../include/dc_gspace.h:37, from common_dataspaces.c:48: ../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o ds_gspace.o ds_gspace.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ds_gspace.c:41: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ds_gspace.c:130:33: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {"dims", &ds_conf.dims}, ^ ds_gspace.c:130:33: note: (near initialization for 'options[1].pval') ds_gspace.c: In function 'dsgrpc_remove_service': ds_gspace.c:965:16: warning: 'return' with no value, in function returning non-void if (!dsg->ls) return; ^~~~~~ ds_gspace.c:956:12: note: declared here static int dsgrpc_remove_service(struct rpc_server *rpc, struct rpc_cmd *cmd) ^~~~~~~~~~~~~~~~~~~~~ ds_gspace.c:984:2: warning: label 'err_out' defined but not used [-Wunused-label] err_out: ^~~~~~~ ds_gspace.c:959:26: warning: unused variable 'dl' [-Wunused-variable] struct dsg_lock *dl; ^~ ds_gspace.c: In function 'obj_desc_sprint': ds_gspace.c:1106:14: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] nb = asprintf(&str, "obj_descriptor = {\n" ^~~~~~~~ ds_gspace.c:1104:6: warning: variable 'nb' set but not used [-Wunused-but-set-variable] int nb; ^~ ds_gspace.c: In function 'dsghlp_obj_put': ds_gspace.c:2160:26: warning: unused variable 'tm_end' [-Wunused-variable] double tm_start, tm_end; ^~~~~~ ds_gspace.c:2160:16: warning: unused variable 'tm_start' [-Wunused-variable] double tm_start, tm_end; ^~~~~~~~ At top level: ds_gspace.c:1613:12: warning: 'obj_desc_req_add_pending' defined but not used [-Wunused-function] static int obj_desc_req_add_pending(struct rpc_cmd *cmd) ^~~~~~~~~~~~~~~~~~~~~~~~ ds_gspace.c:1581:12: warning: 'dsgrpc_obj_info' defined but not used [-Wunused-function] static int dsgrpc_obj_info(struct rpc_server *rpc_s, struct rpc_cmd *cmd) ^~~~~~~~~~~~~~~ ds_gspace.c:1533:12: warning: 'dsgrpc_obj_query' defined but not used [-Wunused-function] static int dsgrpc_obj_query(struct rpc_server *rpc_s, struct rpc_cmd *cmd) ^~~~~~~~~~~~~~~~ ds_gspace.c:1029:12: warning: 'cq_find_all_in_list' defined but not used [-Wunused-function] static int cq_find_all_in_list(struct hdr_obj_get *oh, struct cont_query *cq_tab[]) ^~~~~~~~~~~~~~~~~~~ ds_gspace.c:1017:27: warning: 'cq_find_in_list' defined but not used [-Wunused-function] static struct cont_query *cq_find_in_list(struct hdr_obj_get *oh) ^~~~~~~~~~~~~~~ ds_gspace.c:1011:13: warning: 'cq_rem_from_list' defined but not used [-Wunused-function] static void cq_rem_from_list(struct cont_query *cq) ^~~~~~~~~~~~~~~~ In file included from ../dart/dart.h:21:0, from ds_gspace.c:41: ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dart/ib/dart_rpc_ib.h:27:0, from ../dart/dart.h:21, from ds_gspace.c:41: ../dart/ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dc_gspace.o dc_gspace.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from dc_gspace.c:40: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ dc_gspace.c: In function 'dcg_barrier': dc_gspace.c:1563:16: warning: implicit declaration of function 'dc_barrier' [-Wimplicit-function-declaration] return dc_barrier(dcg->dc); ^~~~~~~~~~ dc_gspace.c: In function 'dcg_obj_put': dc_gspace.c:1617:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] hdr = msg->msg_rpc->pad; ^ dc_gspace.c: In function 'dcg_collect_timing': dc_gspace.c:2343:6: warning: unused variable 'i' [-Wunused-variable] int i, err; ^ At top level: dc_gspace.c:467:13: warning: 'qc_del_entry' defined but not used [-Wunused-function] static void qc_del_entry(struct query_cache *qc, struct query_cache_entry *qce) ^~~~~~~~~~~~ dc_gspace.c:461:13: warning: 'qc_add_entry' defined but not used [-Wunused-function] static void qc_add_entry(struct query_cache *qc, struct query_cache_entry *qce) ^~~~~~~~~~~~ dc_gspace.c:441:29: warning: 'qc_alloc' defined but not used [-Wunused-function] static struct query_cache * qc_alloc(void) // __attribute__((unused)) ^~~~~~~~ dc_gspace.c:429:13: warning: 'qce_set_obj_desc' defined but not used [-Wunused-function] static void qce_set_obj_desc(struct query_cache_entry *qce, ^~~~~~~~~~~~~~~~ dc_gspace.c:424:13: warning: 'qce_free' defined but not used [-Wunused-function] static void qce_free(struct query_cache_entry *qce) ^~~~~~~~ dc_gspace.c:410:34: warning: 'qce_alloc' defined but not used [-Wunused-function] static struct query_cache_entry *qce_alloc(int num_obj_desc) ^~~~~~~~~ dc_gspace.c:211:13: warning: 'qte_free' defined but not used [-Wunused-function] static void qte_free(struct query_tran_entry *qte) ^~~~~~~~ In file included from ../dart/dart.h:21:0, from dc_gspace.c:40: ../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dart/ib/dart_rpc_ib.h:27:0, from ../dart/dart.h:21, from dc_gspace.c:40: ../dart/ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ dc_gspace.c: In function 'dcg_obj_filter': dc_gspace.c:1878:20: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if (err < 0) { ^ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dimes_data.o dimes_data.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ../include/dimes_data.h:40, from dimes_data.c:44: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ dimes_data.c: In function 'print_free_blocks_list': dimes_data.c:632:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=] printf("free block: ptr=%p, size=%zu, status=%u\n", ^ dimes_data.c: In function 'print_used_blocks_list': dimes_data.c:643:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=] printf("used block: ptr=%p, size=%zu, status=%u\n", ^ In file included from ../dart/dart.h:21:0, from ../include/dimes_data.h:40, from dimes_data.c:44: At top level: ../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ss_data.h:37:0, from dimes_data.c:40: ../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ dimes_data.c: In function 'dimes_buffer_alloc': dimes_data.c:577:37: warning: 'new_used_mb' may be used uninitialized in this function [-Wmaybe-uninitialized] *ptr = (uint64_t)new_used_mb->block_ptr; ~~~~~~~~~~~^~~~~~~~~~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dimes_server.o dimes_server.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from dimes_server.c:38: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ dimes_server.c: In function 'locate_data': dimes_server.c:76:27: warning: unused variable 'hdr2' [-Wunused-variable] struct hdr_dimes_get *hdr2 = hdr; ^~~~ dimes_server.c: In function 'dsgrpc_dimes_put': dimes_server.c:152:25: warning: unused variable 'odsc' [-Wunused-variable] struct obj_descriptor *odsc = &hdr->odsc; ^~~~ In file included from ../dart/dart.h:21:0, from dimes_server.c:38: At top level: ../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dart/ib/dart_rpc_ib.h:27:0, from ../dart/dart.h:21, from dimes_server.c:38: ../dart/ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ dimes_server.c: In function 'dsgrpc_dimes_locate_data': dimes_server.c:137:2: warning: 'tab' may be used uninitialized in this function [-Wmaybe-uninitialized] free(tab); ^~~~~~~~~ dimes_server.c:65:18: note: 'tab' was declared here struct rpc_cmd *tab; ^~~ mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dimes_client.o dimes_client.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ../include/dimes_client.h:41, from dimes_client.c:42: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ dimes_client.c: In function 'lookup_sspace_dimes': dimes_client.c:141:12: warning: unused variable 'err' [-Wunused-variable] int i, err; ^~~ dimes_client.c: In function 'storage_free_group': dimes_client.c:280:12: warning: unused variable 'err' [-Wunused-variable] int i, err; ^~~ dimes_client.c: In function 'dimes_memory_finalize': dimes_client.c:386:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] free((void*)options.pre_allocated_rdma_handle.base_addr); ^ dimes_client.c: In function 'dimes_memory_alloc': dimes_client.c:413:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buf = (uint64_t)malloc(size); ^ dimes_client.c:434:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buf = (uint64_t)malloc(size); ^ dimes_client.c:437:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] err = dart_rdma_register_mem(rdma_hndl, (void*)buf, size); ^ dimes_client.c: In function 'dimes_memory_free': dimes_client.c:470:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] free((void*)rdma_hndl->base_addr); ^ dimes_client.c:483:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] free((void*)rdma_hndl->base_addr); ^ dimes_client.c: In function 'qt_find_obj_d': dimes_client.c:594:19: warning: unused variable 'od' [-Wunused-variable] struct obj_data *od; ^~ dimes_client.c:593:27: warning: unused variable 'od_w' [-Wunused-variable] struct obj_data_wrapper *od_w; ^~~~ dimes_client.c: In function 'qt_add_obj_with_cmd_d': dimes_client.c:642:62: warning: passing argument 2 of 'dart_rdma_get_memregion_from_cmd' from incompatible pointer type [-Wincompatible-pointer-types] dart_rdma_get_memregion_from_cmd(&fetch->read_tran->src, cmd); ^~~ In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ../include/dimes_client.h:41, from dimes_client.c:42: ../dart/ib/dart_rdma_ib.h:61:5: note: expected 'struct rpc_cmd *' but argument is of type 'struct rpc_cmd *' int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dimes_client.c: In function 'obj_assemble': dimes_client.c:671:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)fetch->read_tran->dst.base_addr); ^ dimes_client.c: In function 'dimes_obj_put': dimes_client.c:870:57: warning: passing argument 2 of 'dart_rdma_set_memregion_to_cmd' from incompatible pointer type [-Wincompatible-pointer-types] dart_rdma_set_memregion_to_cmd(&mem_obj->rdma_handle, msg->msg_rpc); ^~~ In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ../include/dimes_client.h:41, from dimes_client.c:42: ../dart/ib/dart_rdma_ib.h:60:5: note: expected 'struct rpc_cmd *' but argument is of type 'struct rpc_cmd *' int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/dimes_client.h:40:0, from dimes_client.c:42: dimes_client.c: In function 'dimes_fetch_data': dimes_client.c:1338:19: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type '__u64 {aka long long unsigned int}' [-Wformat=] uloga("%s(): ERROR no sufficient RDMA memory for fetching " ^ ../dart/debug.h:45:41: note: in definition of macro 'uloga' #define uloga(f, a...) fprintf(stderr, f, ##a) ^ dimes_client.c: In function 'dimes_client_alloc': dimes_client.c:1569:9: warning: format '%s' expects a matching 'char *' argument [-Wformat=] uloga("%s(): dimes already initialized."); ^ ../dart/debug.h:45:41: note: in definition of macro 'uloga' #define uloga(f, a...) fprintf(stderr, f, ##a) ^ dimes_client.c: In function 'dimes_client_put': dimes_client.c:1716:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void*)mem_obj->rdma_handle.base_addr, data, data_size); ^ At top level: dimes_client.c:649:14: warning: 'fstrncpy' defined but not used [-Wunused-function] static char *fstrncpy(char *cstr, const char *fstr, size_t len, size_t maxlen) ^~~~~~~~ In file included from ../dart/dart.h:21:0, from ../include/dimes_client.h:41, from dimes_client.c:42: ../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dart/ib/dart_rpc_ib.h:27:0, from ../dart/dart.h:21, from ../include/dimes_client.h:41, from dimes_client.c:42: ../dart/ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ dimes_client.c: In function 'schedule_rdma_reads': dimes_client.c:1028:34: warning: array subscript is above array bounds [-Warray-bounds] dim10: for(a9 = a->mat_view.lb[9], b9 = b->mat_view.lb[9]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1030:29: warning: array subscript is above array bounds [-Warray-bounds] aloc9 = a9 * a->dist[8]; ~~~~~~~^~~ dimes_client.c:1031:29: warning: array subscript is above array bounds [-Warray-bounds] bloc9 = a9 * b->dist[8]; ~~~~~~~^~~ dimes_client.c:1032:33: warning: array subscript is above array bounds [-Warray-bounds] dim9: for(a8 = a->mat_view.lb[8], b8 = b->mat_view.lb[8]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1032:57: warning: array subscript is above array bounds [-Warray-bounds] dim9: for(a8 = a->mat_view.lb[8], b8 = b->mat_view.lb[8]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1034:39: warning: array subscript is above array bounds [-Warray-bounds] aloc8 = (aloc9 + a8) * a->dist[7]; ~~~~~~~^~~ dimes_client.c:1035:39: warning: array subscript is above array bounds [-Warray-bounds] bloc8 = (bloc9 + b8) * b->dist[7]; ~~~~~~~^~~ dimes_client.c:1036:33: warning: array subscript is above array bounds [-Warray-bounds] dim8: for(a7 = a->mat_view.lb[7], b7 = b->mat_view.lb[7]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1036:57: warning: array subscript is above array bounds [-Warray-bounds] dim8: for(a7 = a->mat_view.lb[7], b7 = b->mat_view.lb[7]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1038:39: warning: array subscript is above array bounds [-Warray-bounds] aloc7 = (aloc8 + a7) * a->dist[6]; ~~~~~~~^~~ dimes_client.c:1039:39: warning: array subscript is above array bounds [-Warray-bounds] bloc7 = (bloc8 + b7) * b->dist[6]; ~~~~~~~^~~ dimes_client.c:1040:33: warning: array subscript is above array bounds [-Warray-bounds] dim7: for(a6 = a->mat_view.lb[6], b6 = b->mat_view.lb[6]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1040:57: warning: array subscript is above array bounds [-Warray-bounds] dim7: for(a6 = a->mat_view.lb[6], b6 = b->mat_view.lb[6]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1042:39: warning: array subscript is above array bounds [-Warray-bounds] aloc6 = (aloc7 + a6) * a->dist[5]; ~~~~~~~^~~ dimes_client.c:1043:39: warning: array subscript is above array bounds [-Warray-bounds] bloc6 = (bloc7 + b6) * b->dist[5]; ~~~~~~~^~~ dimes_client.c:1044:33: warning: array subscript is above array bounds [-Warray-bounds] dim6: for(a5 = a->mat_view.lb[5], b5 = b->mat_view.lb[5]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1044:57: warning: array subscript is above array bounds [-Warray-bounds] dim6: for(a5 = a->mat_view.lb[5], b5 = b->mat_view.lb[5]; //TODO-Q ~~~~~~~~~~~~~~^~~ dimes_client.c:1046:39: warning: array subscript is above array bounds [-Warray-bounds] aloc5 = (aloc6 + a5) * a->dist[4]; ~~~~~~~^~~ dimes_client.c:1047:39: warning: array subscript is above array bounds [-Warray-bounds] bloc5 = (bloc6 + b5) * b->dist[4]; ~~~~~~~^~~ dimes_client.c:1048:33: warning: array subscript is above array bounds [-Warray-bounds] dim5: for(a4 = a->mat_view.lb[4], b4 = b->mat_view.lb[4]; ~~~~~~~~~~~~~~^~~ dimes_client.c:1048:57: warning: array subscript is above array bounds [-Warray-bounds] dim5: for(a4 = a->mat_view.lb[4], b4 = b->mat_view.lb[4]; ~~~~~~~~~~~~~~^~~ dimes_client.c:1050:39: warning: array subscript is above array bounds [-Warray-bounds] aloc4 = (aloc5 + a4) * a->dist[3]; ~~~~~~~^~~ dimes_client.c:1051:39: warning: array subscript is above array bounds [-Warray-bounds] bloc4 = (bloc5 + b4) * b->dist[3]; ~~~~~~~^~~ dimes_client.c:1052:33: warning: array subscript is above array bounds [-Warray-bounds] dim4: for(a3 = a->mat_view.lb[3], b3 = b->mat_view.lb[3]; ~~~~~~~~~~~~~~^~~ dimes_client.c:1052:57: warning: array subscript is above array bounds [-Warray-bounds] dim4: for(a3 = a->mat_view.lb[3], b3 = b->mat_view.lb[3]; ~~~~~~~~~~~~~~^~~ dimes_client.c:1053:29: warning: array subscript is above array bounds [-Warray-bounds] a3 <= a->mat_view.ub[3]; a3++, b3++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1049:29: warning: array subscript is above array bounds [-Warray-bounds] a4 <= a->mat_view.ub[4]; a4++, b4++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1045:29: warning: array subscript is above array bounds [-Warray-bounds] a5 <= a->mat_view.ub[5]; a5++, b5++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1041:29: warning: array subscript is above array bounds [-Warray-bounds] a6 <= a->mat_view.ub[6]; a6++, b6++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1037:29: warning: array subscript is above array bounds [-Warray-bounds] a7 <= a->mat_view.ub[7]; a7++, b7++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1033:29: warning: array subscript is above array bounds [-Warray-bounds] a8 <= a->mat_view.ub[8]; a8++, b8++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1029:29: warning: array subscript is above array bounds [-Warray-bounds] a9 <= a->mat_view.ub[9]; a9++, b9++){ ~~~~~~~~~~~~~~^~~ dimes_client.c:1033:42: warning: 'b8' may be used uninitialized in this function [-Wmaybe-uninitialized] a8 <= a->mat_view.ub[8]; a8++, b8++){ ~~^~ dimes_client.c:985:43: note: 'b8' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1037:42: warning: 'b7' may be used uninitialized in this function [-Wmaybe-uninitialized] a7 <= a->mat_view.ub[7]; a7++, b7++){ ~~^~ dimes_client.c:985:39: note: 'b7' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1041:42: warning: 'b6' may be used uninitialized in this function [-Wmaybe-uninitialized] a6 <= a->mat_view.ub[6]; a6++, b6++){ ~~^~ dimes_client.c:985:35: note: 'b6' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1045:42: warning: 'b5' may be used uninitialized in this function [-Wmaybe-uninitialized] a5 <= a->mat_view.ub[5]; a5++, b5++){ ~~^~ dimes_client.c:985:31: note: 'b5' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1049:42: warning: 'b4' may be used uninitialized in this function [-Wmaybe-uninitialized] a4 <= a->mat_view.ub[4]; a4++, b4++){ ~~^~ dimes_client.c:985:27: note: 'b4' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1053:42: warning: 'b3' may be used uninitialized in this function [-Wmaybe-uninitialized] a3 <= a->mat_view.ub[3]; a3++, b3++){ ~~^~ dimes_client.c:985:23: note: 'b3' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1057:46: warning: 'b2' may be used uninitialized in this function [-Wmaybe-uninitialized] a2 <= a->mat_view.ub[2]; a2++, b2++){ ~~^~ dimes_client.c:985:19: note: 'b2' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1061:50: warning: 'b1' may be used uninitialized in this function [-Wmaybe-uninitialized] a1 <= a->mat_view.ub[1]; a1++, b1++){ ~~^~ dimes_client.c:985:15: note: 'b1' was declared here __u64 b0, b1, b2, b3, b4, b5, b6, b7, b8, b9; ^~ dimes_client.c:1029:36: warning: 'a9' may be used uninitialized in this function [-Wmaybe-uninitialized] a9 <= a->mat_view.ub[9]; a9++, b9++){ ~~^~ dimes_client.c:983:47: note: 'a9' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1033:36: warning: 'a8' may be used uninitialized in this function [-Wmaybe-uninitialized] a8 <= a->mat_view.ub[8]; a8++, b8++){ ~~^~ dimes_client.c:983:43: note: 'a8' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1037:36: warning: 'a7' may be used uninitialized in this function [-Wmaybe-uninitialized] a7 <= a->mat_view.ub[7]; a7++, b7++){ ~~^~ dimes_client.c:983:39: note: 'a7' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1041:36: warning: 'a6' may be used uninitialized in this function [-Wmaybe-uninitialized] a6 <= a->mat_view.ub[6]; a6++, b6++){ ~~^~ dimes_client.c:983:35: note: 'a6' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1045:36: warning: 'a5' may be used uninitialized in this function [-Wmaybe-uninitialized] a5 <= a->mat_view.ub[5]; a5++, b5++){ ~~^~ dimes_client.c:983:31: note: 'a5' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1049:36: warning: 'a4' may be used uninitialized in this function [-Wmaybe-uninitialized] a4 <= a->mat_view.ub[4]; a4++, b4++){ ~~^~ dimes_client.c:983:27: note: 'a4' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1053:36: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized] a3 <= a->mat_view.ub[3]; a3++, b3++){ ~~^~ dimes_client.c:983:23: note: 'a3' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1057:40: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized] a2 <= a->mat_view.ub[2]; a2++, b2++){ ~~^~ dimes_client.c:983:19: note: 'a2' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ dimes_client.c:1061:44: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] a1 <= a->mat_view.ub[1]; a1++, b1++){ ~~^~ dimes_client.c:983:15: note: 'a1' was declared here __u64 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9; ^~ rm -f libdspaces.a ar cru libdspaces.a dataspaces.o common_dataspaces.o ds_gspace.o dc_gspace.o dimes_data.o dimes_server.o dimes_client.o ranlib libdspaces.a mpicc -DHAVE_CONFIG_H -I. -I.. -I../dart/ -I../include/ -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dataspaces_fortran.o dataspaces_fortran.c In file included from ../dart/ib/dart_rpc_ib.h:30:0, from ../dart/dart.h:21, from ../include/dc_gspace.h:38, from dataspaces_fortran.c:48: ../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ In file included from ../dart/dart.h:21:0, from ../include/dc_gspace.h:38, from dataspaces_fortran.c:48: ../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ss_data.h:37:0, from ../include/dc_gspace.h:37, from dataspaces_fortran.c:48: ../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ rm -f libdspacesf.a ar cru libdspacesf.a dataspaces_fortran.o common_dataspaces.o ds_gspace.o dc_gspace.o dimes_data.o dimes_server.o dimes_client.o ranlib libdspacesf.a make[2]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/src' Making all in tests make[2]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests' Making all in C make[3]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests/C' mpicc -DHAVE_CONFIG_H -I. -I../.. -I./ -I../../include -I../../dart -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o common.o common.c In file included from ../../dart/ib/dart_rpc_ib.h:30:0, from ../../dart/dart.h:21, from ../../include/ds_gspace.h:37, from common.h:39, from common.c:36: ../../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ common.c: In function 'check_data': common.c:274:31: warning: variable 'avg' set but not used [-Wunused-but-set-variable] double max, min, sum, avg; ^~~ common.c: In function 'read_config_file': common.c:62:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &dim[i]); ^~~~~~~~~~~~~~~~~~~~~~~~ common.c:63:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "\n"); ^~~~~~~~~~~~~~~ common.c:69:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &w[i]); ^~~~~~~~~~~~~~~~~~~~~~ common.c:70:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "\n"); ^~~~~~~~~~~~~~~ common.c:76:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &r[i]); ^~~~~~~~~~~~~~~~~~~~~~ common.c: In function 'read_data_file': common.c:345:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, block_size, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../dart/dart.h:21:0, from ../../include/ds_gspace.h:37, from common.h:39, from common.c:36: At top level: ../../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../dart/ib/dart_rpc_ib.h:27:0, from ../../dart/dart.h:21, from ../../include/ds_gspace.h:37, from common.h:39, from common.c:36: ../../dart/ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ common.c: In function 'common_run_server': common.c:261:20: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if (err == 0) ^ mpicc -DHAVE_CONFIG_H -I. -I../.. -I./ -I../../include -I../../dart -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -c -o dataspaces_server.o dataspaces_server.c In file included from ../../dart/ib/dart_rpc_ib.h:30:0, from ../../dart/dart.h:21, from ../../include/ds_gspace.h:37, from common.h:39, from dataspaces_server.c:38: ../../dart/ib/dart_rdma_ib.h:60:82: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_set_memregion_to_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ ../../dart/ib/dart_rdma_ib.h:61:84: warning: 'struct rpc_cmd' declared inside parameter list will not be visible outside of this definition or declaration int dart_rdma_get_memregion_from_cmd(struct dart_rdma_mem_handle *mem_hndl, struct rpc_cmd *cmd); ^~~~~~~ dataspaces_server.c: In function 'main': dataspaces_server.c:126:1: warning: label 'err_out' defined but not used [-Wunused-label] err_out: ^~~~~~~ dataspaces_server.c:97:6: warning: variable 'color' set but not used [-Wunused-but-set-variable] int color; ^~~~~ dataspaces_server.c:94:6: warning: unused variable 'err' [-Wunused-variable] int err; ^~~ In file included from ../../dart/dart.h:21:0, from ../../include/ds_gspace.h:37, from common.h:39, from dataspaces_server.c:38: At top level: ../../dart/ib/dart_rpc_ib.h:434:12: warning: 'default_completion_with_data_callback' defined but not used [-Wunused-function] static int default_completion_with_data_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../dart/ib/dart_rpc_ib.h:428:12: warning: 'default_completion_callback' defined but not used [-Wunused-function] static int default_completion_callback(struct rpc_server *rpc_s, struct msg_buf *msg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../dart/ib/dart_rpc_ib.h:27:0, from ../../dart/dart.h:21, from ../../include/ds_gspace.h:37, from common.h:39, from dataspaces_server.c:38: ../../dart/ib/../../include/bbox.h:87:14: warning: 'next_pow_2' defined but not used [-Wunused-function] static __u64 next_pow_2(__u64 n) ^~~~~~~~~~ mpicc -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -o dataspaces_server common.o dataspaces_server.o -L../../src -ldspaces -ldscommon -L../../dart -ldart -libverbs -lrdmacm /usr/bin/ld: ../../src/libdscommon.a(ss_data.o): undefined reference to symbol 'ceil@@GLIBC_2.0' /lib/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[3]: *** [dataspaces_server] Error 1 make[3]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests/C' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' + '[' -n 1 ']' + make -j1 make: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' Making all in dart make[2]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/dart' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/dart' Making all in src make[2]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/src' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/src' Making all in tests make[2]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests' Making all in C make[3]: Entering directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests/C' mpicc -DLINUX -g -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -o dataspaces_server common.o dataspaces_server.o -L../../src -ldspaces -ldscommon -L../../dart -ldart -libverbs -lrdmacm /usr/bin/ld: ../../src/libdscommon.a(ss_data.o): undefined reference to symbol 'ceil@@GLIBC_2.0' /lib/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[3]: *** [dataspaces_server] Error 1 make[3]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests/C' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/dataspaces-1.6.0' error: Bad exit status from /usr/src/tmp/rpm-tmp.15046 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.15046 (%build) Command exited with non-zero status 1 15.60user 2.68system 0:18.50elapsed 98%CPU (0avgtext+0avgdata 34280maxresident)k 0inputs+0outputs (0major+444062minor)pagefaults 0swaps hsh-rebuild: rebuild of `dataspaces-1.6.0-alt1.src.rpm' failed. Command exited with non-zero status 1 37.00user 8.14system 0:44.78elapsed 100%CPU (0avgtext+0avgdata 134128maxresident)k 0inputs+0outputs (0major+787663minor)pagefaults 0swaps