[packages/dyninst] - updated to 9.0.3 (note: new sonames) - updated libname patch (adapted to cmake buildsystem) - remo

qboosh qboosh at pld-linux.org
Sun Oct 25 18:03:33 CET 2015


commit 4fe92e2083816102d694065cb6e5c986a40c24f7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 25 18:03:25 2015 +0100

    - updated to 9.0.3 (note: new sonames)
    - updated libname patch (adapted to cmake buildsystem)
    - removed obsolete link patch
    - added build-symlite patch (build symLite library even it other libs use symtabAPI library)

 dyninst-build-symlite.patch |  23 ++++++
 dyninst-libname.patch       | 180 ++------------------------------------------
 dyninst-link.patch          |  86 ---------------------
 dyninst.spec                |  80 ++++++++++++--------
 4 files changed, 81 insertions(+), 288 deletions(-)
---
diff --git a/dyninst.spec b/dyninst.spec
index 4f8622b..ed81ab9 100644
--- a/dyninst.spec
+++ b/dyninst.spec
@@ -1,29 +1,29 @@
 Summary:	API for Run-time Code Generation
 Summary(pl.UTF-8):	API do generowania kodu w czasie działania
 Name:		dyninst
-Version:	8.1.2
+Version:	9.0.3
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-#Source0Download: http://www.dyninst.org/downloads/dyninst-8.x
-Source0:	http://www.dyninst.org/sites/default/files/downloads/dyninst/%{version}/DyninstAPI-%{version}.tgz
-# Source0-md5:	bf03b33375afa66fe0efa46ce3f4b17a
+#Source0Download: http://www.dyninst.org/downloads/dyninst-9.x
+Source0:	http://www.paradyn.org/release%{version}/DyninstAPI-%{version}.tgz
+# Source0-md5:	8441fb98ea610c3ecd4367e2ceab05df
 Patch0:		%{name}-libname.patch
-Patch1:		%{name}-link.patch
+Patch1:		%{name}-build-symlite.patch
 URL:		http://www.dyninst.org/dyninst
-BuildRequires:	autoconf >= 2.63
+# libiberty
 BuildRequires:	binutils-devel
-BuildRequires:	boost-devel >= 1.42
+BuildRequires:	boost-devel >= 1.47
+BuildRequires:	cmake >= 2.6.4
 BuildRequires:	elfutils-devel
 BuildRequires:	flex
 BuildRequires:	libdwarf-devel >= 0.20130126
-BuildRequires:	libstdc++-devel
+BuildRequires:	libstdc++-devel >= 6:4.7
 BuildRequires:	libxml2-devel >= 2
-BuildRequires:	nasm
 BuildRequires:	sed >= 4.0
-BuildRequires:	tcl-devel >= 8.5
+BuildRequires:	texlive-format-pdflatex
 Requires:	libdwarf >= 0.20130126
-ExclusiveArch:	%{ix86} %{x8664} ppc ppc64
+ExclusiveArch:	%{ix86} %{x8664} ppc ppc64 aarch64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,6 +51,7 @@ Summary:	Header files for dyninst libraries
 Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek dyninst
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel >= 6:4.7
 
 %description devel
 Header files for dyninst libraries.
@@ -70,20 +71,30 @@ Static dyninst libraries.
 %description static -l pl.UTF-8
 Statyczne biblioteki dyninst.
 
+%package doc
+Summary:	Documentation for dyninst libraries
+Summary(pl.UTF-8):	Dokumentacja do bibliotek dyninst
+Group:		Documentation
+
+%description doc
+Documentation for dyninst libraries.
+
+%description doc -l pl.UTF-8
+Dokumentacja do bibliotek dyninst.
+
 %prep
 %setup -q -n DyninstAPI-%{version}
 %patch0 -p1
 %patch1 -p1
 
-%{__sed} -i -e 's/tcl8\.4/tcl8.5/' configure.in
-
 %build
-%{__autoconf}
-%configure \
-	--includedir=%{_includedir}/dyninst
+%cmake . \
+	-DINSTALL_CMAKE_DIR:PATH=%{_libdir}/cmake/Dyninst \
+	-DINSTALL_DOC_DIR:PATH=%{_docdir}/dyninst \
+	-DINSTALL_INCLUDE_DIR:PATH=%{_includedir}/dyninst \
+	-DINSTALL_LIB_DIR:PATH=%{_libdir} \
 
