rpms/google-perftools/EL-4 google-perftools-0.92-norpath.patch, NONE, 1.1 google-perftools.spec, 1.7, 1.8

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Aug 1 20:21:03 UTC 2007


Author: spot

Update of /cvs/pkgs/rpms/google-perftools/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1740/EL-4

Modified Files:
	google-perftools.spec 
Added Files:
	google-perftools-0.92-norpath.patch 
Log Message:

fix the old dogs


google-perftools-0.92-norpath.patch:

--- NEW FILE google-perftools-0.92-norpath.patch ---
diff -up google-perftools-0.92/Makefile.am.norpath google-perftools-0.92/Makefile.am
--- google-perftools-0.92/Makefile.am.norpath	2007-07-17 17:11:38.000000000 -0500
+++ google-perftools-0.92/Makefile.am	2007-08-01 15:54:23.000000000 -0500
@@ -218,7 +218,7 @@ tcmalloc_unittest_SOURCES = src/tests/tc
                             $(TCMALLOC_UNITTEST_INCLUDES)
 tcmalloc_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-tcmalloc_unittest_LDADD = libtcmalloc.la liblogging.la $(PTHREAD_LIBS)
+tcmalloc_unittest_LDADD = libtcmalloc.la liblogging.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += tcmalloc_minimal_unittest
 WINDOWS_PROJECTS += vsprojects/tcmalloc_minimal_unittest/tcmalloc_minimal_unittest.vcproj
@@ -228,7 +228,7 @@ tcmalloc_minimal_unittest_SOURCES = src/
 tcmalloc_minimal_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_minimal_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_minimal_unittest_LDADD = libtcmalloc_minimal.la \
-                                  liblogging.la $(PTHREAD_LIBS)
+                                  liblogging.la libstacktrace.la $(PTHREAD_LIBS)
 
 # This makes sure it's safe to link in both tcmalloc and tcmalloc_minimal.
 # (One would never do this on purpose, but perhaps by accident...)
@@ -239,20 +239,20 @@ tcmalloc_both_unittest_SOURCES = src/tes
 tcmalloc_both_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_both_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_both_unittest_LDADD = libtcmalloc.la libtcmalloc_minimal.la \
-                               liblogging.la $(PTHREAD_LIBS)
+                               liblogging.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += tcmalloc_large_unittest
 tcmalloc_large_unittest_SOURCES = src/tests/tcmalloc_large_unittest.cc
 tcmalloc_large_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_large_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-tcmalloc_large_unittest_LDADD = libtcmalloc.la $(PTHREAD_LIBS)
+tcmalloc_large_unittest_LDADD = libtcmalloc.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += tcmalloc_minimal_large_unittest
 WINDOWS_PROJECTS += vsprojects/tcmalloc_minimal_large/tcmalloc_minimal_large_unittest.vcproj
 tcmalloc_minimal_large_unittest_SOURCES = src/tests/tcmalloc_large_unittest.cc
 tcmalloc_minimal_large_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_minimal_large_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-tcmalloc_minimal_large_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+tcmalloc_minimal_large_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 # This tests it works to LD_PRELOAD libtcmalloc (tests maybe_threads.cc)
 TESTS += maybe_threads_unittest.sh
@@ -271,7 +271,7 @@ system_alloc_unittest_SOURCES = src/conf
                                 src/tests/system-alloc_unittest.cc
 system_alloc_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 system_alloc_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-system_alloc_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+system_alloc_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += packed_cache_test
 WINDOWS_PROJECTS += vsprojects/packed-cache_test/packed-cache_test.vcproj
@@ -302,7 +302,7 @@ WINDOWS_PROJECTS += vsprojects/frag_unit
 frag_unittest_SOURCES = src/tests/frag_unittest.cc src/config_for_unittests.h
 frag_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 frag_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-frag_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+frag_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += markidle_unittest
 WINDOWS_PROJECTS += vsprojects/markidle_unittest/markidle_unittest.vcproj
@@ -311,7 +311,7 @@ markidle_unittest_SOURCES = src/tests/ma
                             src/tests/testutil.h src/tests/testutil.cc
 markidle_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 markidle_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-markidle_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+markidle_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += memalign_unittest
 WINDOWS_PROJECTS += vsprojects/memalign_unittest/memalign_unittest.vcproj
@@ -320,7 +320,7 @@ memalign_unittest_SOURCES = src/tests/me
                             src/tcmalloc.h
 memalign_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 memalign_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-memalign_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+memalign_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += thread_dealloc_unittest
 WINDOWS_PROJECTS += vsprojects/thread_dealloc_unittest/thread_dealloc_unittest.vcproj
