[glibc] Fix testsuite failures in static C++ tests.

Carlos O'Donell codonell at fedoraproject.org
Wed Jul 24 16:41:50 UTC 2013


commit dbc262b8ededbcfabce6c27cee36a9bbbd6fd0e5
Author: Carlos O'Donell <carlos at redhat.com>
Date:   Wed Jul 24 08:54:14 2013 -0400

    Fix testsuite failures in static C++ tests.
    
    Add build requirement on static libstdc++ library to fix testsuite failures
    for static C++ tests.

 glibc.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 20b053d..52ff051 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -69,7 +69,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: %{glibcversion}
-Release: 5%{?dist}
+Release: 6%{?dist}
 # 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
@@ -269,6 +269,10 @@ BuildRequires: elfutils >= 0.72
 BuildRequires: rpm >= 4.2-0.56
 %endif
 
+# The testsuite builds static C++ binaries that require a static
+# C++ runtime from libstdc++-static.
+BuildRequires: libstdc++-static
+
 # Filter out all GLIBC_PRIVATE symbols since they are internal to
 # the package and should be examined by any other tool.
 %global __filter_GLIBC_PRIVATE 1
@@ -1516,6 +1520,10 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Wed Jul 24 2013 Carlos O'Donell <carlos at redhat.com> - 2.17.90-6
+- Add build requirement on static libstdc++ library to fix testsuite failures
+  for static C++ tests.
+
 * Fri Jul 12 2013 Siddhesh Poyarekar <siddhesh at redhat.com> - 2.17.90-5
 - Enable lock elision support (#982363).
 - Depend on systemd instead of systemd-units (#983760).


More information about the scm-commits mailing list