Merge branch 'f22' into f21

* f22:
  drop -icf patch
This commit is contained in:
Frank Ch. Eigler 2015-06-17 13:12:51 -04:00
commit 7a85d7fb7f
2 changed files with 0 additions and 32 deletions

View File

@ -1,28 +0,0 @@
From 8bb62408827f88d3694cb519eb5bb48ed6216092 Mon Sep 17 00:00:00 2001
From: Josh Stone <jistone@redhat.com>
Date: Fri, 8 May 2015 13:17:36 -0700
Subject: [PATCH] PR18389: disable ICF on tracepoint queries
We want distinct representation of every tracepoint, even if they happen
to look identical to GCC with the same function prototype.
---
buildrun.cxx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/buildrun.cxx b/buildrun.cxx
index 44cb8feac47a..c7d96591f5de 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -853,6 +853,9 @@ make_tracequeries(systemtap_session& s, const map<string,string>& contents)
// RHBZ 655231: later rhel6 kernels' module-signing kbuild logic breaks out-of-tree modules
omf << "CONFIG_MODULE_SIG := n" << endl;
+ // PR18389: disable GCC's Identical Code Folding, since the stubs may look identical
+ omf << "EXTRA_CFLAGS += $(call cc-option,-fno-ipa-icf)" << endl;
+
if (s.kernel_source_tree != "")
omf << "EXTRA_CFLAGS += -I" + s.kernel_source_tree << endl;
--
2.4.0

View File

@ -92,8 +92,6 @@ License: GPLv2+
URL: http://sourceware.org/systemtap/
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
Patch2: systemtap-2.7-disable-tracepoint-icf.patch
# Build*
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++
@ -373,8 +371,6 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
%prep
%setup -q %{?setup_elfutils}
%patch2 -p1
%if %{with_bundled_elfutils}
cd elfutils-%{elfutils_version}
%patch1 -p1