rpms/glibc/F-9 glibc.spec,1.357,1.358

Tom Callaway (spot) fedora-extras-commits at redhat.com
Sun May 18 04:23:21 UTC 2008


Author: spot

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

Modified Files:
	glibc.spec 
Log Message:
fasynchronous-unwind-tables causes failures on sparc arches, dont use it


Index: glibc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/F-9/glibc.spec,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -r1.357 -r1.358
--- glibc.spec	16 May 2008 21:52:03 -0000	1.357
+++ glibc.spec	18 May 2008 04:22:33 -0000	1.358
@@ -23,7 +23,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: 2.8
-Release: 4
+Release: 5
 # 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
@@ -285,7 +285,13 @@
 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
@@ -980,6 +986,9 @@
 %endif
 
 %changelog
+* 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
+
 * Fri May 16 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.8-4
 - sparc64 gets unhappy unless the -mcpu= flag is in the GCC invocation,
   not just in BuildFlags. This is probably a compiler issue (-m64 




More information about the fedora-extras-commits mailing list