Hi Dyninst team,
Does anyone in the Dyninst group have access to Titan at ORNL?
If so, I'm wondering if someone could try building Dyninst there. I
believe I'm building Dyninst in the same way we do on all other
Cray's where
we don't see this problem.
So, it would be good to have a sanity check.
I reported this with Dyninst 8.2.0 and the consensus was that the
include
files were somehow not getting process in the proper order.
Something might be wrong with the include layout on Titan.
Thanks,
Jim G
^
Linking CXX shared library libpatchAPI.so
[ 39%] Built target patchAPI
Scanning dependencies of target dyninstAPI
[ 39%] Building CXX object
dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o
In file included
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/headers.h:53:0,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Timer.h:43,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/stats.h:38,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/BPatch.C:43:
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/fraction.h: In constructor 'fraction::fraction(int64_t)':
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:140:28: error: 'INT64_C' was not declared in this scope
#define I64_C(x) INT64_C(x)
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/fraction.h:59:50: note: in expansion of macro 'I64_C'
explicit fraction(int64_t n) : numer(n), denom(I64_C(1)) {
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h: In function 'bool NS_x86::is_disp32(long int)':
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:158:18: error: 'INT32_MAX' was not declared in this scope
#define I32_MAX INT32_MAX
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h:907:19: note: in expansion of macro 'I32_MAX'
return (disp <= I32_MAX && disp >= I32_MIN);
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:159:18: error: 'INT32_MIN' was not declared in this scope
#define I32_MIN INT32_MIN
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h:907:38: note: in expansion of macro 'I32_MIN'
return (disp <= I32_MAX && disp >= I32_MIN);
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h: In function 'bool NS_x86::is_addr32(Dyninst::Address)':
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:160:18: error: 'UINT32_MAX' was not declared in this scope
#define UI32_MAX UINT32_MAX
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h:913:20: note: in expansion of macro 'UI32_MAX'
return (addr < UI32_MAX);
^
In file included
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
system_error.hpp:14:0,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
exceptions.hpp:22,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
pthread/thread_data.hpp:10,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
pthread/condition_variable.hpp:12,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
condition_variable.hpp:16,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/dthread.h:38,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/pcEventHandler.h:39,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/dynProcess.h:45,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/BPatch.C:55:
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp: At global scope:
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp:214:36: warning: 'boost::system::posix_category'
defined but
not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined
but not
used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined
but not
used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
make[2]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o]
Error 1
make[1]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/all] Error 2
make: *** [all] Error 2
+ make SKIP_BUILD_RTLIB_32=1 install
[ 0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[ 0%] Built target DyninstRT
[ 6%] Built target common
[ 12%] Built target common_static
[ 12%] Built target dynElf
[ 12%] Built target dynElf_static
[ 13%] Built target dynDwarf
[ 14%] Built target dynDwarf_static
[ 14%] Built target symLite
[ 14%] Built target symLite_static
[ 19%] Built target symtabAPI
[ 24%] Built target pcontrol
[ 26%] Built target instructionAPI
[ 33%] Built target parseAPI
[ 36%] Built target stackwalk
[ 39%] Built target patchAPI
[ 39%] Building CXX object
dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o
In file included
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/headers.h:53:0,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Timer.h:43,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/stats.h:38,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/BPatch.C:43:
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/fraction.h: In constructor 'fraction::fraction(int64_t)':
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:140:28: error: 'INT64_C' was not declared in this scope
#define I64_C(x) INT64_C(x)
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/fraction.h:59:50: note: in expansion of macro 'I64_C'
explicit fraction(int64_t n) : numer(n), denom(I64_C(1)) {
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h: In function 'bool NS_x86::is_disp32(long int)':
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:158:18: error: 'INT32_MAX' was not declared in this scope
#define I32_MAX INT32_MAX
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h:907:19: note: in expansion of macro 'I32_MAX'
return (disp <= I32_MAX && disp >= I32_MIN);
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:159:18: error: 'INT32_MIN' was not declared in this scope
#define I32_MIN INT32_MIN
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h:907:38: note: in expansion of macro 'I32_MIN'
return (disp <= I32_MAX && disp >= I32_MIN);
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h: In function 'bool NS_x86::is_addr32(Dyninst::Address)':
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/Types.h:160:18: error: 'UINT32_MAX' was not declared in this scope
#define UI32_MAX UINT32_MAX
^
/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/arch-x86.h:913:20: note: in expansion of macro 'UI32_MAX'
return (addr < UI32_MAX);
^
In file included
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
system_error.hpp:14:0,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
exceptions.hpp:22,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
pthread/thread_data.hpp:10,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
pthread/condition_variable.hpp:12,
from/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/thread/
condition_variable.hpp:16,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/common/
src/dthread.h:38,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/pcEventHandler.h:39,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/dynProcess.h:45,
from/ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninst
API/src/BPatch.C:55:
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp: At global scope:
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp:214:36: warning: 'boost::system::posix_category'
defined but
not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined
but not
used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
/lustre/atlas/proj-shared/csc103/jgalaro/boost_1.53.0/include/boost/system/
error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined
but not
used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
make[2]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o]
Error 1
make[1]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/all] Error 2
make: *** [all] Error 2
+
exportKRELL_ROOT_DYNINST=/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u
5
+KRELL_ROOT_DYNINST=/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u
5
+ popd
~/OpenSpeedShop_ROOT/BUILD/titan-ext5 ~/OpenSpeedShop_ROOT
+ popd
~/OpenSpeedShop_ROOT
+ '['
-f/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5/include/dyninst/B
Patch.h -a
-f/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5/lib64/libsymtabAP
I.so ']'
+ echo 'DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT. Please check
for errors.'
DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT. Please check for
errors.
+ exit
jgalaro@titan-ext5:~/OpenSpeedShop_ROOT>
jgalaro@titan-ext5:~/OpenSpeedShop_ROOT>
jgalaro@titan-ext5:~/OpenSpeedShop_ROOT>
jgalaro@titan-ext5:~/OpenSpeedShop_ROOT>
jgalaro@titan-ext5:~/OpenSpeedShop_ROOT>