rpms/glibc/F-9 glibc-sparcv9v-fix-async-unwind-tables.patch, NONE, 1.1 glibc.spec, 1.358, 1.359

Tom Callaway (spot) fedora-extras-commits at redhat.com
Tue May 27 01:47:03 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/glibc/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26019

Modified Files:
	glibc.spec 
Added Files:
	glibc-sparcv9v-fix-async-unwind-tables.patch 
Log Message:
re-enable async-unwind-tables

glibc-sparcv9v-fix-async-unwind-tables.patch:

--- NEW FILE glibc-sparcv9v-fix-async-unwind-tables.patch ---
diff -up glibc-20080412T0741/elf/Makefile.BAD glibc-20080412T0741/elf/Makefile
--- glibc-20080412T0741/elf/Makefile.BAD	2008-05-26 20:09:30.000000000 -0500
+++ glibc-20080412T0741/elf/Makefile	2008-05-26 20:10:19.000000000 -0500
@@ -389,6 +389,8 @@ CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'
 		    -D'SLIBDIR="$(slibdir)"' -DIS_IN_ldconfig=1
 CFLAGS-dl-cache.c = $(SYSCONF-FLAGS)
 CFLAGS-cache.c = $(SYSCONF-FLAGS)
+CFLAGS-soinit.c += -fno-asynchronous-unwind-tables
+CFLAGS-sofini.c += -fno-asynchronous-unwind-tables
 
 CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),-DNOT_IN_libc=1 -DIS_IN_rtld=1)
 


Index: glibc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/F-9/glibc.spec,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -r1.358 -r1.359
--- glibc.spec	18 May 2008 04:22:33 -0000	1.358
+++ glibc.spec	27 May 2008 01:46:16 -0000	1.359
@@ -23,7 +23,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: 2.8
-Release: 5
+Release: 6
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -41,6 +41,7 @@
 Source3: %{glibcname}-fedora-%{glibcdate}.tar.bz2
 Patch0: %{glibcname}-fedora.patch
 Patch1: %{name}-ia64-lib64.patch
+Patch2: glibc-sparcv9v-fix-async-unwind-tables.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Obsoletes: glibc-profile < 2.4
 Provides: ldconfig
@@ -220,6 +221,7 @@
 %patch1 -p1
 %endif
 %endif
+%patch2 -p1
 
 # A lot of programs still misuse memcpy when they have to use
 # memmove. The memcpy implementation below is not tolerant at
@@ -285,13 +287,7 @@
 GXX="g++ -m64"
 %endif
 
-# Applying -fasynchronous-unwind-tables to everything is definitely wrong on sparc arches, probably wrong everywhere.
-# FIXME
-%ifarch sparc sparcv9 sparcv9v sparc64 sparc64v
-BuildFlags="$BuildFlags -DNDEBUG=1"
-%else
 BuildFlags="$BuildFlags -DNDEBUG=1 -fasynchronous-unwind-tables"
-%endif
 #BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
 EnableKernel="--enable-kernel=%{enablekernel}"
 echo "$GCC" > Gcc
@@ -986,6 +982,10 @@
 %endif
 
 %changelog
+* Mon May 26 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.8-6
+- disable async-unwind-tables for soinit.c and sofini.c
+- re-enable fasynchronous-unwind-tables 
+
 * Sun May 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.8-5
 - fasynchronous-unwind-tables causes failures on sparc arches, dont use it
 




More information about the scm-commits mailing list