Date: | Fri, 25 Sep 2015 14:08:15 -0500 |
---|---|
From: | Bill Williams <bill@xxxxxxxxxxx> |
Subject: | Re: [DynInst_API:] Dyninst 8.2.1 fails to build on Titan |
On 09/25/2015 02:05 PM, Jim Galarowicz wrote: make VERBOSE=1 will tell you what preproc defines are set. Are you autodetecting PLATFORM or is it preset by something in the O|SS configuration?Hi Dyninst team,I tried building Dyninst-8.2.1, this time on a SNL Cray platform and I got similar errors to what I was seeing on the ORNL Cray back in Dec 2014. That issue is still unresolved.So, I tried Dyninst-9.0.0 on the SNL Cray platform and I get similar errors to 8.2.1.When I look inside /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/Types.h It seems that maybe, for some reason, os_linux is not set, so that stdint.h (listed below) is not getting included for the dyninstAPI portion of the build? Just guessing here.From Types.h: #elif defined(os_linux) #if !defined(__STDC_CONSTANT_MACROS) #define __STDC_CONSTANT_MACROS #endif #if !defined(__STDC_LIMIT_MACROS) #define __STDC_LIMIT_MACROS #endif #include <stdint.h> #if defined(arch_x86_64) || defined(arch_64bit) #define TYPE64BIT #endif typedef long double double128_t; [ 43%] Built target parseAPI [ 48%] Built target patchAPI [ 58%] Built target pcontrol [ 64%] Built target stackwalk[ 65%] Building CXX object dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o In file included from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/tuple/tuple.hpp:33:0, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/multi_index/detail/index_base.hpp:23, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/multi_index/detail/base_type.hpp:21, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/multi_index_container.hpp:33, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/symtabAPI/h/Symtab.h:48, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/symtabAPI/h/Variable.h:36, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch_type.h:39, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch_image.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch_thread.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/src/BPatch.C:44: /home/jgalaro/krellroot_v2.1u9/compute/include/boost/tuple/detail/tuple_basic.hpp: In function 'typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)': /home/jgalaro/krellroot_v2.1u9/compute/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef 'cons_element' locally defined but not used [-Wunused-local-typedefs]typedef BOOST_DEDUCED_TYPENAME impl::type cons_element; ^In file included from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/bind/bind.hpp:29:0, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/bind.hpp:22, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/multi_index/ordered_index.hpp:72, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/symtabAPI/h/Symtab.h:51, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/symtabAPI/h/Variable.h:36, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch_type.h:39, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch_image.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch_thread.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/h/BPatch.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/src/BPatch.C:44: /home/jgalaro/krellroot_v2.1u9/compute/include/boost/bind/arg.hpp: In constructor 'boost::arg<I>::arg(const T&)': /home/jgalaro/krellroot_v2.1u9/compute/include/boost/bind/arg.hpp:37:22: warning: typedef 'T_must_be_placeholder' locally defined but not used [-Wunused-local-typedefs] typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];^In file included from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/headers.h:53:0, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/Timer.h:43, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/stats.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/src/BPatch.C:43: /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/arch-x86.h: In function 'bool NS_x86::is_disp32(long int)': /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/Types.h:158:18: error: 'INT32_MAX' was not declared in this scope#define I32_MAX INT32_MAX ^/home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/arch-x86.h:910:19: note: in expansion of macro 'I32_MAX'return (disp <= I32_MAX && disp >= I32_MIN); ^/home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/Types.h:159:18: error: 'INT32_MIN' was not declared in this scope#define I32_MIN INT32_MIN ^/home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/arch-x86.h:910:38: note: in expansion of macro 'I32_MIN'return (disp <= I32_MAX && disp >= I32_MIN); ^/home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/arch-x86.h: In function 'bool NS_x86::is_addr32(Dyninst::Address)': /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/Types.h:160:18: error: 'UINT32_MAX' was not declared in this scope#define UI32_MAX UINT32_MAX ^/home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/arch-x86.h:916:20: note: in expansion of macro 'UI32_MAX'return (addr < UI32_MAX); ^In file included from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/system/system_error.hpp:14:0, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/thread/exceptions.hpp:22, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/thread/pthread/thread_data.hpp:10, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/thread/pthread/condition_variable.hpp:12, from /home/jgalaro/krellroot_v2.1u9/compute/include/boost/thread/condition_variable.hpp:16, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/common/src/dthread.h:38, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/src/pcEventHandler.h:39, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/src/dynProcess.h:45, from /home/jgalaro/OpenSpeedShop_ROOT/BUILD/mzlogin01e/dyninst-9.0.0/dyninstAPI/src/BPatch.C:55: /home/jgalaro/krellroot_v2.1u9/compute/include/boost/system/error_code.hpp: At global scope: /home/jgalaro/krellroot_v2.1u9/compute/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(); ^/home/jgalaro/krellroot_v2.1u9/compute/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(); ^/home/jgalaro/krellroot_v2.1u9/compute/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 1make[1]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/all] Error 2 make: *** [all] Error 2 ~/OpenSpeedShop_ROOT/BUILD/mzlogin01e ~/OpenSpeedShop_ROOT ~/OpenSpeedShop_ROOTDYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT. Please check for errors.Thanks, Jim G jgalaro@mzlogin01e:~/OpenSpeedShop_ROOT> cat -n /usr/include/stdint.h1 /* Copyright (C) 1997,1998,1999,2000,2001,2006 Free Software Foundation, Inc.2 This file is part of the GNU C Library. 34 The GNU C Library is free software; you can redistribute it and/or5 modify it under the terms of the GNU Lesser General Public 6 License as published by the Free Software Foundation; either7 version 2.1 of the License, or (at your option) any later version.89 The GNU C Library is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12 Lesser General Public License for more details. 1314 You should have received a copy of the GNU Lesser General Public 15 License along with the GNU C Library; if not, write to the Free 16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA17 02111-1307 USA. */ 18 19 /* 20 * ISO C99: 7.18 Integer types <stdint.h> 21 */ 22 23 #ifndef _STDINT_H 24 #define _STDINT_H 1 25 26 #include <features.h> 27 #include <bits/wchar.h> 28 #include <bits/wordsize.h> 29 30 /* Exact integral types. */ 31 32 /* Signed. */ 3334 /* There is some amount of overlap with <sys/types.h> as known by inet code */35 #ifndef __int8_t_defined 36 # define __int8_t_defined 37 typedef signed char int8_t; 38 typedef short int int16_t; 39 typedef int int32_t; 40 # if __WORDSIZE == 64 41 typedef long int int64_t; 42 # else 43 __extension__ 44 typedef long long int int64_t; 45 # endif 46 #endif 47 48 /* Unsigned. */ 49 typedef unsigned char uint8_t; 50 typedef unsigned short int uint16_t; 51 #ifndef __uint32_t_defined 52 typedef unsigned int uint32_t; 53 # define __uint32_t_defined 54 #endif 55 #if __WORDSIZE == 64 56 typedef unsigned long int uint64_t; 57 #else 58 __extension__ 59 typedef unsigned long long int uint64_t; 60 #endif 61 62 63 /* Small types. */ 64 65 /* Signed. */ 66 typedef signed char int_least8_t; 67 typedef short int int_least16_t; 68 typedef int int_least32_t; 69 #if __WORDSIZE == 64 70 typedef long int int_least64_t; 71 #else 72 __extension__ 73 typedef long long int int_least64_t; 74 #endif 75 76 /* Unsigned. */ 77 typedef unsigned char uint_least8_t; 78 typedef unsigned short int uint_least16_t; 79 typedef unsigned int uint_least32_t; 80 #if __WORDSIZE == 64 81 typedef unsigned long int uint_least64_t; 82 #else 83 __extension__ 84 typedef unsigned long long int uint_least64_t; 85 #endif 86 87 88 /* Fast types. */ 89 90 /* Signed. */ 91 typedef signed char int_fast8_t; 92 #if __WORDSIZE == 64 93 typedef long int int_fast16_t; 94 typedef long int int_fast32_t; 95 typedef long int int_fast64_t; 96 #else 97 typedef int int_fast16_t; 98 typedef int int_fast32_t; 99 __extension__ 100 typedef long long int int_fast64_t; 101 #endif 102 103 /* Unsigned. */ 104 typedef unsigned char uint_fast8_t; 105 #if __WORDSIZE == 64 106 typedef unsigned long int uint_fast16_t; 107 typedef unsigned long int uint_fast32_t; 108 typedef unsigned long int uint_fast64_t; 109 #else 110 typedef unsigned int uint_fast16_t; 111 typedef unsigned int uint_fast32_t; 112 __extension__ 113 typedef unsigned long long int uint_fast64_t; 114 #endif 115 116 117 /* Types for `void *' pointers. */ 118 #if __WORDSIZE == 64 119 # ifndef __intptr_t_defined 120 typedef long int intptr_t; 121 # define __intptr_t_defined 122 # endif 123 typedef unsigned long int uintptr_t; 124 #else 125 # ifndef __intptr_t_defined 126 typedef int intptr_t; 127 # define __intptr_t_defined 128 # endif 129 typedef unsigned int uintptr_t; 130 #endif 131 132 133 /* Largest integral types. */ 134 #if __WORDSIZE == 64 135 typedef long int intmax_t; 136 typedef unsigned long int uintmax_t; 137 #else 138 __extension__ 139 typedef long long int intmax_t; 140 __extension__ 141 typedef unsigned long long int uintmax_t; 142 #endif 143 144145 /* The ISO C99 standard specifies that in C++ implementations these146 macros should only be defined if explicitly requested. */ 147 #if !defined __cplusplus || defined __STDC_LIMIT_MACROS 148 149 # if __WORDSIZE == 64 150 # define __INT64_C(c) c ## L 151 # define __UINT64_C(c) c ## UL 152 # else 153 # define __INT64_C(c) c ## LL 154 # define __UINT64_C(c) c ## ULL 155 # endif 156 157 /* Limits of integral types. */ 158 159 /* Minimum of signed integral types. */ 160 # define INT8_MIN (-128) 161 # define INT16_MIN (-32767-1) 162 # define INT32_MIN (-2147483647-1) 163 # define INT64_MIN (-__INT64_C(9223372036854775807)-1) 164 /* Maximum of signed integral types. */ 165 # define INT8_MAX (127) 166 # define INT16_MAX (32767) 167 # define INT32_MAX (2147483647) 168 # define INT64_MAX (__INT64_C(9223372036854775807)) 169 170 /* Maximum of unsigned integral types. */ 171 # define UINT8_MAX (255) 172 # define UINT16_MAX (65535) 173 # define UINT32_MAX (4294967295U) 174 # define UINT64_MAX (__UINT64_C(18446744073709551615)) 175 176 177 /* Minimum of signed integral types having a minimum size. */ 178 # define INT_LEAST8_MIN (-128) 179 # define INT_LEAST16_MIN (-32767-1) 180 # define INT_LEAST32_MIN (-2147483647-1) 181 # define INT_LEAST64_MIN (-__INT64_C(9223372036854775807)-1) 182 /* Maximum of signed integral types having a minimum size. */ 183 # define INT_LEAST8_MAX (127) 184 # define INT_LEAST16_MAX (32767) 185 # define INT_LEAST32_MAX (2147483647) 186 # define INT_LEAST64_MAX (__INT64_C(9223372036854775807)) 187188 /* Maximum of unsigned integral types having a minimum size. */189 # define UINT_LEAST8_MAX (255) 190 # define UINT_LEAST16_MAX (65535) 191 # define UINT_LEAST32_MAX (4294967295U) 192 # define UINT_LEAST64_MAX (__UINT64_C(18446744073709551615)) 193 194195 /* Minimum of fast signed integral types having a minimum size. */196 # define INT_FAST8_MIN (-128) 197 # if __WORDSIZE == 64 198 # define INT_FAST16_MIN (-9223372036854775807L-1) 199 # define INT_FAST32_MIN (-9223372036854775807L-1) 200 # else 201 # define INT_FAST16_MIN (-2147483647-1) 202 # define INT_FAST32_MIN (-2147483647-1) 203 # endif 204 # define INT_FAST64_MIN (-__INT64_C(9223372036854775807)-1)205 /* Maximum of fast signed integral types having a minimum size. */206 # define INT_FAST8_MAX (127) 207 # if __WORDSIZE == 64 208 # define INT_FAST16_MAX (9223372036854775807L) 209 # define INT_FAST32_MAX (9223372036854775807L) 210 # else 211 # define INT_FAST16_MAX (2147483647) 212 # define INT_FAST32_MAX (2147483647) 213 # endif 214 # define INT_FAST64_MAX (__INT64_C(9223372036854775807)) 215216 /* Maximum of fast unsigned integral types having a minimum size. */217 # define UINT_FAST8_MAX (255) 218 # if __WORDSIZE == 64 219 # define UINT_FAST16_MAX (18446744073709551615UL) 220 # define UINT_FAST32_MAX (18446744073709551615UL) 221 # else 222 # define UINT_FAST16_MAX (4294967295U) 223 # define UINT_FAST32_MAX (4294967295U) 224 # endif 225 # define UINT_FAST64_MAX (__UINT64_C(18446744073709551615)) 226 227228 /* Values to test for integral types holding `void *' pointer. */229 # if __WORDSIZE == 64 230 # define INTPTR_MIN (-9223372036854775807L-1) 231 # define INTPTR_MAX (9223372036854775807L) 232 # define UINTPTR_MAX (18446744073709551615UL) 233 # else 234 # define INTPTR_MIN (-2147483647-1) 235 # define INTPTR_MAX (2147483647) 236 # define UINTPTR_MAX (4294967295U) 237 # endif 238 239 240 /* Minimum for largest signed integral type. */ 241 # define INTMAX_MIN (-__INT64_C(9223372036854775807)-1) 242 /* Maximum for largest signed integral type. */ 243 # define INTMAX_MAX (__INT64_C(9223372036854775807)) 244 245 /* Maximum for largest unsigned integral type. */ 246 # define UINTMAX_MAX (__UINT64_C(18446744073709551615)) 247 248 249 /* Limits of other integer types. */ 250 251 /* Limits of `ptrdiff_t' type. */ 252 # if __WORDSIZE == 64 253 # define PTRDIFF_MIN (-9223372036854775807L-1) 254 # define PTRDIFF_MAX (9223372036854775807L) 255 # else 256 # define PTRDIFF_MIN (-2147483647-1) 257 # define PTRDIFF_MAX (2147483647) 258 # endif 259 260 /* Limits of `sig_atomic_t'. */ 261 # define SIG_ATOMIC_MIN (-2147483647-1) 262 # define SIG_ATOMIC_MAX (2147483647) 263 264 /* Limit of `size_t' type. */ 265 # if __WORDSIZE == 64 266 # define SIZE_MAX (18446744073709551615UL) 267 # else 268 # define SIZE_MAX (4294967295U) 269 # endif 270 271 /* Limits of `wchar_t'. */ 272 # ifndef WCHAR_MIN 273 /* These constants might also be defined in <wchar.h>. */ 274 # define WCHAR_MIN __WCHAR_MIN 275 # define WCHAR_MAX __WCHAR_MAX 276 # endif 277 278 /* Limits of `wint_t'. */ 279 # define WINT_MIN (0u) 280 # define WINT_MAX (4294967295u) 281 282 #endif /* C++ && limit macros */ 283 284285 /* The ISO C99 standard specifies that in C++ implementations these286 should only be defined if explicitly requested. */ 287 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS 288 289 /* Signed. */ 290 # define INT8_C(c) c 291 # define INT16_C(c) c 292 # define INT32_C(c) c 293 # if __WORDSIZE == 64 294 # define INT64_C(c) c ## L 295 # else 296 # define INT64_C(c) c ## LL 297 # endif 298 299 /* Unsigned. */ 300 # define UINT8_C(c) c 301 # define UINT16_C(c) c 302 # define UINT32_C(c) c ## U 303 # if __WORDSIZE == 64 304 # define UINT64_C(c) c ## UL 305 # else 306 # define UINT64_C(c) c ## ULL 307 # endif 308 309 /* Maximal type. */ 310 # if __WORDSIZE == 64 311 # define INTMAX_C(c) c ## L 312 # define UINTMAX_C(c) c ## UL 313 # else 314 # define INTMAX_C(c) c ## LL 315 # define UINTMAX_C(c) c ## ULL 316 # endif 317 318 #endif /* C++ && constant macros */ 319 320 #endif /* stdint.h */ On 12/03/2014 02:04 PM, Matthew LeGendre wrote:On Wed, 3 Dec 2014, Jim Galarowicz wrote: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. Ibelieve I'm building Dyninst in the same way we do on all other Cray's wherewe 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 includefiles 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.oIn 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 butnot 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 notused [-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 notused [-Wunused-variable] static const error_category & native_ecat = system_category(); ^make[2]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o] Error 1make[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.oIn 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 butnot 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 notused [-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 notused [-Wunused-variable] static const error_category & native_ecat = system_category(); ^make[2]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/src/BPatch.C.o] Error 1make[1]: *** [dyninstAPI/CMakeFiles/dyninstAPI.dir/all] Error 2 make: *** [all] Error 2+ exportKRELL_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/B Patch.h -a -f/lustre/atlas/proj-shared/csc103/jgalaro/krellroot_v2.1u5/lib64/libsymtabAPI.so ']'+ echo 'DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT. Please checkfor 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>_______________________________________________ Dyninst-api mailing list Dyninst-api@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] Dyninst 8.2.1 fails to build on Titan, Jim Galarowicz |
---|---|
Next by Date: | Re: [DynInst_API:] Dyninst not found when building Test Suite, Knapp, Rashawn L |
Previous by Thread: | Re: [DynInst_API:] Dyninst 8.2.1 fails to build on Titan, Jim Galarowicz |
Next by Thread: | [DynInst_API:] Dyninst 9.0 release!, Barton Miller |
Indexes: | [Date] [Thread] |