Hi Rob,

Could you try removing the build dir (and the scons cache along with it)?

Andreas


From: Robert PINSKER <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 27 November 2012 17:05
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] How do I get the gem5 build to incorporate gperftools 
installed in a separate directory?

Thanks for the help, but it doesn’t seem to make any difference:

pinskerr@bril0002(610)% env | grep PATH
LD_LIBRARY_PATH=/sw/freetools/gperftools/2.0/Linux/rh5/x86_64/lib:/sw/freetools/subversion/1.6.9/Linux/rh5/x86_64/lib:/sw/freetools/zlib/1.2.7/Linux/rh5/x86_64/lib:/sw/freetools/swig/2.0.8/Linux/rh5/x86_64/lib:/sw/freetools/scons/2.1.0/Linux/rh5/x86_64/lib:/sw/freetools/mercurial/2.3/Linux/rh5/x86_64/lib:/sw/freetools/python/2.7.2/Linux/rh5/x86_64/lib:/sw/freetools/gcc/4.6.3/Linux/rh5/x86_64/lib:/sw/freetools/gcc/4.6.3/Linux/rh5/x86_64/lib64:/pd/gcc/3.4.3/lib:/lib:/sw/platform/lsf/7.0/linux2.6-glibc2.3-x86_64/lib:/usr/lib:/usr/local/lib
PATH=/sw/freetools/gperftools/2.0/Linux/rh5/x86_64/bin:/sw/unicad/UnicadKernel/3.4/bin:/sw/arm/ds-5/5.11/bin:/design/HED_A9SS/workarea/pinskerr/benchmarksoftware/util:/sw/freetools/subversion/1.6.9/Linux/rh5/x86_64/bin:/sw/freetools/m4/1.4.16/Linux/rh5/x86_64/bin:/sw/freetools/zlib/1.2.7/Linux/rh5/x86_64/bin:/sw/freetools/swig/2.0.8/Linux/rh5/x86_64/bin:/sw/freetools/scons/2.1.0/Linux/rh5/x86_64/bin:/sw/freetools/mercurial/2.3/Linux/rh5/x86_64/bin:/sw/freetools/python/2.7.2/Linux/rh5/x86_64/bin:/sw/freetools/gcc/4.6.3/Linux/rh5/x86_64/bin:/design/HED_A9SS/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/2012.03/bin:/design/HED_A9SS/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/2012.03/bin/:.:/sw/platform/lsf/7.0/linux2.6-glibc2.3-x86_64/etc:/sw/platform/lsf/7.0/linux2.6-glibc2.3-x86_64/bin:/design/rmc/bin:/usr/atria/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/pd/perl/5.8.6/bin:/u/transfer/Tools:/home/pinskerr/bin:/u/ccattbri/Public:/pd/expect/5.43/bin
M5_PATH=/design/HED_A9SS/workarea/pinskerr/gem5/gem5-stdev/system/arm
GEM5_EXTRA_INCLUDE_PATH=/sw/freetools/gperftools/2.0/Linux/rh5/x86_64/include/
LIBRARY_PATH=/sw/freetools/gperftools/2.0/Linux/rh5/x86_64/lib

pinskerr@bril0002(611)% ls $LIBRARY_PATH
libprofiler.a         libtcmalloc.so.4.1.0               libtcmalloc_debug.so.4 
       libtcmalloc_minimal_debug.so        libunwind-setjmp.so.0      
libunwind.so
libprofiler.la        libtcmalloc_and_profiler.a         
libtcmalloc_debug.so.4.1.0    libtcmalloc_minimal_debug.so.4      
libunwind-setjmp.so.0.0.0  libunwind.so.7
libprofiler.so        libtcmalloc_and_profiler.la        libtcmalloc_minimal.a  
       libtcmalloc_minimal_debug.so.4.1.0  libunwind-x86_64.a         
libunwind.so.7.0.0
libprofiler.so.0      libtcmalloc_and_profiler.so        libtcmalloc_minimal.la 
       libunwind-generic.a                 libunwind-x86_64.la        pkgconfig
libprofiler.so.0.3.0  libtcmalloc_and_profiler.so.4      libtcmalloc_minimal.so 
       libunwind-generic.so                libunwind-x86_64.so
libtcmalloc.a         libtcmalloc_and_profiler.so.4.1.0  
libtcmalloc_minimal.so.4      libunwind-ptrace.a                  
libunwind-x86_64.so.7
libtcmalloc.la        libtcmalloc_debug.a                
libtcmalloc_minimal.so.4.1.0  libunwind-setjmp.a                  
libunwind-x86_64.so.7.0.0
libtcmalloc.so        libtcmalloc_debug.la               
libtcmalloc_minimal_debug.a   libunwind-setjmp.la                 libunwind.a
libtcmalloc.so.4      libtcmalloc_debug.so               
libtcmalloc_minimal_debug.la  libunwind-setjmp.so                 libunwind.la

pinskerr@bril0002(609)% scons build/ARM/gem5.opt --verbose
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.7... (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 
/design/HED_A9SS/workarea/pinskerr/gem5/gem5-stdev/src/arch/alpha/SConsopts
Reading 
/design/HED_A9SS/workarea/pinskerr/gem5/gem5-stdev/src/arch/arm/SConsopts
Reading 
/design/HED_A9SS/workarea/pinskerr/gem5/gem5-stdev/src/arch/mips/SConsopts
R

Robert Pinsker


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to