[DynInst_API:] Dyninst 8.2.1 fails to build on Titan


Date: Wed, 03 Dec 2014 13:37:10 -0800
From: Jim Galarowicz <jeg@xxxxxxxxxxxxx>
Subject: [DynInst_API:] Dyninst 8.2.1 fails to build on Titan
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/dyninstAPI/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/dyninstAPI/src/pcEventHandler.h:39,
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from /ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninstAPI/src/dynProcess.h:45,
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from /ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninstAPI/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/dyninstAPI/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/dyninstAPI/src/pcEventHandler.h:39,
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from /ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninstAPI/src/dynProcess.h:45,
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from /ccs/home/jgalaro/OpenSpeedShop_ROOT/BUILD/titan-ext5/dyninst-8.2.1/dyninstAPI/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
+ export KRELL_ROOT_DYNINST=/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5
+ KRELL_ROOT_DYNINST=/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5
+ popd
~/OpenSpeedShop_ROOT/BUILD/titan-ext5 ~/OpenSpeedShop_ROOT
+ popd
~/OpenSpeedShop_ROOT
+ '[' -f /lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5/include/dyninst/BPatch.h -a -f /lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5/lib64/libsymtabAPI.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>

[← Prev in Thread] Current Thread [Next in Thread→]