@@ -329,7 +329,7 @@ thread_dealloc_unittest_SOURCES = src/te
                                   src/tests/testutil.h src/tests/testutil.cc
 thread_dealloc_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 thread_dealloc_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-thread_dealloc_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+thread_dealloc_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 ### Documentation
 dist_doc_DATA += doc/tcmalloc.html \
@@ -453,7 +453,7 @@ heap_profiler_unittest_SOURCES = src/tes
                                  $(HEAP_PROFILER_UNITTEST_INCLUDES)
 heap_profiler_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 heap_profiler_unittest_LDFLAGS = -g $(PTHREAD_CFLAGS)
-heap_profiler_unittest_LDADD = libtcmalloc.la $(PTHREAD_LIBS)
+heap_profiler_unittest_LDADD = libtcmalloc.la libstacktrace.la $(PTHREAD_LIBS)
 
 TESTS += heap-checker_unittest.sh
 heap_checker_unittest_sh_SOURCES = src/tests/heap-checker_unittest.sh
@@ -534,22 +534,22 @@ PROFILER_UNITTEST_SRCS = src/tests/profi
                          $(PROFILER_UNITTEST_INCLUDES)
 profiler1_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler1_unittest_CXXFLAGS = -g -DNO_THREADS
-profiler1_unittest_LDADD = libprofiler.la
+profiler1_unittest_LDADD = libprofiler.la libstacktrace.la
 profiler2_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler2_unittest_CXXFLAGS = -g -DNO_THREADS
-profiler2_unittest_LDADD = -lprofiler
+profiler2_unittest_LDADD = -lprofiler -lstacktrace
 # We depend on -lprofiler but haven't yet said how to build it.  Do so now.
-profiler2_unittest_DEPENDENCIES = libprofiler.la
+profiler2_unittest_DEPENDENCIES = libprofiler.la libstacktrace.la
 profiler3_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler3_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 profiler3_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-profiler3_unittest_LDADD = libprofiler.la $(PTHREAD_LIBS)
+profiler3_unittest_LDADD = libprofiler.la libstacktrace.la $(PTHREAD_LIBS)
 profiler4_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler4_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 profiler4_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-profiler4_unittest_LDADD = -lprofiler $(PTHREAD_LIBS)
+profiler4_unittest_LDADD = -lprofiler -lstacktrace $(PTHREAD_LIBS)
 # We depend on -lprofiler but haven't yet said how to build it.  Do so now.
-profiler4_unittest_DEPENDENCIES = libprofiler.la
+profiler4_unittest_DEPENDENCIES = libprofiler.la libstacktrace.la
 
 
 ### Documentation
