rpms/libunwind/devel libunwind-disable-setjmp.patch, NONE, 1.1 libunwind.spec, 1.30, 1.31

Jan Kratochvil jkratoch at fedoraproject.org
Wed Jul 15 08:40:20 UTC 2009


Author: jkratoch

Update of /cvs/pkgs/rpms/libunwind/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28345

Modified Files:
	libunwind.spec 
Added Files:
	libunwind-disable-setjmp.patch 
Log Message:
* Wed Jul 15 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 0.99-0.11.20090430betagit4b8404d1
- Disable the libunwind-setjmp library as no longer compatible with glibc and
  no Fedora dependencies on it (FTBSFS BZ 511562).


libunwind-disable-setjmp.patch:

--- NEW FILE libunwind-disable-setjmp.patch ---
At least x86_64 version cannot work, src/setjmp/setjmp.c and
src/setjmp/sigsetjmp.c are not even compiled, src/x86_64/longjmp.S does not
match src/setjmp/setjmp.c + include/tdep-x86_64/jmpbuf.h .

google-perftools link only with libunwind.so.7 .

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ lib_LTLIBRARIES_cdep_setjmp	=
 else
 LIBRARIES_cdep			= libunwind-ptrace.a
 lib_LTLIBRARIES_cdep		= libunwind.la
-lib_LTLIBRARIES_cdep_setjmp	= libunwind-setjmp.la
+lib_LTLIBRARIES_cdep_setjmp	= #libunwind-setjmp.la
 endif
 
 ### libunwind-ptrace:
@@ -27,21 +27,21 @@ libunwind_ptrace_a_SOURCES =						  \
 	ptrace/_UPT_reg_offset.c ptrace/_UPT_resume.c
 
 ### libunwind-setjmp:
-libunwind_setjmp_la_LDFLAGS		= $(COMMON_SO_LDFLAGS)		     \
-					  -version-info $(SETJMP_SO_VERSION)
-libunwind_setjmp_la_LIBADD		= libunwind-$(arch).la -lc
-libunwind_setjmp_la_SOURCES_common	= setjmp/setjmp_i.h 	\
-					  setjmp/longjmp.c	\
-					  setjmp/siglongjmp.c
-libunwind_setjmp_la_SOURCES_arm		= arm/siglongjmp.S
-libunwind_setjmp_la_SOURCES_ia64	= ia64/setjmp.S  ia64/sigsetjmp.S  \
-					  ia64/longjmp.S ia64/siglongjmp.S
-libunwind_setjmp_la_SOURCES_hppa	= hppa/siglongjmp.S
-libunwind_setjmp_la_SOURCES_mips	= mips/siglongjmp.S
-libunwind_setjmp_la_SOURCES_x86		= x86/longjmp.S x86/siglongjmp.S
-libunwind_setjmp_la_SOURCES_x86_64	= x86_64/longjmp.S x86_64/siglongjmp.S
-libunwind_setjmp_la_SOURCES_ppc64       = ppc/longjmp.S ppc/siglongjmp.S
-libunwind_setjmp_la_SOURCES_ppc32       = ppc/longjmp.S ppc/siglongjmp.S
+#libunwind_setjmp_la_LDFLAGS		= $(COMMON_SO_LDFLAGS)		     \
+#					  -version-info $(SETJMP_SO_VERSION)
+#libunwind_setjmp_la_LIBADD		= libunwind-$(arch).la -lc
+#libunwind_setjmp_la_SOURCES_common	= setjmp/setjmp_i.h 	\
+#					  setjmp/longjmp.c	\
+#					  setjmp/siglongjmp.c
+#libunwind_setjmp_la_SOURCES_arm		= arm/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_ia64	= ia64/setjmp.S  ia64/sigsetjmp.S  \
+#					  ia64/longjmp.S ia64/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_hppa	= hppa/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_mips	= mips/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_x86		= x86/longjmp.S x86/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_x86_64	= x86_64/longjmp.S x86_64/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_ppc64       = ppc/longjmp.S ppc/siglongjmp.S
+#libunwind_setjmp_la_SOURCES_ppc32       = ppc/longjmp.S ppc/siglongjmp.S
 
 ### libunwind:
 
@@ -359,8 +359,8 @@ if ARCH_ARM
 if !REMOTE_ONLY
  libunwind_arm_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
-				  $(libunwind_setjmp_la_SOURCES_arm)
+# libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
+#				  $(libunwind_setjmp_la_SOURCES_arm)
 else
 if ARCH_IA64
  ia64_mk_Gcursor_i_SOURCES = ia64/mk_Gcursor_i.c
