From patchwork Mon Jan 9 21:39:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 9505983 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32DEE6071A for ; Mon, 9 Jan 2017 21:40:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C7822852D for ; Mon, 9 Jan 2017 21:40:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DC5F28534; Mon, 9 Jan 2017 21:40:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A32692852D for ; Mon, 9 Jan 2017 21:40:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941451AbdAIVkO (ORCPT ); Mon, 9 Jan 2017 16:40:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58404 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937200AbdAIVjs (ORCPT ); Mon, 9 Jan 2017 16:39:48 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C3AE1C057FA4 for ; Mon, 9 Jan 2017 21:39:48 +0000 (UTC) Received: from hp-dl360pgen8-07.khw.lab.eng.bos.redhat.com (hp-dl360pgen8-07.khw.lab.eng.bos.redhat.com [10.16.184.47]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v09Ldmfc012993; Mon, 9 Jan 2017 16:39:48 -0500 From: Jarod Wilson To: linux-rdma@vger.kernel.org Cc: Jarod Wilson Subject: [PATCH rdma-core] redhat/spec: can't build ibumad on 32-bit arm Date: Mon, 9 Jan 2017 16:39:44 -0500 Message-Id: <20170109213944.31970-1-jarod@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 09 Jan 2017 21:39:48 +0000 (UTC) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Building for 32-bit arm, things fall down, due to lack of arch-specific memory barriers. In file included from /builddir/build/BUILD/rdma-core-12/libibumad/sysfs.c:46:0: include/infiniband/arch.h:132:2: error: #error No architecture specific memory barrier defines found! #error No architecture specific memory barrier defines found! Reported-by: Honggang Li Signed-off-by: Jarod Wilson --- redhat/rdma-core.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index 246079e..4d31d53 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -166,6 +166,7 @@ level work required to open an RDMA connection between two machines. %package -n libibumad Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library +ExcludeArch: %{arm} Requires: %{name}%{?_isa} = %{version}-%{release} %description -n libibumad