Hi Dyninst team,
I ran into some build problems with the Dyninst-9.1 release.
I'm on a platform that has an old gcc compiler that doesn't have
support for C++11 auto (see just below) and there are no gcc
alternatives. I will check into seeing if the laboratory will
upgrade gcc or offer a module alternative.
So, I tried using Intel compilers to build and got the compile error
(see below - after gcc output).ÂÂ Does Dyninst build with Intel
compilers?
PBS maia111 5> gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr
--infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp
--disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.3
--enable-linux-futex --without-system-libunwind --with-cpu=generic
--build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
PBS maia111 6> icc -v
icc version 15.0.0 (gcc version 4.3.0 compatibility)
PBS maia111 7>
Thanks,
Jim G
GCC OUTPUT:
-- Boost includes:
//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/include
-- Boost library dirs:
//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib
-- Boost thread library:
//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib/libboost_thread.so
-- Boost libraries:
//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib/libboost_thread.so;//nobackupnfs2/jgalarow/maia/krellroot_v2.2.2/lib/libboost_system.so
-- Performing Test _HAS_CXX11_FLAG
-- Performing Test _HAS_CXX11_FLAG - Failed
-- Performing Test _HAS_CXX0X_FLAG
-- Performing Test _HAS_CXX0X_FLAG - Success
-- Checking C++11 support for "__func__"
-- Checking C++11 support for "__func__": works
-- Checking C++11 support for "auto"
-- Checking C++11 support for "auto": not supported
-- Checking C++11 support for "auto_ret_type"
-- Checking C++11 support for "auto_ret_type": not supported
-- Checking C++11 support for "class_override_final"
-- Checking C++11 support for "class_override_final": not supported
-- Checking C++11 support for "constexpr"
-- Checking C++11 support for "constexpr": not supported
-- Checking C++11 support for "cstdint"
-- Checking C++11 support for "cstdint": works
-- Checking C++11 support for "decltype"
-- Checking C++11 support for "decltype": works
-- Checking C++11 support for "initializer_list"
-- Checking C++11 support for "initializer_list": not supported
-- Checking C++11 support for "lambda"
-- Checking C++11 support for "lambda": not supported
-- Checking C++11 support for "long_long"
-- Checking C++11 support for "long_long": works
-- Checking C++11 support for "nullptr"
-- Checking C++11 support for "nullptr": not supported
-- Checking C++11 support for "regex"
-- Checking C++11 support for "regex": not supported
-- Checking C++11 support for "rvalue-references"
-- Checking C++11 support for "rvalue-references": works
-- Checking C++11 support for "sizeof_member"
-- Checking C++11 support for "sizeof_member": not supported
-- Checking C++11 support for "static_assert"
-- Checking C++11 support for "static_assert": works
-- Checking C++11 support for "variadic_templates"
-- Checking C++11 support for "variadic_templates": works
CMake Error at cmake/packages.cmake:148 (message):
 No support for C++11 auto found. Dyninst requires this compiler
feature.
Call Stack (most recent call first):
 cmake/shared.cmake:82 (include)
 CMakeLists.txt:17 (include)
-- Configuring incomplete, errors occurred!
See also
"/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/CMakeFiles/CMakeOutput.log".
See also
"/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT
USING INTEL COMPILERS:
[Â 9%] Building CXX object
common/CMakeFiles/common.dir/src/Buffer.C.o
[ 10%] Building CXX object
common/CMakeFiles/common.dir/src/MachSyscall.C.o
[ 10%] Building CXX object
common/CMakeFiles/common.dir/src/linuxKludges.C.o
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/common/src/linuxKludges.C(1032):
error: no instance of constructor "std::basic_ifstream<_CharT,
_Traits>::basic_ifstream [with _CharT=char,
_Traits=std::char_traits<char>]" matches the argument list
ÂÂÂÂÂÂÂÂÂÂÂ argument types are: (std::basic_string<char,
std::char_traits<char>, std::allocator<char>>)
ÂÂÂÂ std::ifstream maps_file(maps_filename.str());
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ^
compilation aborted for
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/common/src/linuxKludges.C
(code 2)
make[2]: *** [common/CMakeFiles/common.dir/src/linuxKludges.C.o]
Error 2
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
[Â 0%] Building DyninstRT
[ 50%] Built target dyninstAPI_RT
[100%] Built target dyninstAPI_RT_static
[Â 0%] Built target DyninstRT
[Â 0%] Building CXX object
common/CMakeFiles/common.dir/src/linuxKludges.C.o
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/common/src/linuxKludges.C(1032):
error: no instance of constructor "std::basic_ifstream<_CharT,
_Traits>::basic_ifstream [with _CharT=char,
_Traits=std::char_traits<char>]" matches the argument list
ÂÂÂÂÂÂÂÂÂÂÂ argument types are: (std::basic_string<char,
std::char_traits<char>, std::allocator<char>>)
ÂÂÂÂ std::ifstream maps_file(maps_filename.str());
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ^
compilation aborted for
/nobackupnfs2/jgalarow/OpenSpeedShop_ROOT/BUILD/maia112/dyninst-9.1.0/common/src/linuxKludges.C
(code 2)
make[2]: *** [common/CMakeFiles/common.dir/src/linuxKludges.C.o]
Error 2
|
|