-%{__make} \
-	VERBOSE_COMPILATION=1
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -100,33 +111,36 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc COPYRIGHT ChangeLog README
+%attr(755,root,root) %{_libdir}/libdynC_API.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdynC_API.so.9.0
 %attr(755,root,root) %{_libdir}/libdynDwarf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdynDwarf.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libdynDwarf.so.9.0
 %attr(755,root,root) %{_libdir}/libdynElf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdynElf.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libdynElf.so.9.0
 %attr(755,root,root) %{_libdir}/libdyncommon.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdyncommon.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libdyncommon.so.9.0
 %attr(755,root,root) %{_libdir}/libdyninstAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI.so.9.0
 %attr(755,root,root) %{_libdir}/libdyninstAPI_RT.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI_RT.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libdyninstAPI_RT.so.9.0
 %attr(755,root,root) %{_libdir}/libinstructionAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libinstructionAPI.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libinstructionAPI.so.9.0
 %attr(755,root,root) %{_libdir}/libparseAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libparseAPI.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libparseAPI.so.9.0
 %attr(755,root,root) %{_libdir}/libpatchAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpatchAPI.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libpatchAPI.so.9.0
 %attr(755,root,root) %{_libdir}/libpcontrol.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpcontrol.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libpcontrol.so.9.0
 %attr(755,root,root) %{_libdir}/libstackwalk.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libstackwalk.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libstackwalk.so.9.0
 %attr(755,root,root) %{_libdir}/libsymLite.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsymLite.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libsymLite.so.9.0
 %attr(755,root,root) %{_libdir}/libsymtabAPI.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsymtabAPI.so.8.1
+%attr(755,root,root) %ghost %{_libdir}/libsymtabAPI.so.9.0
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdynC_API.so
 %attr(755,root,root) %{_libdir}/libdynDwarf.so
 %attr(755,root,root) %{_libdir}/libdynElf.so
 %attr(755,root,root) %{_libdir}/libdyncommon.so
@@ -140,7 +154,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libsymLite.so
 %attr(755,root,root) %{_libdir}/libsymtabAPI.so
 %{_includedir}/dyninst
+%{_libdir}/cmake/Dyninst
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libdyninstAPI_RT.a
+%{_libdir}/libsymLite.a
+
+%files doc
+%defattr(644,root,root,755)
+%{_docdir}/dyninst
diff --git a/dyninst-build-symlite.patch b/dyninst-build-symlite.patch
new file mode 100644
index 0000000..054c246
--- /dev/null
+++ b/dyninst-build-symlite.patch
@@ -0,0 +1,23 @@
+--- DyninstAPI-9.0.3/CMakeLists.txt.orig	2015-08-26 18:13:07.000000000 +0200
++++ DyninstAPI-9.0.3/CMakeLists.txt	2015-10-25 08:14:36.270127446 +0100
+@@ -62,9 +62,7 @@
+ if(NOT ${PLATFORM} MATCHES nt)
+   add_subdirectory (elf)
+   add_subdirectory (dwarf)
+-if(SYMREADER MATCHES symLite)
+   add_subdirectory (symlite)
+-endif()
+ # DynC is not compatible with Windows when
+ # we use bison on linux to generate source
+ # TODO: generate with bison configured for
+--- DyninstAPI-9.0.3/symlite/CMakeLists.txt.orig	2015-08-26 18:13:07.000000000 +0200
++++ DyninstAPI-9.0.3/symlite/CMakeLists.txt	2015-10-25 14:59:53.432969271 +0100
+@@ -18,6 +18,8 @@
+ add_library (symLite_static STATIC ${SRC_LIST})
+ FILE (GLOB headers "h/*.h")
+ set_target_properties (symLite symLite_static PROPERTIES PUBLIC_HEADER "${headers}")
++set_target_properties (symLite PROPERTIES SOVERSION ${SOVERSION} VERSION ${LIBVERSION})
++set_target_properties (symLite_static PROPERTIES OUTPUT_NAME symLite)
+ 
+ target_link_private_libraries (symLite common)
+ target_link_private_libraries (symLite dynElf)
diff --git a/dyninst-libname.patch b/dyninst-libname.patch
index d352a82..c846097 100644
--- a/dyninst-libname.patch
+++ b/dyninst-libname.patch
@@ -1,174 +1,10 @@
---- DyninstAPI-8.1.2/common/make.module.tmpl.orig	2013-06-07 19:29:26.000000000 +0200
-+++ DyninstAPI-8.1.2/common/make.module.tmpl	2013-07-12 16:01:20.253626485 +0200
-@@ -29,9 +29,9 @@
+--- DyninstAPI-9.0.3/common/CMakeLists.txt.orig	2015-08-26 18:13:07.000000000 +0200
++++ DyninstAPI-9.0.3/common/CMakeLists.txt	2015-10-25 08:20:06.636787299 +0100
+@@ -112,6 +112,7 @@
+ endif()
  
