[lttng-dev] Fwd: [Bug 1114691] New: lttng-ust do not build on ppc64le archi
Brosseau, Yannick
yannick.brosseau at gmail.com
Tue Jul 1 12:24:55 EDT 2014
We are not white listing powerpc64le in ust build. The following bug report
have a patch for it.
---------- Forwarded message ----------
From: <bugzilla at redhat.com>
Date: Mon, Jun 30, 2014 at 12:36 PM
Subject: [Bug 1114691] New: lttng-ust do not build on ppc64le archi
To: yannick.brosseau at gmail.com
https://bugzilla.redhat.com/show_bug.cgi?id=1114691
Bug ID: 1114691
Summary: lttng-ust do not build on ppc64le archi
Product: Fedora
Version: rawhide
Component: lttng-ust
Severity: medium
Assignee: yannick.brosseau at gmail.com
Reporter: normand at linux.vnet.ibm.com
QA Contact: extras-qa at fedoraproject.org
CC: suchakra at gmail.com, yannick.brosseau at gmail.com
Created attachment 913481
--> https://bugzilla.redhat.com/attachment.cgi?id=913481&action=edit
lttng-ust-ppc64le_update_configure_ac.patch
Description of problem: lttng-ust do not build on ppc64le archi
Version-Release number of selected component (if applicable):
lttng-ust-2.4.1-2.fc21
Steps to Reproduce:
1. fedpkg clone -a lttng-ust
2. fedpkg mockbuild
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1913658
===
checking host system alignment requirements... configure: error: unable to
detect alignment requirements (unsupported architecture (powerpc64le)?)
===
Additional info:
with following spec change and attached patch the scratch build at taskid
===
diff --git a/lttng-ust.spec b/lttng-ust.spec
index 5abbef1..0951250 100644
--- a/lttng-ust.spec
+++ b/lttng-ust.spec
@@ -7,6 +7,8 @@ Summary: LTTng Userspace Tracer library
URL: http://lttng.org/ust/
Source0: http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
+Patch1: lttng-ust-ppc64le_update_configure_ac.patch
+
BuildRequires: libuuid-devel texinfo systemtap-sdt-devel libtool
BuildRequires: userspace-rcu-devel >= 0.7.2
@@ -26,6 +28,7 @@ LTTng userspace tracing
%prep
%setup -q
+%patch1 -p1
%build
%ifarch s390 s390x
@@ -33,6 +36,10 @@ LTTng userspace tracing
%global optflags %(echo %{optflags} | sed 's/-O2/-O1/')
%endif
+%ifarch ppc64le
+# as long as patch1 not yet upstream to generate configure
+autoreconf -iv
+%endif
#Reinitialize libtool with the fedora version to remove Rpath
libtoolize -cvfi
%configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt
===
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140701/801d31bd/attachment.html>
More information about the lttng-dev
mailing list