fix sparc
This commit is contained in:
parent
58e9517596
commit
4e9440b186
12
systemtap-1.2-fix-sparc.patch
Normal file
12
systemtap-1.2-fix-sparc.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up systemtap-1.2/includes/sys/sdt.h.BAD systemtap-1.2/includes/sys/sdt.h
|
||||
--- systemtap-1.2/includes/sys/sdt.h.BAD 2010-03-24 11:30:50.694520827 -0400
|
||||
+++ systemtap-1.2/includes/sys/sdt.h 2010-03-24 11:44:29.062420646 -0400
|
||||
@@ -72,7 +72,7 @@
|
||||
#define STAP_UNINLINE
|
||||
#endif
|
||||
|
||||
-#if defined __x86_64__ || defined __i386__ || defined __powerpc__ || defined __arm__
|
||||
+#if defined __x86_64__ || defined __i386__ || defined __powerpc__ || defined __arm__ || defined __sparc__
|
||||
#define STAP_NOP "\tnop "
|
||||
#else
|
||||
#define STAP_NOP "\tnop 0 "
|
@ -12,7 +12,7 @@
|
||||
|
||||
Name: systemtap
|
||||
Version: 1.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# for version, see also configure.ac
|
||||
Summary: Instrumentation System
|
||||
Group: Development/System
|
||||
@ -78,6 +78,9 @@ BuildRequires: boost-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=11427
|
||||
Patch2: systemtap-1.2-fix-sparc.patch
|
||||
|
||||
%description
|
||||
SystemTap is an instrumentation system for systems running Linux 2.6.
|
||||
Developers can write instrumentation to collect data on the operation
|
||||
@ -189,6 +192,8 @@ find . \( -name configure -o -name config.h.in \) -print | xargs touch
|
||||
cd ..
|
||||
%endif
|
||||
|
||||
%patch2 -p1 -b .sparc
|
||||
|
||||
%build
|
||||
|
||||
%if %{with_bundled_elfutils}
|
||||
@ -508,6 +513,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2-2
|
||||
- fix compilation on sparc
|
||||
|
||||
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
|
||||
- Upstream release.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user