- ifndef TARGET
- ifndef STATIC_COMPS
--TARGET		= libcommon.so
-+TARGET		= libdyncommon.so
- else
--TARGET      = libcommon.a
-+TARGET      = libdyncommon.a
- endif
- endif
+ dyninst_library(common ${DEPS})
++set_target_properties(common PROPERTIES OUTPUT_NAME dyncommon)
  
---- DyninstAPI-8.1.2/instructionAPI/make.module.tmpl.orig	2013-06-07 19:29:35.000000000 +0200
-+++ DyninstAPI-8.1.2/instructionAPI/make.module.tmpl	2013-07-12 17:17:31.730101306 +0200
-@@ -16,7 +16,7 @@
- CFLAGS		     += $(USEFULWARNINGS) $(DEFINES)
- CXXFLAGS	     += $(USEFULWARNINGS) $(DEFINES)
- 
--LDFLAGS += -lcommon
-+LDFLAGS += -ldyncommon
- 
- ifndef TARGET
- ifdef STATIC_COMPS
---- DyninstAPI-8.1.2/symtabAPI/make.module.tmpl.orig	2013-06-07 19:29:41.000000000 +0200
-+++ DyninstAPI-8.1.2/symtabAPI/make.module.tmpl	2013-07-12 17:53:04.256678481 +0200
-@@ -45,7 +45,7 @@
- endif
- endif
- 
--LDFLAGS     += -L../../common/$(PLATFORM) -lcommon
-+LDFLAGS     += -L../../common/$(PLATFORM) -ldyncommon
- 
- ifdef LIBDWARF_PLATFORM
- LDFLAGS += -L../../dwarf/$(PLATFORM) -ldynDwarf
---- DyninstAPI-8.1.2/parseAPI/make.module.tmpl.orig	2013-06-07 19:29:36.000000000 +0200
-+++ DyninstAPI-8.1.2/parseAPI/make.module.tmpl	2013-07-12 18:27:24.943258667 +0200
-@@ -30,7 +30,7 @@
- CFLAGS		     += $(USEFULWARNINGS) -I$(TO_CORE)/../include
- CXXFLAGS	     += $(USEFULWARNINGS) -I$(TO_CORE)/../include
- 
--LDFLAGS += -L../../common/$(PLATFORM) -lcommon -L../../symlite/$(PLATFORM) -lsymLite
-+LDFLAGS += -L../../common/$(PLATFORM) -ldyncommon -L../../symlite/$(PLATFORM) -lsymLite
- 
- ifneq (x$(WITHOUT_SYMTAB_API),xtrue)
- LDFLAGS += -L../../symtabAPI/$(PLATFORM) -lsymtabAPI
---- DyninstAPI-8.1.2/patchAPI/make.module.tmpl.orig	2013-06-07 19:29:38.000000000 +0200
-+++ DyninstAPI-8.1.2/patchAPI/make.module.tmpl	2013-07-12 19:13:56.526474847 +0200
-@@ -14,7 +14,7 @@
- CFLAGS		     += $(USEFULWARNINGS) -I$(TO_CORE)/../include
- CXXFLAGS	     += $(USEFULWARNINGS) -I$(TO_CORE)/../include
- 
--LDFLAGS += -L../../common/$(PLATFORM) -L../../symtabAPI/$(PLATFORM) -L../../parseAPI/$(PLATFORM) -L../../instructionAPI/$(PLATFORM) -lcommon -lsymtabAPI -linstructionAPI -lparseAPI
-+LDFLAGS += -L../../common/$(PLATFORM) -L../../symtabAPI/$(PLATFORM) -L../../parseAPI/$(PLATFORM) -L../../instructionAPI/$(PLATFORM) -ldyncommon -lsymtabAPI -linstructionAPI -lparseAPI
- 
- LDFLAGS     += $(LIBDIR)
- ifndef USES_NATIVE_CC
---- DyninstAPI-8.1.2/Makefile.orig	2013-06-07 19:29:23.000000000 +0200
-+++ DyninstAPI-8.1.2/Makefile	2013-07-12 20:16:12.919651379 +0200
-@@ -166,14 +166,14 @@
- 	@echo $(Everything)
- 
- PKGCONFIG_CFLAGS = $(CXX_REQ_FLAGS) -I$(includedir)
--PKGCONFIG_LIBS = -L$(libdir) -ldyninstAPI -lstackwalk -lpcontrol -lpatchAPI -lparseAPI -linstructionAPI -lsymtabAPI -lsymLite -ldynDwarf -ldynElf -lcommon 
-+PKGCONFIG_LIBS = -ldyninstAPI -lstackwalk -lpcontrol -lpatchAPI -lparseAPI -linstructionAPI -lsymtabAPI -lsymLite -ldynDwarf -ldynElf -ldyncommon 
- 
- ifdef LIBDWARF_PLATFORM
- PKGCONFIG_CFLAGS += -I$(LIBDWARF_INC)
- ifeq (xtrue,x$(LIBDWARF_STATIC))
- PKGCONFIG_LIBS += -rdynamic -Wl,--whole-archive
- endif
--PKGCONFIG_LIBS += -L$(LIBDWARF_LIB) -ldwarf
-+PKGCONFIG_LIBS += -ldwarf
- ifeq (xtrue,x$(LIBDWARF_STATIC))
- PKGCONFIG_LIBS += -Wl,--no-whole-archive
- endif
-@@ -181,7 +181,7 @@
- 
- ifdef LIBELF_PLATFORM
- PKGCONFIG_CFLAGS += -I$(LIBELF_INC)
--PKGCONFIG_LIBS += -L$(LIBELF_LIB) -lelf
-+PKGCONFIG_LIBS += -lelf
- endif
- 
- ifdef USE_LIBIBERTY
---- DyninstAPI-8.1.2/proccontrol/i386-unknown-linux2.4/Makefile.orig	2013-06-07 19:29:38.000000000 +0200
-+++ DyninstAPI-8.1.2/proccontrol/i386-unknown-linux2.4/Makefile	2013-07-12 20:17:24.109648392 +0200
-@@ -11,7 +11,7 @@
- 
- TARGET = libpcontrol.so
- 
--LDFLAGS     += $(LIBDIR) -lcommon
-+LDFLAGS     += $(LIBDIR) -ldyncommon
- 
- SRCS = 	../src/linux.C \
-          ../src/unix.C \
---- DyninstAPI-8.1.2/proccontrol/x86_64-unknown-linux2.4/Makefile.orig	2013-06-07 19:29:39.000000000 +0200
-+++ DyninstAPI-8.1.2/proccontrol/x86_64-unknown-linux2.4/Makefile	2013-07-13 12:37:17.537181065 +0200
-@@ -11,7 +11,7 @@
- 
- TARGET = libpcontrol.so
- 
--LDFLAGS     += $(LIBDIR) -lcommon
-+LDFLAGS     += $(LIBDIR) -ldyncommon
- 
- SRCS =  ../src/linux.C \
-         ../src/unix.C \
---- DyninstAPI-8.1.2/proccontrol/ppc32_linux/Makefile.orig	2013-06-07 19:29:38.000000000 +0200
-+++ DyninstAPI-8.1.2/proccontrol/ppc32_linux/Makefile	2013-07-13 12:37:42.067180035 +0200
-@@ -11,7 +11,7 @@
- 
- TARGET = libpcontrol.so
- 
--LDFLAGS     += $(LIBDIR) -lcommon
-+LDFLAGS     += $(LIBDIR) -ldyncommon
- 
- SRCS =  ../src/linux.C \
-         ../src/unix.C \
---- DyninstAPI-8.1.2/proccontrol/ppc64_linux/Makefile.orig	2013-06-07 19:29:38.000000000 +0200
-+++ DyninstAPI-8.1.2/proccontrol/ppc64_linux/Makefile	2013-07-13 12:37:59.953845953 +0200
-@@ -11,7 +11,7 @@
- 
- TARGET = libpcontrol.so
- 
--LDFLAGS     += $(LIBDIR) -lcommon
-+LDFLAGS     += $(LIBDIR) -ldyncommon
- 
- SRCS = ../src/linux.C \
-        ../src/unix.C \
---- DyninstAPI-8.1.2/stackwalk/i386-unknown-linux2.4/Makefile.orig	2013-06-07 19:29:40.000000000 +0200
-+++ DyninstAPI-8.1.2/stackwalk/i386-unknown-linux2.4/Makefile	2013-07-12 20:35:22.019603157 +0200
-@@ -17,7 +17,7 @@
- # Now make any necessary architecture specific changes to variables:
- include ../make.module.tmpl
- 
--LDFLAGS     += $(LIBDIR) -lcommon -ldl
-+LDFLAGS     += $(LIBDIR) -ldyncommon -ldl
- 
- SRCS += 	../src/linux-swk.C \
- 			../src/linuxbsd-x86-swk.C \
---- DyninstAPI-8.1.2/stackwalk/x86_64-unknown-linux2.4/Makefile.orig	2013-06-07 19:29:40.000000000 +0200
-+++ DyninstAPI-8.1.2/stackwalk/x86_64-unknown-linux2.4/Makefile	2013-07-13 12:38:20.397178429 +0200
-@@ -11,7 +11,7 @@
- 
- include ../../make.config 
- 
--LDFLAGS     += -lcommon
-+LDFLAGS     += -ldyncommon
- 
- SRCS = 	../src/linux-swk.C \
- 	../src/linuxbsd-x86-swk.C \
---- DyninstAPI-8.1.2/stackwalk/ppc32_linux/Makefile.orig	2013-06-07 19:29:40.000000000 +0200
-+++ DyninstAPI-8.1.2/stackwalk/ppc32_linux/Makefile	2013-07-13 12:38:44.507177415 +0200
-@@ -14,7 +14,7 @@
- 
- # Now make any necessary architecture specific changes to variables:
- 
--LDFLAGS     += $(LIBDIR) -lcommon -ldl
-+LDFLAGS     += $(LIBDIR) -ldyncommon -ldl
- 
- SRCS = 	../src/linux-swk.C \
- 	../src/linux-ppc-swk.C \
---- DyninstAPI-8.1.2/stackwalk/ppc64_linux/Makefile.orig	2013-06-07 19:29:40.000000000 +0200
-+++ DyninstAPI-8.1.2/stackwalk/ppc64_linux/Makefile	2013-07-13 12:39:03.747176611 +0200
-@@ -14,7 +14,7 @@
- 
- # Now make any necessary architecture specific changes to variables:
- 
--LDFLAGS     += $(LIBDIR) -lcommon -ldl
-+LDFLAGS     += $(LIBDIR) -ldyncommon -ldl
- 
- SRCS = 	../src/linux-swk.C \
- 	../src/linux-ppc-swk.C \
+ if(PLATFORM MATCHES nt OR PLATFORM MATCHES windows)
+   target_link_libraries(common Psapi WS2_32 dbghelp)
diff --git a/dyninst-link.patch b/dyninst-link.patch
deleted file mode 100644
index c0afdf0..0000000
--- a/dyninst-link.patch
+++ /dev/null
@@ -1,86 +0,0 @@
---- DyninstAPI-8.1.2/proccontrol/make.module.tmpl.orig	2013-06-07 19:29:38.000000000 +0200
-+++ DyninstAPI-8.1.2/proccontrol/make.module.tmpl	2013-07-12 15:56:32.196971904 +0200
-@@ -94,4 +94,4 @@
- LDFLAGS	+= -L../../elf/$(PLATFORM) -ldynElf
- endif
- 
--LDFLAGS += ${EXTRA_LIBS}
-+LDFLAGS += ${EXTRA_LIBS} -lpthread
---- DyninstAPI-8.1.2/dwarf/make.module.tmpl.orig	2013-06-07 19:29:28.000000000 +0200
-+++ DyninstAPI-8.1.2/dwarf/make.module.tmpl	2013-07-12 16:02:51.443622660 +0200
-@@ -32,7 +32,7 @@
- 
- LDFLAGS     += $(LIBDIR)
- LD		= $(GXX)
--LDFLAGS		+= -shared $(G_PTHREAD_LD)
-+LDFLAGS		+= -shared $(G_PTHREAD_LD) -L../../elf/$(PLATFORM) -ldynElf -L../../common/$(PLATFORM) -ldyncommon
- CFLAGS		+= 
- CXXFLAGS	+=  $(G_PTHREAD)
- TFLAGS		+= 
---- DyninstAPI-8.1.2/elf/make.module.tmpl.orig	2013-06-07 19:29:34.000000000 +0200
-+++ DyninstAPI-8.1.2/elf/make.module.tmpl	2013-07-12 16:04:12.173619270 +0200
-@@ -41,7 +41,7 @@
- 
- LDFLAGS     += $(LIBDIR)
- LD		= $(GXX)
--LDFLAGS		+= -shared $(G_PTHREAD_LD)
-+LDFLAGS		+= -shared $(G_PTHREAD_LD) -L../../common/$(PLATFORM) -ldyncommon
- CFLAGS		+= 
- CXXFLAGS	+=  $(G_PTHREAD)
- TFLAGS		+= 
---- DyninstAPI-8.1.2/symlite/make.module.tmpl.orig	2013-06-07 19:29:40.000000000 +0200
-+++ DyninstAPI-8.1.2/symlite/make.module.tmpl	2013-07-12 16:05:24.890282886 +0200
-@@ -43,7 +43,7 @@
- 
- LDFLAGS     += $(LIBDIR)
- LD		= $(GXX)
--LDFLAGS		+= -shared $(G_PTHREAD_LD)
-+LDFLAGS		+= -shared $(G_PTHREAD_LD) -L../../common/$(PLATFORM) -ldyncommon
- CFLAGS		+= 
- CXXFLAGS	+=  $(G_PTHREAD)
- TFLAGS		+= 
---- DyninstAPI-8.1.2/stackwalk/make.module.tmpl.orig	2013-06-07 19:29:40.000000000 +0200
-+++ DyninstAPI-8.1.2/stackwalk/make.module.tmpl	2013-07-12 16:07:28.643611026 +0200
-@@ -86,7 +86,7 @@
- 	LDFLAGS += -L../../symlite/$(PLATFORM) -lsymLite
- endif
- 
--LDFLAGS += -L../../proccontrol/$(PLATFORM) -lpcontrol
-+LDFLAGS += -L../../proccontrol/$(PLATFORM) -lpcontrol -L../../symlite/$(PLATFORM) -lsymLite
- 
- IFLAGS       += -I../$(PLATFORM) -I../src -I../h -I../../proccontrol/h -I../../symtabAPI/h -I../../parseAPI/h -I../../instructionAPI/h
- 
---- DyninstAPI-8.1.2/dyninstAPI/make.module.tmpl.orig	2013-06-07 19:29:29.000000000 +0200
-+++ DyninstAPI-8.1.2/dyninstAPI/make.module.tmpl	2013-07-12 16:08:30.446941764 +0200
-@@ -46,7 +46,7 @@
- USES_DWARF_DEBUG = true
- USES_LIBELF = true
- 
--LDFLAGS += -lpthread -lstackwalk -lpcontrol -lpatchAPI -lparseAPI -linstructionAPI -lsymtabAPI -ldynElf -ldynDwarf 
-+LDFLAGS += -lpthread -lstackwalk -lpcontrol -lpatchAPI -lparseAPI -linstructionAPI -lsymtabAPI -ldynElf -ldynDwarf -ldyncommon
- 
- LDFLAGS     += -L../../common/$(PLATFORM) 
- LDFLAGS     += -L../../elf/$(PLATFORM) 
---- DyninstAPI-8.1.2/make.components.orig	2013-06-07 19:29:35.000000000 +0200
-+++ DyninstAPI-8.1.2/make.components	2013-07-12 17:10:40.483451898 +0200
-@@ -2,9 +2,9 @@
- Everything = dynutil common elf dwarf symlite symtabAPI instructionAPI parseAPI patchAPI proccontrol stackwalk dyninstAPI_RT dyninstAPI dynC_API
- 
- Common          = dynutil common
--Dwarf           = ${Common} dwarf
-+Dwarf           = ${Common} elf dwarf
- Elf             = ${Common} elf
--SymLite         = ${Elf} symlite
-+SymLite         = ${Common} ${Elf} symlite
- SymtabAPI       = ${Common} ${Elf} ${Dwarf} symtabAPI
- InstructionAPI  = ${Common} instructionAPI
- ParseAPI        = ${Common} ${SymtabAPI} ${SymLite} ${InstructionAPI} parseAPI
-@@ -14,7 +14,7 @@
- DynC_API        = ${DyninstAPI} dynC_API
- Dyner           = ${DyninstAPI} dyner
- 
--StackwalkerAPI  = ${ProcControlAPI}
-+StackwalkerAPI  = ${ProcControlAPI} ${SymLite}
- ifndef WITHOUT_PARSE_API
- StackwalkerAPI += ${ParseAPI} ${InstructionAPI}
- endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dyninst.git/commitdiff/4fe92e2083816102d694065cb6e5c986a40c24f7



More information about the pld-cvs-commit mailing list