diff -up google-perftools-0.92/Makefile.in.norpath google-perftools-0.92/Makefile.in
--- google-perftools-0.92/Makefile.in.norpath	2007-07-18 00:37:58.000000000 -0500
+++ google-perftools-0.92/Makefile.in	2007-08-01 15:54:58.000000000 -0500
@@ -155,7 +155,7 @@ atomicops_unittest_OBJECTS = $(am_atomic
 atomicops_unittest_DEPENDENCIES = libspinlock.la liblogging.la
 am_frag_unittest_OBJECTS = frag_unittest-frag_unittest.$(OBJEXT)
 frag_unittest_OBJECTS = $(am_frag_unittest_OBJECTS)
-frag_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+frag_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_heap_checker_death_unittest_sh_OBJECTS =
 heap_checker_death_unittest_sh_OBJECTS =  \
@@ -175,7 +175,7 @@ am_heap_profiler_unittest_OBJECTS =  \
 	heap_profiler_unittest-heap-profiler_unittest.$(OBJEXT) \
 	$(am__objects_1)
 heap_profiler_unittest_OBJECTS = $(am_heap_profiler_unittest_OBJECTS)
-heap_profiler_unittest_DEPENDENCIES = libtcmalloc.la \
+heap_profiler_unittest_DEPENDENCIES = libtcmalloc.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_heap_profiler_unittest_sh_OBJECTS =
 heap_profiler_unittest_sh_OBJECTS =  \
@@ -192,7 +192,7 @@ am_markidle_unittest_OBJECTS =  \
 	markidle_unittest-markidle_unittest.$(OBJEXT) \
 	markidle_unittest-testutil.$(OBJEXT)
 markidle_unittest_OBJECTS = $(am_markidle_unittest_OBJECTS)
-markidle_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+markidle_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_maybe_threads_unittest_sh_OBJECTS =
 maybe_threads_unittest_sh_OBJECTS =  \
@@ -201,7 +201,7 @@ maybe_threads_unittest_sh_LDADD = $(LDAD
 am_memalign_unittest_OBJECTS =  \
 	memalign_unittest-memalign_unittest.$(OBJEXT)
 memalign_unittest_OBJECTS = $(am_memalign_unittest_OBJECTS)
-memalign_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+memalign_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_packed_cache_test_OBJECTS = packed-cache_test.$(OBJEXT)
 packed_cache_test_OBJECTS = $(am_packed_cache_test_OBJECTS)
@@ -210,7 +210,7 @@ am__objects_6 = profiler1_unittest-profi
 	profiler1_unittest-testutil.$(OBJEXT) $(am__objects_1)
 am_profiler1_unittest_OBJECTS = $(am__objects_6)
 profiler1_unittest_OBJECTS = $(am_profiler1_unittest_OBJECTS)
-profiler1_unittest_DEPENDENCIES = libprofiler.la
+profiler1_unittest_DEPENDENCIES = libprofiler.la libstacktrace.la
 am__objects_7 = profiler2_unittest-profiler_unittest.$(OBJEXT) \
 	profiler2_unittest-testutil.$(OBJEXT) $(am__objects_1)
 am_profiler2_unittest_OBJECTS = $(am__objects_7)
@@ -219,7 +219,7 @@ am__objects_8 = profiler3_unittest-profi
 	profiler3_unittest-testutil.$(OBJEXT) $(am__objects_1)
 am_profiler3_unittest_OBJECTS = $(am__objects_8)
 profiler3_unittest_OBJECTS = $(am_profiler3_unittest_OBJECTS)
-profiler3_unittest_DEPENDENCIES = libprofiler.la $(am__DEPENDENCIES_1)
+profiler3_unittest_DEPENDENCIES = libprofiler.la libstacktrace.la $(am__DEPENDENCIES_1)
 am__objects_9 = profiler4_unittest-profiler_unittest.$(OBJEXT) \
 	profiler4_unittest-testutil.$(OBJEXT) $(am__objects_1)
 am_profiler4_unittest_OBJECTS = $(am__objects_9)
@@ -242,44 +242,44 @@ stacktrace_unittest_DEPENDENCIES = libst
 am_system_alloc_unittest_OBJECTS =  \
 	system_alloc_unittest-system-alloc_unittest.$(OBJEXT)
 system_alloc_unittest_OBJECTS = $(am_system_alloc_unittest_OBJECTS)
-system_alloc_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+system_alloc_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_tcmalloc_both_unittest_OBJECTS =  \
 	tcmalloc_both_unittest-tcmalloc_unittest.$(OBJEXT) \
 	tcmalloc_both_unittest-testutil.$(OBJEXT) $(am__objects_1)
 tcmalloc_both_unittest_OBJECTS = $(am_tcmalloc_both_unittest_OBJECTS)
-tcmalloc_both_unittest_DEPENDENCIES = libtcmalloc.la \
+tcmalloc_both_unittest_DEPENDENCIES = libtcmalloc.la libstacktrace.la \
 	libtcmalloc_minimal.la liblogging.la $(am__DEPENDENCIES_1)
 am_tcmalloc_large_unittest_OBJECTS =  \
 	tcmalloc_large_unittest-tcmalloc_large_unittest.$(OBJEXT)
 tcmalloc_large_unittest_OBJECTS =  \
 	$(am_tcmalloc_large_unittest_OBJECTS)
-tcmalloc_large_unittest_DEPENDENCIES = libtcmalloc.la \
+tcmalloc_large_unittest_DEPENDENCIES = libtcmalloc.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_tcmalloc_minimal_large_unittest_OBJECTS = tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.$(OBJEXT)
 tcmalloc_minimal_large_unittest_OBJECTS =  \
 	$(am_tcmalloc_minimal_large_unittest_OBJECTS)
-tcmalloc_minimal_large_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+tcmalloc_minimal_large_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_tcmalloc_minimal_unittest_OBJECTS =  \
 	tcmalloc_minimal_unittest-tcmalloc_unittest.$(OBJEXT) \
 	tcmalloc_minimal_unittest-testutil.$(OBJEXT) $(am__objects_1)
 tcmalloc_minimal_unittest_OBJECTS =  \
 	$(am_tcmalloc_minimal_unittest_OBJECTS)
-tcmalloc_minimal_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+tcmalloc_minimal_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	liblogging.la $(am__DEPENDENCIES_1)
 am_tcmalloc_unittest_OBJECTS =  \
 	tcmalloc_unittest-tcmalloc_unittest.$(OBJEXT) \
 	tcmalloc_unittest-testutil.$(OBJEXT) $(am__objects_1)
 tcmalloc_unittest_OBJECTS = $(am_tcmalloc_unittest_OBJECTS)
-tcmalloc_unittest_DEPENDENCIES = libtcmalloc.la liblogging.la \
+tcmalloc_unittest_DEPENDENCIES = libtcmalloc.la liblogging.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 am_thread_dealloc_unittest_OBJECTS =  \
 	thread_dealloc_unittest-thread_dealloc_unittest.$(OBJEXT) \
 	thread_dealloc_unittest-testutil.$(OBJEXT)
 thread_dealloc_unittest_OBJECTS =  \
 	$(am_thread_dealloc_unittest_OBJECTS)
-thread_dealloc_unittest_DEPENDENCIES = libtcmalloc_minimal.la \
+thread_dealloc_unittest_DEPENDENCIES = libtcmalloc_minimal.la libstacktrace.la \
 	$(am__DEPENDENCIES_1)
 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
 SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS)
@@ -743,7 +743,7 @@ tcmalloc_unittest_SOURCES = src/tests/tc
 
 tcmalloc_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-tcmalloc_unittest_LDADD = libtcmalloc.la liblogging.la $(PTHREAD_LIBS)
+tcmalloc_unittest_LDADD = libtcmalloc.la liblogging.la libstacktrace.la $(PTHREAD_LIBS)
 tcmalloc_minimal_unittest_SOURCES = src/tests/tcmalloc_unittest.cc \
                                     src/tests/testutil.h src/tests/testutil.cc \
                                     $(TCMALLOC_UNITTEST_INCLUDES)
@@ -751,7 +751,7 @@ tcmalloc_minimal_unittest_SOURCES = src/
 tcmalloc_minimal_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_minimal_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_minimal_unittest_LDADD = libtcmalloc_minimal.la \
-                                  liblogging.la $(PTHREAD_LIBS)
+                                  liblogging.la libstacktrace.la $(PTHREAD_LIBS)
 
 tcmalloc_both_unittest_SOURCES = src/tests/tcmalloc_unittest.cc \
                                  src/tests/testutil.h src/tests/testutil.cc \
@@ -760,23 +760,23 @@ tcmalloc_both_unittest_SOURCES = src/tes
 tcmalloc_both_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_both_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_both_unittest_LDADD = libtcmalloc.la libtcmalloc_minimal.la \
-                               liblogging.la $(PTHREAD_LIBS)
+                               liblogging.la libstacktrace.la $(PTHREAD_LIBS)
 
 tcmalloc_large_unittest_SOURCES = src/tests/tcmalloc_large_unittest.cc
 tcmalloc_large_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_large_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-tcmalloc_large_unittest_LDADD = libtcmalloc.la $(PTHREAD_LIBS)
+tcmalloc_large_unittest_LDADD = libtcmalloc.la libstacktrace.la $(PTHREAD_LIBS)
 tcmalloc_minimal_large_unittest_SOURCES = src/tests/tcmalloc_large_unittest.cc
 tcmalloc_minimal_large_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 tcmalloc_minimal_large_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-tcmalloc_minimal_large_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+tcmalloc_minimal_large_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 maybe_threads_unittest_sh_SOURCES = src/tests/maybe_threads_unittest.sh
 system_alloc_unittest_SOURCES = src/config_for_unittests.h \
                                 src/tests/system-alloc_unittest.cc
 
 system_alloc_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 system_alloc_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-system_alloc_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+system_alloc_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 packed_cache_test_SOURCES = src/tests/packed-cache_test.cc \
                             src/packed-cache-inl.h \
                             src/base/logging.h
@@ -802,28 +802,28 @@ ptmalloc_unittest2_LDADD = $(PTHREAD_LIB
 frag_unittest_SOURCES = src/tests/frag_unittest.cc src/config_for_unittests.h
 frag_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 frag_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-frag_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+frag_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 markidle_unittest_SOURCES = src/tests/markidle_unittest.cc \
                             src/config_for_unittests.h \
                             src/tests/testutil.h src/tests/testutil.cc
 
 markidle_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 markidle_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-markidle_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+markidle_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 memalign_unittest_SOURCES = src/tests/memalign_unittest.cc \
                             src/config_for_unittests.h \
                             src/tcmalloc.h
 
 memalign_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 memalign_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-memalign_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+memalign_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 thread_dealloc_unittest_SOURCES = src/tests/thread_dealloc_unittest.cc \
                                   src/config_for_unittests.h \
                                   src/tests/testutil.h src/tests/testutil.cc
 
 thread_dealloc_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
 thread_dealloc_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-thread_dealloc_unittest_LDADD = libtcmalloc_minimal.la $(PTHREAD_LIBS)
+thread_dealloc_unittest_LDADD = libtcmalloc_minimal.la libstacktrace.la $(PTHREAD_LIBS)
 
 ### ------- tcmalloc (thread-caching malloc + heap profiler + heap checker)
 
@@ -895,7 +895,7 @@ heap_profiler_unittest_SOURCES = src/tes
 
 heap_profiler_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 heap_profiler_unittest_LDFLAGS = -g $(PTHREAD_CFLAGS)
-heap_profiler_unittest_LDADD = libtcmalloc.la $(PTHREAD_LIBS)
+heap_profiler_unittest_LDADD = libtcmalloc.la libstacktrace.la $(PTHREAD_LIBS)
 heap_checker_unittest_sh_SOURCES = src/tests/heap-checker_unittest.sh
 heap_checker_death_unittest_sh_SOURCES = src/tests/heap-checker-death_unittest.sh
 HEAP_CHECKER_UNITTEST_INCLUDES = src/config_for_unittests.h \
@@ -911,7 +911,7 @@ heap_checker_unittest_SOURCES = src/test
 heap_checker_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 heap_checker_unittest_LDFLAGS = -g $(PTHREAD_CFLAGS)
 # tcmalloc has to be specified last!
-heap_checker_unittest_LDADD = $(PTHREAD_LIBS) liblogging.la -ltcmalloc
+heap_checker_unittest_LDADD = $(PTHREAD_LIBS) liblogging.la -ltcmalloc -lstacktrace
 
 ### ------- CPU profiler
 
@@ -943,22 +943,22 @@ PROFILER_UNITTEST_SRCS = src/tests/profi
 
 profiler1_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler1_unittest_CXXFLAGS = -g -DNO_THREADS
-profiler1_unittest_LDADD = libprofiler.la
+profiler1_unittest_LDADD = libprofiler.la libstacktrace.la
 profiler2_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler2_unittest_CXXFLAGS = -g -DNO_THREADS
-profiler2_unittest_LDADD = -lprofiler
+profiler2_unittest_LDADD = -lprofiler -lstacktrace
 # We depend on -lprofiler but haven't yet said how to build it.  Do so now.
-profiler2_unittest_DEPENDENCIES = libprofiler.la
+profiler2_unittest_DEPENDENCIES = libprofiler.la libstacktrace.la
 profiler3_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler3_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 profiler3_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-profiler3_unittest_LDADD = libprofiler.la $(PTHREAD_LIBS)
+profiler3_unittest_LDADD = libprofiler.la libstacktrace.la $(PTHREAD_LIBS)
 profiler4_unittest_SOURCES = $(PROFILER_UNITTEST_SRCS)
 profiler4_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS)
 profiler4_unittest_LDFLAGS = $(PTHREAD_CFLAGS)
-profiler4_unittest_LDADD = -lprofiler $(PTHREAD_LIBS)
+profiler4_unittest_LDADD = -lprofiler -lstacktrace $(PTHREAD_LIBS)
 # We depend on -lprofiler but haven't yet said how to build it.  Do so now.
-profiler4_unittest_DEPENDENCIES = libprofiler.la
+profiler4_unittest_DEPENDENCIES = libprofiler.la libstacktrace.la
 EXTRA_DIST = packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh packages/deb \
              $(SCRIPTS) libtool \
              src/windows $(WINDOWS_PROJECTS) src/solaris/libstdc++.la


Index: google-perftools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/google-perftools/EL-4/google-perftools.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- google-perftools.spec	1 Aug 2007 20:10:37 -0000	1.7
+++ google-perftools.spec	1 Aug 2007 20:20:31 -0000	1.8
@@ -1,15 +1,16 @@
 Name:		google-perftools
 Version:	0.92
-Release:	1%{?dist}.1
+Release:	1%{?dist}.2
 License:	BSD
 Group:		Development/Tools
 Summary:	Very fast malloc and performance analysis tools
 URL:		http://code.google.com/p/google-perftools/
 Source0:	http://google-perftools.googlecode.com/files/google-perftools-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	libunwind-devel
 # No support for PPC yet. Bugzilla 238390
 ExcludeArch:	ppc ppc64
+# No libunwind
+ExcludeArch:	x86_64
 Patch0:		google-perftools-0.92-norpath.patch
 
 %description




More information about the fedora-extras-commits mailing list