@@ -378,8 +378,8 @@ Lcursor_i.h: ia64/mk_Lcursor_i
 if !REMOTE_ONLY
  libunwind_ia64_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
-				  $(libunwind_setjmp_la_SOURCES_ia64)
+# libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
+#				  $(libunwind_setjmp_la_SOURCES_ia64)
 else
 if ARCH_HPPA
  lib_LTLIBRARIES_arch = libunwind-hppa.la
@@ -389,8 +389,8 @@ if ARCH_HPPA
 if !REMOTE_ONLY
  libunwind_hppa_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
-				  $(libunwind_setjmp_la_SOURCES_hppa)
+# libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
+#				  $(libunwind_setjmp_la_SOURCES_hppa)
 else
 if ARCH_MIPS
  lib_LTLIBRARIES_arch = libunwind-mips.la
@@ -400,8 +400,8 @@ if ARCH_MIPS
 if !REMOTE_ONLY
  libunwind_mips_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
-				  $(libunwind_setjmp_la_SOURCES_mips)
+# libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
+#				  $(libunwind_setjmp_la_SOURCES_mips)
 else
 if ARCH_X86
  lib_LTLIBRARIES_arch = libunwind-x86.la
@@ -411,8 +411,8 @@ if ARCH_X86
 if !REMOTE_ONLY
  libunwind_x86_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
-				  $(libunwind_setjmp_la_SOURCES_x86)
+# libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
+#				  $(libunwind_setjmp_la_SOURCES_x86)
 else
 if ARCH_X86_64
  lib_LTLIBRARIES_arch = libunwind-x86_64.la
@@ -422,8 +422,8 @@ if ARCH_X86_64
 if !REMOTE_ONLY
  libunwind_x86_64_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
-				  $(libunwind_setjmp_la_SOURCES_x86_64)
+# libunwind_setjmp_la_SOURCES	= $(libunwind_setjmp_la_SOURCES_common) \
+#				  $(libunwind_setjmp_la_SOURCES_x86_64)
 else
 if ARCH_PPC32
  lib_LTLIBRARIES_arch = libunwind-ppc32.la
@@ -433,8 +433,8 @@ if ARCH_PPC32
 if !REMOTE_ONLY
  libunwind_ppc32_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES    = $(libunwind_setjmp_la_SOURCES_common) \
-                                  $(libunwind_setjmp_la_SOURCES_ppc32)
+# libunwind_setjmp_la_SOURCES    = $(libunwind_setjmp_la_SOURCES_common) \
+#                                  $(libunwind_setjmp_la_SOURCES_ppc32)
 else
 if ARCH_PPC64
  lib_LTLIBRARIES_arch = libunwind-ppc64.la
@@ -444,8 +444,8 @@ if ARCH_PPC64
 if !REMOTE_ONLY
  libunwind_ppc64_la_LIBADD = libunwind.la -lc
 endif
- libunwind_setjmp_la_SOURCES    = $(libunwind_setjmp_la_SOURCES_common) \
-                                  $(libunwind_setjmp_la_SOURCES_ppc64)
+# libunwind_setjmp_la_SOURCES    = $(libunwind_setjmp_la_SOURCES_common) \
+#                                  $(libunwind_setjmp_la_SOURCES_ppc64)
 
 endif # ARCH_PPC64
 endif # ARCH_PPC32
@@ -466,7 +466,7 @@ libunwind_la_LIBADD  = -lc $(LIBCRTS)
 
 lib_LIBRARIES = $(LIBRARIES_cdep)
 lib_LTLIBRARIES = $(lib_LTLIBRARIES_cdep) $(lib_LTLIBRARIES_arch) \
-		  $(lib_LTLIBRARIES_cdep_setjmp)
+		  # $(lib_LTLIBRARIES_cdep_setjmp)
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/tdep-$(arch) -I.
 AM_CCASFLAGS = $(AM_CPPFLAGS)
@@ -488,16 +488,16 @@ EXTRA_DIST =	elfxx.h elfxx.c unwind/unwind-internal.h	\
 		$(libunwind_mips_la_SOURCES_mips)		\
 		$(libunwind_x86_la_SOURCES_x86)			\
 		$(libunwind_x86_64_la_SOURCES_x86_64)		\
