Hi all, If I do a module purge, that apparently gets rid of the intel library business with "as". However, now I've arrived at another issue.
Does this version of Dyninst honor the make SKIP_BUILD_RTLIB_32=1 variable? It doesn't look like it. I searched for CMAKE variables with SKIP in them but didn't see any. Or else I could build my own binutils with fPIC. Is there a way to turn off the 32 bit generation with CMAKE? Thanks, Jim G Build dyninst? <y/n> Build-RPM command-line argument #1 = dyninst-8.2 Build-RPM command-line argument #2 = Build-RPM command-line argument #3 = DEBUG: Setting machine to uname: spirit01 RPM working directory: spirit01 Environment variable KRELL_ROOT_PREFIX is set Environment variable KRELL_ROOT_PREFIX is set to /home/galarowi/krellroot_v2.1u3 error: Macro %target_prefix has empty body error: Macro %target_prefix has empty body Executing(%prep): /bin/sh -e /home/galarowi/OpenSpeedShop_ROOT/INSTALL/spirit01/rpm-tmp.vognqG + umask 022 + cd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01 + LANG=C + export LANG + unset DISPLAY + '[' -d dyninst-8.2 ']' + rm -fr dyninst-8.2 + '[' '!' -z ']' + '[' '!' -z ']' + '[' -d /home/galarowi/krellroot_v2.1u3 ']' + '[' -d /home/galarowi/krellroot_v2.1u3/include -a -f /home/galarowi/krellroot_v2.1u3/include/boost/shared_ptr.hpp ']' + '[' -d /home/galarowi/krellroot_v2.1u3 ']' + '[' -f /home/galarowi/krellroot_v2.1u3/boost/shared_ptr.hpp ']' + export DYNINST_BOOST_ROOT= + DYNINST_BOOST_ROOT= + '[' '!' -z ']' + '[' '!' -z ']' + '[' '!' -z /home/galarowi/krellroot_v2.1u3 ']' + '[' -f /home/galarowi/krellroot_v2.1u3/lib64/libelf.so -o -f /home/galarowi/krellroot_v2.1u3/lib64/libelf.a ']' + '[' '!' -z /home/galarowi/krellroot_v2.1u3 ']' + '[' -f /home/galarowi/krellroot_v2.1u3//libelf.so -o -f /home/galarowi/krellroot_v2.1u3//libelf.a ']' + '[' -d /home/galarowi/krellroot_v2.1u3 ']' + '[' -f /home/galarowi/krellroot_v2.1u3/lib64/libelf.so -o -f /home/galarowi/krellroot_v2.1u3/lib64/libelf.a ']' + export LIBELFDIR=/usr + LIBELFDIR=/usr + '[' -f /usr/include/libelf.h ']' + export LIBELFINC=/usr/include + LIBELFINC=/usr/include + '[' '!' -z ']' + '[' '!' -z /home/galarowi/krellroot_v2.1u3 ']' + '[' -f /home/galarowi/krellroot_v2.1u3/lib64/libdwarf.so -o -f /home/galarowi/krellroot_v2.1u3/lib64/libdwarf.a ']' + export LIBDWARFDIR=/home/galarowi/krellroot_v2.1u3 + LIBDWARFDIR=/home/galarowi/krellroot_v2.1u3 + '[' '!' -z /app/wpostool/COST/binutils-2.23 ']' + '[' -f /app/wpostool/COST/binutils-2.23/lib64/libiberty.a ']' + export LIBIBERTYLIBDIR=/app/wpostool/COST/binutils-2.23/lib64/libiberty.a + LIBIBERTYLIBDIR=/app/wpostool/COST/binutils-2.23/lib64/libiberty.a + cd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01 + rm -rf dyninst-8.2 + /usr/bin/gzip -dc /home/galarowi/OpenSpeedShop_ROOT/SOURCES/dyninst-8.2.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dyninst-8.2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch (dyninst-8.2.patch):' Patch (dyninst-8.2.patch): + /bin/cat /home/galarowi/OpenSpeedShop_ROOT/SOURCES/dyninst-8.2.patch + /usr/bin/patch -p1 --fuzz=0 (Stripping trailing CRs from patch.) patching file CMakeLists.txt + pwd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 + export DYNINST_ROOT=/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 + DYNINST_ROOT=/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 + '[' '%{target_prefix}' == bgp ']' + '[' '%{target_prefix}' == bgq ']' + CXXFLAGS=-std=c++0x + cmake . -DCMAKE_INSTALL_PREFIX=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3 -DINSTALL_LIB_DIR=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3/lib64 -DINSTALL_INCLUDE_DIR=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3/include/dyninst -DCMAKE_PREFIX_PATH=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBDWARF_LIBRARIES=/home/galarowi/krellroot_v2.1u3/lib64 -DLIBDWARF_INCLUDE_DIR=/home/galarowi/krellroot_v2.1u3/include -DLIBELF_LIBRARIES=/usr/lib64 -DLIBELF_INCLUDE_DIR=/usr/include -DPATH_BOOST= -DIBERTY_LIBRARY=/app/wpostool/COST/binutils-2.23/lib64/libiberty.a -- The C compiler identification is GNU 4.4.7 -- The CXX compiler identification is GNU 4.4.7 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Attempting to automatically identify platform: x86_64-unknown-linux2.4 -- Found LibElf: /usr/lib64 -- Found LibDwarf: /home/galarowi/krellroot_v2.1u3/lib64 -- Found libiberty: /app/wpostool/COST/binutils-2.23/lib64/libiberty.a -- Using libiberty /app/wpostool/COST/binutils-2.23/lib64/libiberty.a -- Found Thread_Db: /usr/lib64/libthread_db.so Boost found. -- Checking for C++11 flags for GNU -- Enabling ThreadDB support -- Set arch and platform based definitions -- Found g++, enabling -fvisibility=hidden statusOptions set statusSet optimization flags -- Configuring DyninstAPI_RT -- Configuring RT library -- The C compiler identification is GNU 4.4.7 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Set arch and platform based definitions statusOptions set statusSet optimization flags -- dyninstAPI RT library SOVERSION: 8.2 -- dyninstAPI RT library LIBVERSION: 8.2.0 -- dyninstAPI output location: /work1/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/libdyninstAPI_RT.so -- Checking for 32-bit runtime library... -- Performing Test CHECK_RT_LIB_32 -- Performing Test CHECK_RT_LIB_32 - Failed -- Configuring done -- Generating done -- Build files have been written to: /work1/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT -- Adding Unix-specific dependencies -- Added libdwarf_imp and libelf_imp dependencies -- Configuring done WARNING: Target "dynElf" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "dynDwarf" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "symLite" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "symtabAPI" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "symtabAPI" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "parseAPI" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "parseAPI" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "parseAPI" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "patchAPI" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "patchAPI" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "pcontrol" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "stackwalk" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "stackwalk" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "stackwalk" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "stackwalk" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "dyninstAPI" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "dyninstAPI" requests linking to directory "/home/galarowi/krellroot_v2.1u3/lib64". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "dyninstAPI" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 + cd ../.. + exit 0 Executing(%build): /bin/sh -e /home/galarowi/OpenSpeedShop_ROOT/INSTALL/spirit01/rpm-tmp.GKkyne + umask 022 + cd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01 + cd dyninst-8.2 + LANG=C + export LANG + unset DISPLAY + pwd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 + make SKIP_BUILD_RTLIB_32=1 Scanning dependencies of target DyninstRT [ 0%] Building DyninstRT Scanning dependencies of target dyninstAPI_RT [ 3%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTcommon.c.o [ 7%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTmemEmulator.c.o [ 10%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTposix.c.o [ 14%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTlinux.c.o [ 17%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap.c.o [ 21%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap-linux.c.o [ 25%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread.c.o [ 28%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTspace.S.o [ 32%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTsignal.c.o [ 35%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_begin.c.o [ 39%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors_end.c.o [ 42%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTthread-x86-64.c.o [ 46%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTtlsgetaddr-x86.S.o [ 50%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTstatic_ctors_dtors-x86.c.o Linking C shared library libdyninstAPI_RT.so [ 50%] Built target dyninstAPI_RT Scanning dependencies of target dyninstAPI_RT_static [ 53%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTcommon.c.o [ 57%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTmemEmulator.c.o [ 60%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTposix.c.o [ 64%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTlinux.c.o [ 67%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap.c.o [ 71%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap-linux.c.o [ 75%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread.c.o [ 78%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTspace.S.o [ 82%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTsignal.c.o [ 85%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_begin.c.o [ 89%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors_end.c.o [ 92%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTthread-x86-64.c.o [ 96%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTtlsgetaddr-x86.S.o [100%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTstatic_ctors_dtors-x86.c.o /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/src/RTstatic_ctors_dtors-x86.c: In function 'DYNINSTglobal_irel_handler': /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/src/RTstatic_ctors_dtors-x86.c:96: warning: dereferencing pointer 'rel' does break strict-aliasing rules /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/src/RTstatic_ctors_dtors-x86.c:95: warning: dereferencing pointer 'rel' does break strict-aliasing rules /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/src/RTstatic_ctors_dtors-x86.c:94: warning: dereferencing pointer 'rel' does break strict-aliasing rules /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/src/RTstatic_ctors_dtors-x86.c:92: note: initialized from here /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/dyninstAPI_RT/src/RTstatic_ctors_dtors-x86.c:92: note: initialized from here Linking C static library libdyninstAPI_RT.a [100%] Built target dyninstAPI_RT_static [ 0%] Built target DyninstRT Scanning dependencies of target common [ 0%] Building CXX object common/CMakeFiles/common.dir/src/Ident.C.o [ 0%] Building CXX object common/CMakeFiles/common.dir/src/string-regex.C.o [ 0%] Building CXX object common/CMakeFiles/common.dir/src/Timer.C.o [ 0%] Building CXX object common/CMakeFiles/common.dir/src/Types.C.o [ 1%] Building CXX object common/CMakeFiles/common.dir/src/debugOstream.C.o [ 1%] Building CXX object common/CMakeFiles/common.dir/src/lprintf.C.o [ 1%] Building CXX object common/CMakeFiles/common.dir/src/pathName.C.o [ 1%] Building CXX object common/CMakeFiles/common.dir/src/Time.C.o [ 1%] Building CXX object common/CMakeFiles/common.dir/src/fraction.C.o [ 1%] Building CXX object common/CMakeFiles/common.dir/src/timing.C.o [ 2%] Building CXX object common/CMakeFiles/common.dir/src/stats.C.o [ 2%] Building CXX object common/CMakeFiles/common.dir/src/Annotatable.C.o [ 2%] Building CXX object common/CMakeFiles/common.dir/src/MappedFile.C.o [ 2%] Building CXX object common/CMakeFiles/common.dir/src/sha1.C.o [ 2%] Building CXX object common/CMakeFiles/common.dir/src/serialize-bin.C.o [ 2%] Building CXX object common/CMakeFiles/common.dir/src/serialize-xml.C.o [ 3%] Building CXX object common/CMakeFiles/common.dir/src/util.C.o [ 3%] Building CXX object common/CMakeFiles/common.dir/src/Node.C.o [ 3%] Building CXX object common/CMakeFiles/common.dir/src/Graph.C.o [ 3%] Building CXX object common/CMakeFiles/common.dir/src/Edge.C.o [ 3%] Building CXX object common/CMakeFiles/common.dir/src/DOT.C.o [ 4%] Building CXX object common/CMakeFiles/common.dir/src/dyn_regs.C.o [ 4%] Building CXX object common/CMakeFiles/common.dir/src/AST.C.o [ 4%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate.C.o [ 4%] Building CXX object common/CMakeFiles/common.dir/src/arch-x86.C.o /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/common/src/arch-x86.C: In static member function 'static void NS_x86::ia32_instruction::initFlagTable(std::tr1::unordered_map<entryID, NS_x86::flagInfo, std::tr1::hash<entryID>, std::equal_to<entryID>, std::allocator<std::pair<const entryID, NS_x86::flagInfo> > >&)': /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/common/src/arch-x86.C:831: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without [ 4%] Building CXX object common/CMakeFiles/common.dir/src/arch-power.C.o [ 4%] Building CXX object common/CMakeFiles/common.dir/src/debug_common.C.o [ 5%] Building CXX object common/CMakeFiles/common.dir/src/VariableLocation.C.o [ 5%] Building CXX object common/CMakeFiles/common.dir/src/Buffer.C.o [ 5%] Building CXX object common/CMakeFiles/common.dir/src/linuxKludges.C.o [ 5%] Building CXX object common/CMakeFiles/common.dir/src/timing-linux.C.o [ 5%] Building CXX object common/CMakeFiles/common.dir/src/parseauxv.C.o [ 5%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-sysv.C.o [ 6%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-auxv.C.o [ 6%] Building CXX object common/CMakeFiles/common.dir/src/addrtranslate-linux.C.o Linking CXX shared library libcommon.so /usr/bin/ld: /app/wpostool/COST/binutils-2.23/lib64/libiberty.a(cplus-dem.o): relocation R_X86_64_32S against `_sch_istable' can not be used when making a shared object; recompile with -fPIC /app/wpostool/COST/binutils-2.23/lib64/libiberty.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [common/libcommon.so.8.2.0] Error 1 make[1]: *** [common/CMakeFiles/common.dir/all] Error 2 make: *** [all] Error 2 error: Bad exit status from /home/galarowi/OpenSpeedShop_ROOT/INSTALL/spirit01/rpm-tmp.GKkyne (%build) RPM build errors: Macro %target_prefix has empty body Macro %target_prefix has empty body Bad exit status from /home/galarowi/OpenSpeedShop_ROOT/INSTALL/spirit01/rpm-tmp.GKkyne (%build) DYNINST FAILED TO BUILD - TERMINATING BUILD SCRIPT. Please check for errors. sys=spirit01 [galarowi@spirit01 OpenSpeedShop_ROOT ]$ On Mar 26, 2014, at 10:48 AM, Matthew LeGendre wrote: > > > On Wed, 26 Mar 2014, Jim Galarowicz wrote: >> Hi Matt, >> >> Ok. the web pages don't indicate anything about backend and frontend >> versions like they do for the Cray machine. > > Yes, this machine was both frustrating and poorly documented. Good luck ;) > >> I'm guessing in order to get the frontend compilers I have to module unload >> the default Intel compiler module, and then do not load the gcc module. Do >> you remember if that is what you did? > > Yes, I do recall switching compilers with the module command. I think the > system was giving me the frontend compilers by default, then I could module > load the backend compilers (if I recall correctly). > >> That gives me the 4.4.7 gnu compilers. I get the same error. I did module >> unload of the compiler modules. >> >> Looks like it is finding another version of as somewhere else that >> /usr/bin/as >> >> GNU assembler version 2.20.51.0.2-5.36.el6 20100205 >> Copyright 2009 Free Software Foundation, Inc. >> This program is free software; you may redistribute it under the terms of >> the GNU General Public License version 3 or later. >> This program has absolutely no warranty. >> This assembler was configured for a target of `x86_64-redhat-linux'. >> [galarowi@spirit01 OpenSpeedShop_ROOT ]$ ldd /usr/bin/as >> linux-vdso.so.1 => (0x00007ffff7fde000) >> libopcodes-2.20.51.0.2-5.36.el6.so => >> /usr/lib64/libopcodes-2.20.51.0.2-5.36.el6.so (0x00007ffff7cd7000) >> libbfd-2.20.51.0.2-5.36.el6.so => >> /usr/lib64/libbfd-2.20.51.0.2-5.36.el6.so (0x00007ffff79f0000) >> libz.so.1 => /lib64/libz.so.1 (0x00007ffff77da000) >> libc.so.6 => /lib64/libc.so.6 (0x00007ffff7447000) >> /lib64/ld-linux-x86-64.so.2 (0x00007ffff7fdf000) >> [galarowi@spirit01 OpenSpeedShop_ROOT ]$ >> >> >> [galarowi@spirit01 OpenSpeedShop_ROOT ]$ gcc --version >> gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3) >> Copyright (C) 2010 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> >> [galarowi@spirit01 OpenSpeedShop_ROOT ]$ which gcc >> /usr/bin/gcc > > I think you've got the frontend compiler there. An easy test is just to use > it to build/run a hello world binary. If it runs, then you've got the front > end compiler. > >> ------- BUILD OUTPUT ------------ >> >> Build dyninst? <y/n> >> >> >> Build-RPM command-line argument #1 = dyninst-8.2 >> Build-RPM command-line argument #2 = >> Build-RPM command-line argument #3 = >> >> DEBUG: Setting machine to uname: spirit01 >> RPM working directory: spirit01 >> Environment variable KRELL_ROOT_PREFIX is set >> Environment variable KRELL_ROOT_PREFIX is set to >> /home/galarowi/krellroot_v2.1u3 >> error: Macro %target_prefix has empty body >> error: Macro %target_prefix has empty body >> Executing(%prep): /bin/sh -e >> /home/galarowi/OpenSpeedShop_ROOT/INSTALL/spirit01/rpm-tmp.6mVk1i >> + umask 022 >> + cd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01 >> + LANG=C >> + export LANG >> + unset DISPLAY >> + '[' -d dyninst-8.2 ']' >> + rm -fr dyninst-8.2 >> + '[' '!' -z ']' >> + '[' '!' -z ']' >> + '[' -d /home/galarowi/krellroot_v2.1u3 ']' >> + '[' -d /home/galarowi/krellroot_v2.1u3/include -a -f >> /home/galarowi/krellroot_v2.1u3/include/boost/shared_ptr.hpp ']' >> + '[' -d /home/galarowi/krellroot_v2.1u3 ']' >> + '[' -f /home/galarowi/krellroot_v2.1u3/boost/shared_ptr.hpp ']' >> + export DYNINST_BOOST_ROOT= >> + DYNINST_BOOST_ROOT= >> + '[' '!' -z ']' >> + '[' '!' -z ']' >> + '[' '!' -z /home/galarowi/krellroot_v2.1u3 ']' >> + '[' -f /home/galarowi/krellroot_v2.1u3/lib64/libelf.so -o -f >> /home/galarowi/krellroot_v2.1u3/lib64/libelf.a ']' >> + '[' '!' -z /home/galarowi/krellroot_v2.1u3 ']' >> + '[' -f /home/galarowi/krellroot_v2.1u3//libelf.so -o -f >> /home/galarowi/krellroot_v2.1u3//libelf.a ']' >> + '[' -d /home/galarowi/krellroot_v2.1u3 ']' >> + '[' -f /home/galarowi/krellroot_v2.1u3/lib64/libelf.so -o -f >> /home/galarowi/krellroot_v2.1u3/lib64/libelf.a ']' >> + export LIBELFDIR=/usr >> + LIBELFDIR=/usr >> + '[' -f /usr/include/libelf.h ']' >> + export LIBELFINC=/usr/include >> + LIBELFINC=/usr/include >> + '[' '!' -z ']' >> + '[' '!' -z /home/galarowi/krellroot_v2.1u3 ']' >> + '[' -f /home/galarowi/krellroot_v2.1u3/lib64/libdwarf.so -o -f >> /home/galarowi/krellroot_v2.1u3/lib64/libdwarf.a ']' >> + export LIBDWARFDIR=/home/galarowi/krellroot_v2.1u3 >> + LIBDWARFDIR=/home/galarowi/krellroot_v2.1u3 >> + '[' '!' -z /app/wpostool/COST/binutils-2.23 ']' >> + '[' -f /app/wpostool/COST/binutils-2.23/lib64/libiberty.a ']' >> + export LIBIBERTYLIBDIR=/app/wpostool/COST/binutils-2.23/lib64/libiberty.a >> + LIBIBERTYLIBDIR=/app/wpostool/COST/binutils-2.23/lib64/libiberty.a >> + cd /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01 >> + rm -rf dyninst-8.2 >> + /usr/bin/gzip -dc >> /home/galarowi/OpenSpeedShop_ROOT/SOURCES/dyninst-8.2.tar.gz >> + /bin/tar -xf - >> + STATUS=0 >> + '[' 0 -ne 0 ']' >> + cd dyninst-8.2 >> + /bin/chmod -Rf a+rX,u+w,g-w,o-w . >> + echo 'Patch (dyninst-8.2.patch):' >> Patch (dyninst-8.2.patch): >> + /bin/cat /home/galarowi/OpenSpeedShop_ROOT/SOURCES/dyninst-8.2.patch >> + /usr/bin/patch -p1 --fuzz=0 >> (Stripping trailing CRs from patch.) >> patching file CMakeLists.txt >> + pwd >> /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 >> + export >> DYNINST_ROOT=/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 >> + DYNINST_ROOT=/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2 >> + '[' '%{target_prefix}' == bgp ']' >> + '[' '%{target_prefix}' == bgq ']' >> + CXXFLAGS=-std=c++0x >> + cmake . >> -DCMAKE_INSTALL_PREFIX=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3 >> >> -DINSTALL_LIB_DIR=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3/lib64 >> >> -DINSTALL_INCLUDE_DIR=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3/include/dyninst >> >> -DCMAKE_PREFIX_PATH=/home/galarowi/OpenSpeedShop_ROOT/BUILDROOT/dyninst-8.2-1.x86_64/home/galarowi/krellroot_v2.1u3 >> -DCMAKE_BUILD_TYPE=RelWithDebInfo >> -DLIBDWARF_LIBRARIES=/home/galarowi/krellroot_v2.1u3/lib64 >> -DLIBDWARF_INCLUDE_DIR=/home/galarowi/krellroot_v2.1u3/include >> -DLIBELF_LIBRARIES=/usr/lib64 -DLIBELF_INCLUDE_DIR=/usr/include >> -DPATH_BOOST= >> -DIBERTY_LIBRARY=/app/wpostool/COST/binutils-2.23/lib64/libiberty.a >> -- The C compiler identification is unknown >> -- The CXX compiler identification is unknown >> -- Check for working C compiler: /usr/bin/cc >> -- Check for working C compiler: /usr/bin/cc -- broken >> CMake Error at >> /work1/app/gnu/platforms/x86_64/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 >> (message): >> The C compiler "/usr/bin/cc" is not able to compile a simple test program. > > CMake isn't choosing the correct compiler here. Try explicitely setting > CC=/usr/bin/gcc and CXX=/usr/bin/g++ on the CMake invocation line. > >> It fails with the following output: >> >> Change Dir: >> /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/CMakeFiles/CMakeTmp >> >> >> >> Run Build Command:/usr/bin/gmake "cmTryCompileExec780896754/fast" >> >> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec780896754.dir/build.make >> CMakeFiles/cmTryCompileExec780896754.dir/build >> >> gmake[1]: Entering directory >> `/work1/home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/CMakeFiles/CMakeTmp' >> >> >> /work1/app/gnu/platforms/x86_64/bin/cmake -E cmake_progress_report >> /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/CMakeFiles/CMakeTmp/CMakeFiles >> 1 >> >> Building C object >> CMakeFiles/cmTryCompileExec780896754.dir/testCCompiler.c.o >> >> /usr/bin/cc -o CMakeFiles/cmTryCompileExec780896754.dir/testCCompiler.c.o >> -c >> /home/galarowi/OpenSpeedShop_ROOT/BUILD/spirit01/dyninst-8.2/CMakeFiles/CMakeTmp/testCCompiler.c >> >> >> as: error while loading shared libraries: libimf.so: cannot open shared >> object file: No such file or directory > > libimf.so is an intel compiler library, and should only be used by backend > compilers. So I'll guess that /usr/bin/cc is a backend icc compiler. > > -Matt > _______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api