summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-11-07 23:17:03 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-11-07 23:17:03 +0000
commit988a4482ed5f7d16172e8775423c9d9d5e958032 (patch)
tree587e091c6f3632faba26b05ede31a4359f8185c8 /dev-util/systemtap
parentdev-util/systemtap: tweak operand constraints for ia64, bug #510134 (diff)
downloadgentoo-988a4482ed5f7d16172e8775423c9d9d5e958032.tar.gz
gentoo-988a4482ed5f7d16172e8775423c9d9d5e958032.tar.bz2
gentoo-988a4482ed5f7d16172e8775423c9d9d5e958032.zip
dev-util/systemtap: cover mainloop.c as well, bug #510134
Bug: https://bugs.gentoo.org/510134 Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-util/systemtap')
-rw-r--r--dev-util/systemtap/files/systemtap-3.1-ia64.patch14
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-util/systemtap/files/systemtap-3.1-ia64.patch b/dev-util/systemtap/files/systemtap-3.1-ia64.patch
index 4750207a6fff..832bfc1a47f9 100644
--- a/dev-util/systemtap/files/systemtap-3.1-ia64.patch
+++ b/dev-util/systemtap/files/systemtap-3.1-ia64.patch
@@ -6,8 +6,6 @@ for PROBE2 macro.
Reported-by: Émeric Maschino
Bug: https://bugs.gentoo.org/510134
-diff --git a/cache.cxx b/cache.cxx
-index 3546b30..2710abf 100644
--- a/cache.cxx
+++ b/cache.cxx
@@ -8,2 +8,10 @@
@@ -21,3 +19,15 @@ index 3546b30..2710abf 100644
+#endif
+
#include "config.h"
+--- a/staprun/mainloop.c
++++ b/staprun/mainloop.c
+@@ -1 +1,9 @@
++#ifdef __ia64__
++// Default is: nor
++// We disable 'o' because gcc fails to select register
++// constraint for second instruction in 'add_script_to_cache'
++// https://bugs.gentoo.org/510134
++# define STAP_SDT_ARG_CONSTRAINT nr
++#endif
++
+ /* -*- linux-c -*-