-		$(libunwind_ptrace_a_SOURCES)			\
-		$(libunwind_setjmp_la_SOURCES_common)		\
-		$(libunwind_setjmp_la_SOURCES_arm)		\
-		$(libunwind_setjmp_la_SOURCES_hppa)		\
-		$(libunwind_setjmp_la_SOURCES_ia64)		\
-		$(libunwind_setjmp_la_SOURCES_mips)		\
-		$(libunwind_setjmp_la_SOURCES_x86)		\
-		$(libunwind_setjmp_la_SOURCES_x86_64)		\
-		$(libunwind_setjmp_la_SOURCES_ppc32)		\
-		$(libunwind_setjmp_la_SOURCES_ppc64)
+		$(libunwind_ptrace_a_SOURCES)
+#		$(libunwind_setjmp_la_SOURCES_common)		\
+#		$(libunwind_setjmp_la_SOURCES_arm)		\
+#		$(libunwind_setjmp_la_SOURCES_hppa)		\
+#		$(libunwind_setjmp_la_SOURCES_ia64)		\
+#		$(libunwind_setjmp_la_SOURCES_mips)		\
+#		$(libunwind_setjmp_la_SOURCES_x86)		\
+#		$(libunwind_setjmp_la_SOURCES_x86_64)		\
+#		$(libunwind_setjmp_la_SOURCES_ppc32)		\
+#		$(libunwind_setjmp_la_SOURCES_ppc64)
 
 
 # The -version-info flag accepts an argument of the form
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,7 +24,8 @@ if ARCH_IA64
 			Gia64-test-nat Lia64-test-nat			\
 			Gia64-test-rbs Lia64-test-rbs			\
 			Gia64-test-readonly Lia64-test-readonly		\
-			ia64-test-setjmp ia64-test-sig
+			ia64-test-sig
+# ia64-test-setjmp
 else
 if ARCH_PPC64
 if USE_ALTIVEC 
@@ -40,8 +41,9 @@ endif #ARCH_IA64
 			Gtest-resume-sig Ltest-resume-sig		 \
 			Gtest-dyn1 Ltest-dyn1				 \
 			test-async-sig test-flush-cache test-init-remote \
-			test-mem test-setjmp test-ptrace		 \
+			test-mem test-ptrace				 \
 			Ltest-nomalloc
+# test-setjmp
  noinst_PROGRAMS_cdep = forker mapper test-ptrace-misc test-varargs	\
 			Gperf-simple Lperf-simple
 
@@ -93,8 +95,8 @@ test_ptrace_misc_SOURCES = test-ptrace-misc.c ident.c
 LIBUNWIND = ../src/libunwind-$(arch).la $(LIBUNWIND_local)
 LDADD = $(LIBUNWIND)
 
-test_setjmp_LDADD = ../src/libunwind-setjmp.la $(LIBUNWIND_local)
-ia64_test_setjmp_LDADD = ../src/libunwind-setjmp.la $(LIBUNWIND_local)
+# test_setjmp_LDADD = ../src/libunwind-setjmp.la $(LIBUNWIND_local)
+# ia64_test_setjmp_LDADD = ../src/libunwind-setjmp.la $(LIBUNWIND_local)
 test_ptrace_LDADD = ../src/libunwind-ptrace.a $(LIBUNWIND)
 Ltest_concurrent_LDADD = $(LIBUNWIND) -lpthread
 Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread


Index: libunwind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libunwind/devel/libunwind.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- libunwind.spec	30 Apr 2009 11:26:05 -0000	1.30
+++ libunwind.spec	15 Jul 2009 08:39:50 -0000	1.31
@@ -9,10 +9,11 @@ Summary: An unwinding library
 Name: libunwind
 Version: 0.99
 %define snapshot 20090430betagit4b8404d1
-Release: 0.10.%{snapshot}%{?dist}
+Release: 0.11.%{snapshot}%{?dist}
 License: BSD
 Group: Development/Debuggers
 Source: libunwind-%{snapshot}.tar.bz2
+Patch1: libunwind-disable-setjmp.patch
 URL: http://savannah.nongnu.org/projects/libunwind
 ExclusiveArch: arm hppa ia64 mips ppc ppc64 %{ix86} x86_64
 
@@ -36,6 +37,7 @@ libunwind.
 
 %prep
 %setup -q -n libunwind-%{snapshot}
+%patch1 -p1
 
 %build
 aclocal
@@ -80,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/libunwind*.h
 
 %changelog
+* Wed Jul 15 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 0.99-0.11.20090430betagit4b8404d1
+- Disable the libunwind-setjmp library as no longer compatible with glibc and
+  no Fedora dependencies on it (FTBSFS BZ 511562).
+
 * Thu Apr 30 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 0.99-0.10.20090430betagit4b8404d1
 - Fix the ia64 variant of GetIPInfo() (BZ 480412).
 




More information about the fedora-extras-commits mailing list