It's in the build directory. You can also look at the build/.scons_config directory to see what it was doing when it tried to test-link the library. Ali
On Dec 18, 2012, at 11:27 AM, Paul Rosenfeld <dramnin...@gmail.com> wrote: > You'll probably want to look at the config.log file (I can't quite remember > if this is what scons calls it) for more details on what is happening. > > > > On Tue, Dec 18, 2012 at 9:45 AM, zhengchl <zhengchuan...@hotmail.com> wrote: > I'm sorry for forgetting describe the building in detail. The building > succeed except checking tcmalloc failed. > scons: Reading SConscript files ... > Checking for leading underscore in global variables...(cached) no > Checking for C++11 static_assert support...(cached) yes > Checking for C header file Python.h... (cached) yes > Checking for C library pthread... (cached) yes > Checking for C library dl... (cached) yes > Checking for C library util... (cached) yes > Checking for C library m... (cached) yes > Checking for C library python2.6... (cached) yes > Checking for accept(0,0,0) in C++ library None... (cached) yes > Checking for zlibVersion() in C++ library z... (cached) yes > Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached) no > Checking for clock_nanosleep(0,0,NULL,NULL) in C library rt... (cached) yes > Checking for C library tcmalloc_minimal... (cached) no > You can get a 12% performance improvement by installing tcmalloc > (libgoogle-perftools-dev package on Ubuntu or RedHat). > Checking for C header file fenv.h... (cached) yes > Reading SConsopts > Building in /home/zheng/gem5/cache-phase/build/ALPHA_MOESI_CMP_directory > Using saved variables file > /home/zheng/gem5/cache-phase/build/variables/ALPHA_MOESI_CMP_directory > warning: No header file specified for SimObject: Switch > warning: At least one SimObject lacks a header specification. This can cause > unexpected results in the generated SWIG wrappers. > scons: done reading SConscript files. > scons: Building targets ... > scons: `build/ALPHA_MOESI_CMP_directory/gem5.fast' is up to date. > scons: done building targets. > > On 12/18/2012 10:19 PM, Ali Saidi wrote: >> How did it fail? What does it say? >> >> Ali >> >> On Dec 18, 2012, at 5:14 AM, zhengchl <zhengchuan...@hotmail.com> wrote: >> >>> Hi, >>> >>> My os is Ubuntu 10.04 x86_64. And libgoogle-perftools-dev can't be >>> installed from official repository because of depend problems on ubuntu >>> 10.04, so I have to compile it myself. >>> >>> I think I install libgoogle-perftools successfully because ldconfig can >>> locate those libs and 'gcc -ltcmalloc' also succeed. >>> 116: libtcmalloc_minimal_debug.so.4 (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_minimal_debug.so.4 >>> 117: libtcmalloc_minimal_debug.so (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_minimal_debug.so >>> 118: libtcmalloc_minimal.so.4 (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_minimal.so.4 >>> 119: libtcmalloc_minimal.so (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_minimal.so >>> 120: libtcmalloc_debug.so.4 (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_debug.so.4 >>> 121: libtcmalloc_debug.so (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_debug.so >>> 122: libtcmalloc_and_profiler.so.4 (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_and_profiler.so.4 >>> 123: libtcmalloc_and_profiler.so (libc6,x86-64) => >>> /usr/local/lib/libtcmalloc_and_profiler.so >>> 124: libtcmalloc.so.4 (libc6,x86-64) => /usr/local/lib/libtcmalloc.so.4 >>> 125: libtcmalloc.so (libc6,x86-64) => /usr/local/lib/libtcmalloc.so >>> >>> 82: libunwind.so.7 (libc6,x86-64) => /usr/local/lib/libunwind.so.7 >>> 83: libunwind.so (libc6,x86-64) => /usr/local/lib/libunwind.so >>> 84: libunwind-x86_64.so.7 (libc6,x86-64) => >>> /usr/local/lib/libunwind-x86_64.so.7 >>> 85: libunwind-x86_64.so (libc6,x86-64) => >>> /usr/local/lib/libunwind-x86_64.so >>> 86: libunwind-setjmp.so.0 (libc6,x86-64) => >>> /usr/local/lib/libunwind-setjmp.so.0 >>> 87: libunwind-setjmp.so (libc6,x86-64) => >>> /usr/local/lib/libunwind-setjmp.so >>> >>> >>> What's more, I write a simple scons script to check tcmalloc_minimal and >>> this script succeed too. >>> env = Environment() >>> conf = env.Configure() >>> if conf.CheckLib('tcmalloc_minimal'): >>> print "true" >>> However, when I try "scons build/ALPHA_MOESI_CMP_directory/gem5.opt", >>> tcmallc checking still failed. >>> -- >>> Chuanlei Zheng >>> >>> Department of Computer Science and Technology >>> Nanjing University >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >> >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > -- > Chuanlei Zheng > > Department of Computer Science and Technology > Nanjing University > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users