diff options
Diffstat (limited to 'dev-util/systemtap/files/systemtap-3.1-ia64.patch')
-rw-r--r-- | dev-util/systemtap/files/systemtap-3.1-ia64.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-util/systemtap/files/systemtap-3.1-ia64.patch b/dev-util/systemtap/files/systemtap-3.1-ia64.patch new file mode 100644 index 000000000000..4750207a6fff --- /dev/null +++ b/dev-util/systemtap/files/systemtap-3.1-ia64.patch @@ -0,0 +1,23 @@ +Workaround build failure on ia64 + +Avoid 'o' constraint to allow gcc to select register operand. +That way instruction selector can satisfy all constraints +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 @@ + ++#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 ++ + #include "config.h" |