Repository navigation
Failed to build against valgrind #8
Description
~/upstream/psm$ make PSM_VALGRIND=1
for subdir in ptl_self ptl_ips ptl_am libuuid ipath ; do
make -C $subdir ;
done
make[1]: Entering directory '/home/honli/upstream/psm/ptl_self'
cc -Wall -Werror -fpic -fPIC -D_GNU_SOURCE -funwind-tables -O3 -g3 -DPSM_VALGRIND -I. -I/home/honli/upstream/psm/include -I/home/honli/upstream/psm/mpspawn -I/home/honli/upstream/psm/include/linux-x86_64 -I/home/honli/upstream/psm -c ptl.c -o ptl.o
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from /home/honli/upstream/psm/psm_user.h:45,
from ptl.c:39:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from ptl.c:39:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from /home/honli/upstream/psm/psm_user.h:45,
from ptl.c:39:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from ptl.c:39:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3668:1: error: ‘VALGRIND_PRINTF’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF(const char format, ...)
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3683:1: error: ‘VALGRIND_PRINTF_BACKTRACE’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
^
cc1: all warnings being treated as errors
Makefile:41: recipe for target 'ptl.o' failed
make[1]: ** [ptl.o] Error 1
make[1]: Leaving directory '/home/honli/upstream/psm/ptl_self'
make[1]: Entering directory '/home/honli/upstream/psm/ptl_ips'
cc -Wall -Werror -fpic -fPIC -D_GNU_SOURCE -funwind-tables -O3 -g3 -DPSM_VALGRIND -I. -I/home/honli/upstream/psm/include -I/home/honli/upstream/psm/mpspawn -I/home/honli/upstream/psm/include/linux-x86_64 -I/home/honli/upstream/psm -I/ptl_ips -c ptl.c -o ptl.o
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from /home/honli/upstream/psm/psm_user.h:45,
from ptl.c:36:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from ptl.c:36:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from /home/honli/upstream/psm/psm_user.h:45,
from ptl.c:36:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from ptl.c:36:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from ptl.c:36:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3668:1: error: ‘VALGRIND_PRINTF’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF(const char format, ...)
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3683:1: error: ‘VALGRIND_PRINTF_BACKTRACE’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
^
cc1: all warnings being treated as errors
Makefile:51: recipe for target 'ptl.o' failed
make[1]: ** [ptl.o] Error 1
make[1]: Leaving directory '/home/honli/upstream/psm/ptl_ips'
make[1]: Entering directory '/home/honli/upstream/psm/ptl_am'
cc -Wall -Werror -fpic -fPIC -D_GNU_SOURCE -funwind-tables -O3 -g3 -DPSM_VALGRIND -I. -I/home/honli/upstream/psm/include -I/home/honli/upstream/psm/mpspawn -I/home/honli/upstream/psm/include/linux-x86_64 -I/home/honli/upstream/psm -c am_reqrep.c -o am_reqrep.o
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from /home/honli/upstream/psm/psm_user.h:45,
from am_reqrep.c:35:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from am_reqrep.c:35:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from /home/honli/upstream/psm/psm_user.h:45,
from am_reqrep.c:35:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/psm_user.h:47:0,
from am_reqrep.c:35:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3668:1: error: ‘VALGRIND_PRINTF’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF(const char format, ...)
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3683:1: error: ‘VALGRIND_PRINTF_BACKTRACE’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
^
cc1: all warnings being treated as errors
Makefile:41: recipe for target 'am_reqrep.o' failed
make[1]: ** [am_reqrep.o] Error 1
make[1]: Leaving directory '/home/honli/upstream/psm/ptl_am'
make[1]: Entering directory '/home/honli/upstream/psm/libuuid'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/honli/upstream/psm/libuuid'
make[1]: Entering directory '/home/honli/upstream/psm/ipath'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/honli/upstream/psm/ipath'
make libpsm_infinipath.so
make[1]: Entering directory '/home/honli/upstream/psm'
cc -Wall -Werror -fpic -fPIC -D_GNU_SOURCE -funwind-tables -O3 -g3 -DPSM_VALGRIND -I. -I/home/honli/upstream/psm/include -I/home/honli/upstream/psm/mpspawn -I/home/honli/upstream/psm/include/linux-x86_64 -c ptl_am/am_reqrep_shmem.c -o ptl_am/am_reqrep_shmem.o
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from ./psm_user.h:45,
from ptl_am/am_reqrep_shmem.c:40:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from ./psm_user.h:47:0,
from ptl_am/am_reqrep_shmem.c:40:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3666:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
In file included from /home/honli/upstream/psm/include/ipath_user.h:60:0,
from ./psm_user.h:45,
from ptl_am/am_reqrep_shmem.c:40:
/home/honli/upstream/psm/include/ipath_intf.h:49:20: error: expected ‘)’ before ‘attribute’
#define unused attribute((unused))
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:45: note: in expansion of macro ‘unused’
attribute((format(printf, 1, 2), unused));
^
In file included from ./psm_user.h:47:0,
from ptl_am/am_reqrep_shmem.c:40:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3681:56: error: expected ‘,’ or ‘;’ before ‘)’ token
attribute((format(printf, 1, 2), unused));
^
In file included from ./psm_user.h:47:0,
from ptl_am/am_reqrep_shmem.c:40:
/home/honli/upstream/psm/include/valgrind/valgrind.h:3668:1: error: ‘VALGRIND_PRINTF’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF(const char format, ...)
^
/home/honli/upstream/psm/include/valgrind/valgrind.h:3683:1: error: ‘VALGRIND_PRINTF_BACKTRACE’ defined but not used [-Werror=unused-function]
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
^
cc1: all warnings being treated as errors
Makefile:282: recipe for target 'ptl_am/am_reqrep_shmem.o' failed
make[1]: ** [ptl_am/am_reqrep_shmem.o] Error 1
make[1]: Leaving directory '/home/honli/upstream/psm'
Makefile:154: recipe for target 'libs' failed
make: *** [libs] Error 2
Activity