diff --git a/lttng-ust-aarch64-aligned-access.patch b/lttng-ust-aarch64-aligned-access.patch new file mode 100644 index 0000000..cf1fe0f --- /dev/null +++ b/lttng-ust-aarch64-aligned-access.patch @@ -0,0 +1,10 @@ +--- lttng-ust-2.5.1/configure.ac.orig 2014-12-09 12:45:43.773887609 +0000 ++++ lttng-ust-2.5.1/configure.ac 2014-12-09 12:47:48.389657654 +0000 +@@ -222,6 +222,7 @@ + ;; + x86_64) ;; + amd64) ;; ++ aarch64) ;; + powerpc) ;; + ppc64) ;; + ppc64le) ;; diff --git a/lttng-ust.spec b/lttng-ust.spec index dea4587..aea676f 100644 --- a/lttng-ust.spec +++ b/lttng-ust.spec @@ -1,14 +1,16 @@ Name: lttng-ust Version: 2.5.1 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2 and GPLv2 and MIT Group: Development/Libraries Summary: LTTng Userspace Tracer library URL: http://lttng.org Source0: http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2 +Patch0: lttng-ust-aarch64-aligned-access.patch BuildRequires: libuuid-devel texinfo systemtap-sdt-devel libtool BuildRequires: userspace-rcu-devel >= 0.7.2 +BuildRequires: libtool autoconf automake %description This library may be used by user space applications to generate @@ -26,6 +28,7 @@ LTTng userspace tracing %prep %setup -q +%patch0 -p1 -b .aarch64 %build %ifarch s390 s390x @@ -35,6 +38,7 @@ LTTng userspace tracing #Reinitialize libtool with the fedora version to remove Rpath libtoolize -cvfi +autoreconf -vif %configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt # --with-java-jdk # Java support was disabled in lttng-ust's stable-2.0 branch upstream in @@ -72,6 +76,9 @@ rm -vf %{buildroot}%{_libdir}/*.la %{_docdir}/%{name}/examples/* %changelog +* Tue Dec 9 2014 Peter Robinson 2.5.1-2 +- Add patch to fix aarch64 support + * Mon Nov 03 2014 Suchakra Sharma - 2.5.1-1 - New upstream release - Update URL