From patchwork Thu Mar 9 22:35:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9614263 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 CD3E0604D9 for ; Thu, 9 Mar 2017 22:35:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB65B2849A for ; Thu, 9 Mar 2017 22:35:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE5AA286EC; Thu, 9 Mar 2017 22:35:43 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 369132849A for ; Thu, 9 Mar 2017 22:35:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752515AbdCIWfm (ORCPT ); Thu, 9 Mar 2017 17:35:42 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:5662 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753648AbdCIWfl (ORCPT ); Thu, 9 Mar 2017 17:35:41 -0500 X-IronPort-AV: E=Sophos;i="5.36,137,1486396800"; d="scan'208";a="2048160" Received: from mail-by2nam03lp0052.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.52]) by ob1.hgst.iphmx.com with ESMTP; 10 Mar 2017 06:35:39 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=tTckqgqu5/AeY6/MjlGFc3mrrsHsxIKBpTzHocgMVeQ=; b=QY7nDWyrePTVqksPHFrt7kf9hphgwWpID9uD0OwkalJw3p9IljRGAFgdaFSyng+xXR2IpQa4AlFrVTgTRW9Z9EfZBrqqMsjQJ+VhmmgFAfJ7Q5YVQPZYJmFesu1hBXQrCriUPxNypCY5PED9SnLujqyACKuPoiiT4KxB1aAsdBI= Received: from DM5PR04CA0027.namprd04.prod.outlook.com (10.171.152.141) by BN1PR04MB518.namprd04.prod.outlook.com (10.141.63.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Thu, 9 Mar 2017 22:35:37 +0000 Received: from SN1NAM04FT045.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::202) by DM5PR04CA0027.outlook.office365.com (2603:10b6:3:12b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.961.17 via Frontend Transport; Thu, 9 Mar 2017 22:35:37 +0000 Authentication-Results: spf=pass (sender IP is 74.221.232.54) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 74.221.232.54 as permitted sender) receiver=protection.outlook.com; client-ip=74.221.232.54; helo=sacsmgep14.sandisk.com; Received: from sacsmgep14.sandisk.com (74.221.232.54) by SN1NAM04FT045.mail.protection.outlook.com (10.152.89.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.7 via Frontend Transport; Thu, 9 Mar 2017 22:35:36 +0000 X-AuditID: ac1c2133-99bff7000000c960-a5-58c1d8b46fc0 Received: from SACHUBIP01.sdcorp.global.sandisk.com (Unknown_Domain [172.28.1.254]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 64.1C.51552.4B8D1C85; Thu, 9 Mar 2017 14:35:35 -0800 (PST) Received: from ULS-OP-MBXIP03.sdcorp.global.sandisk.com ([fe80::f9ec:1e1b:1439:62d8]) by SACHUBIP01.sdcorp.global.sandisk.com ([10.181.10.103]) with mapi id 14.03.0319.002; Thu, 9 Mar 2017 14:35:32 -0800 From: Bart Van Assche To: "pth@suse.de" , "jgunthorpe@obsidianresearch.com" CC: "linux-rdma@vger.kernel.org" Subject: Re: libacm fails to build Thread-Topic: libacm fails to build Thread-Index: AQHSmSV1HaY2v/DGj0yfbLg9zyu5VA== Date: Thu, 9 Mar 2017 22:35:30 +0000 Message-ID: <1489098918.2597.12.camel@sandisk.com> References: <20170309102527.3ni4pkuendwzqzrm@paradies.suse.de> <20170309171014.GC12694@obsidianresearch.com> In-Reply-To: <20170309171014.GC12694@obsidianresearch.com> Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.28.1.254] Content-ID: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsWyRobxn+72GwcjDKbM17D4fsPU4tmhXhaL 92uOsTowe3zf0cvosfl0tcfnTXIBzFFcNimpOZllqUX6dglcGTPPXGEuWMRdsfPhL6YGxsWc XYycHBICJhLbn19k62Lk4hASWMIkcf/gLEYI5zyjxMtld9hBqtgEjCRmT9jDAmKLCKRJ3N+z ghHEZhawlfj75TNYXFhASWLt621sEDXKEqev/WSEsPUkdqz7zARiswioSNza/IUZxOYFmnm4 cQfQfA6gZfkSaycWgJicAlYSG36VgpiMArISLa+5IRaJS9x6Mp8J4mQBiSV7zjND2KISLx// Y4WwFSQ+r/jHBlGvJ3Fj6hQo20ri98SrTBC2tsSyha+hDhCUODnzCcsERrFZSFbMQtI+C0n7 LCTts5C0L2BkXcUoVpyYXJybnlpgaKJXnJiXklmcrZecn7uJERxjisY7GP9tcD/EKMDBqMTD +yH3YIQQa2JZcWXuIUYJDmYlEV7vq0Ah3pTEyqrUovz4otKc1OJDjNIcLErivDGzp0YICaQn lqRmp6YWpBbBZJk4OKUaGBcYa4jsWSGS62/988njC5kr70y5VvPGTufOXCnByHfnHofwXLn1 oNxzMufkH6KHmJ4vlqm8vOKSB5Oq3pOKSZyLX7zaZiS74N+a1d5rM20e24Uvf7f5JivXgTCx 1def8ur0eMi3VcdY+Rmqnz03x6s2vmBT3ReOmEnRjrFav2Zsr+xP7fXoUVJiKc5INNRiLipO BAAiparFrQIAAA== X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:74.221.232.54; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39410400002)(39850400002)(39860400002)(39840400002)(2980300002)(438002)(24454002)(199003)(189002)(377424004)(9170700003)(2501003)(305945005)(7736002)(8746002)(5660300001)(8676002)(356003)(3480700004)(8936002)(229853002)(6246003)(2950100002)(50466002)(2906002)(81166006)(50986999)(4326008)(38730400002)(54356999)(106116001)(106466001)(23756003)(2900100001)(102836003)(53936002)(2270400002)(33646002)(189998001)(6116002)(3846002)(36756003)(86362001)(103116003)(76176999)(47776003)(7099028); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR04MB518; H:sacsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT045; 1:l+5tc9bIB7TqWLX3wk4/n9ltFRZdYE9BAYkq+h2QKEcPxxRVUlIifP5m7xSJywuIT8cPQl5WXLW+A9sxjNKeT1VbiaX4R3FMWHrZPlP8PFvCB57lhQDejHEnNOKJr+V/ojAdu0MhLAHda1ELSEDeih14zafD+YDW4d+XcO25r/6f6bEtWRPZ2Fncln8nEwqOYTyfCi/Ygm+DDVue9YKV8xd/X8TYLglv/k0mMu+3SMIYDqcTixaZLKqVtv9N7/E5d2Kx61fHDVLmODcvGhSi4xuSlB+MgXTNpHEQ1G3MN72nIB0uLEvoOeQ95TwKUqw53EmMS3sWWKextNCEn1C/Hy4z3KUfm0JspOxRT6fIuSLTdK+/8OjqqMh1nlSzuWubXlTSyDbwhGUF1xLvhTRF0MJbB7VwOEB48Dwu0upFL+hllfxHYIQy3sJvwxJuym5BOy5zrHkC9Iuke8GYtc1WmHR49ZNw3e8l2dCvose5sjfSzxAjGcQAX2QeCcZkt7h+DbQxy7ton6xBMh8py9x5Zg3kSlTTreyCz8JnOw3WWXB2LdGGQVA7a0NXbk5FnW7s X-MS-Office365-Filtering-Correlation-Id: f1e0a6e4-1184-441b-17ea-08d4673c9ba3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN1PR04MB518; X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB518; 3:Z0GWXSDd2w4WwpQRaXtL+UcxD2Bbk+Otti5QpHb5dbttoTi+k/70QvFLmmXH4MURaNwnE4g8IO4IK07WrsoR/QFHMizDeCP3yd+3aEA+cTPuAk2U20K4ons2ihRN2cLzfUUkpU77PWMg6mnN0VBv8YrJVKN5LlcUV9Qr9B5bv5gC7JHopJSlBOSXVoEVxAjr7Vi4nPVkGA8uVVU9DudEHg9tBzQ5MHJhMdVV938tvTlGxWBDGA8mflTsXVshkuSSWpNjixecFCMaFbVDL/AUFi8Jex3wSy6ijnAB/2CpnsAZN/3F/8mqMzKQlxpTSkKBOiJb6d4KzgSOAMl3VZi9heo1Wtu3Vo/PmBYbexPmimhBX8WW8h2Hj0QHv24wuAbWcEOQygNKubz5ywHa28uAWA==; 25:Wn/mK9cia1ATvtMg4hLvQcrLOc6JlOanKRhwWZ/hmdH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fmWJ4pHs/aB6Mr5jt23MoxOfEmYm7jexxzz3I5oO9Lfb8ruIRCYmEJnYACaHvrgPCeD2pBYgFNc/RsYcr9HCRt0lf7kFXMQ8C5vEyvT0uDwExcdN2FOlDkokeK1vb3SCQIBYyVZroRwZnpPNH6eAY9a8JFCQevHMtOnkkoLGjEl2Z2SjFgrKVgUp+ZUekuQT+V+iOpVdFsd6I WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(13016025)(13023025)(13024025)(13018025)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558025)(6072148); SRVR:BN1PR04MB518; BCL:0; PCL:0; RULEID:; SRVR:BN1PR04MB518; X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB518; 4:1MgG50lX7TcFnnWbQ8jW/BEQm/Y/dC5BhGMAIIDUrANnEAnnvMjUPszynI5zeR4SZKTne27GGAnme48oIOM9wT7nBf9Cr1gxbyCndsyctRFB/TEVr1WA5OE4Z7u9LJWvY6XAlBWwUxwbD2dCcVF7eo9rkBu+SlsL1lNX96u9LRPkVjgscoiUaIdc2/KbKE8CJ2JrfFiydW7PyUeI/yXLmR1ISM2ADfa/rWKcL5FG1gUgvSuDmgDUZZPCzDGOUtyXD9laaC6YXDkTafPN6HTFiI02W6HaUjn/v91f7hGABJl9gCGDVpST6CazT6kHixUcTHiVCwruxe4gKQ4ObNoUCetVNoso2dJnM3+ZNQEbHxwMqFC3SEkSn3qpctG3+URBgHNGnTrLIPRnUsnQO0GBjwgAoMSKKd37p87OEzysAzshMYbb8/uFlXi8KjUelWllv6WwVY7ENautYYdE/z6JoMXJ1To+e550EKqZOFYzn4wF/AHdghIL2I4sxJfz6SUrQpPuvz5qcpRZ2QQ3PO7dwJQTHp9pamEhIiIEBs2RuYovl+LQ6A2r+IFQY1eq4m2SfGkIdzB0MMXNr1+NjexS85LszQIiYoq1FdG8BffqrJDtq5VDkp326xAmRCtU0Xxw97S7wa6GqSsIL5fHiXyY7jSfZIXPihZzEuYwzLnY1YqMCElZMeipn0qzwIV0VcaA9n7ArbqFIsjmZsyoyfKCcw== X-Forefront-PRVS: 0241D5F98C X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; BN1PR04MB518; 23:ACjDifW5EpxbP2LWrmfyaveKuhZOMbzpHok/JArC?= =?iso-8859-1?Q?d3twE3+2bxAPHm496cW9bE4u9J8+NegebKV2TAmDJPZLdUhxvNAVJezJaU?= =?iso-8859-1?Q?ewPBC5n9l1xoimFVTDle588dJ9Enr4MglLbexRf+/0jgpu7fkcgOYespQv?= =?iso-8859-1?Q?d4nFeYxSOx8fyUnNhaQUMMq+lqTFfjN11W6haVy0gTb3qiBRh4MefhvSQs?= =?iso-8859-1?Q?Y/X4BS5dCkRg4V8x9JWlZJuNhiI+50HyntADYsUIlFKAjxWZ6389j7se01?= =?iso-8859-1?Q?mTVzzW40nOSpGf0nVPzs5LFfUnf+ign9618yb8+LoE1BQpKpNO/IRgql08?= =?iso-8859-1?Q?s6+ha/2iPSHDMUQoubSPrLPH5f+O77xiFr5BTUgm4asJij3ScoUvUoL3qq?= =?iso-8859-1?Q?w/8Z9FUKPjqEynTXmOVIqFysgF6SvoYWO8sOXIb6ZYfLaFINut4s9pWITJ?= =?iso-8859-1?Q?qVBvGt2vaf2+Ka1ZFqnLVAPGaA/gv4AUytcFhJB0/rCQKKk78i5sGPYCnp?= =?iso-8859-1?Q?C6EGxTVnPdjRPXCvGwFqtXocjWABoBSJuSc/lBvAy/2nrlWaBU3eeZ/qNJ?= =?iso-8859-1?Q?W8eAbnytjJY75m+sEVBx7r+S/W8S+n+aRp5viB5zXi9z0nsWYToYEzcmTf?= =?iso-8859-1?Q?4nOWkPV5cFemTciasWwgW8Sg4q2m9M0N/RrcbVAdsMJxj7AV2qgl+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04VNh/NGSRTqhqamjx2Py34DAAQI0fwZwdO5ifFZ6X3piXqJxQi0uzt/cBrCO/Nc3/TPMJXSb0ktZbZDj3GFo5v9mFbZm+8C4=; 5:WeUAdaVsh/00xyUFyhnetVsm7KjZvIrgrhbydACc3tlA8l8Rhk5eGiL8XB7F9AEvWHjfWXj5P2jtvpNgUVgc3DpLfqRDw0uJ+LZ26mC3LLCZpZn+byK7IWnXz+4JQh2wMutWpLBlO/W4eRDv3xUPRw==; 24:QF7s679RyFozmocRGbVfLdkOA/4rDvbgoB2WZ1FdUNVWFhKW+y/y8R2hKRn78uUdidOgJH+4xSmqqZFAa53gkzGuX2Fe0NWSPf0FliMd/AA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB518; 7:w/LzkQGF58IqrhYmRS09svpvMpRwVKxM8YG3uOzQBzoUpdCy9tbiCaBF5lcBcP8Z77OpsQU6D8sg0xd3mJRkLtfJcWLrdYAWRlwupUxQjZD9ZlYS81K8js0P/niJ54eS3xPZtbbtSpmT4mdOqUk7XxJBRCzvh4EGKPHbUwg/OcVYVQS+maKG1EA9IkPqjYd8jcSNANAVIq6SuDLFnJyThvq6fRcohSKDEbRhwOiWU2kw2yh71C1aN2DLy9HW5aQvVH0XYpMbl4sF1bGHTPHFF4gChq2cp/uxzCWY64zPIs5tARVv7JvmKY2ANR4of0qe0c2Lp3ItvyjaaEDBzPLdNA==; 20:0fxyjl30L2Ir3rYG3JzMQ2/EKv33pYYGweI3NgS/4kMZ/yhZqlMLXHqHAv7Zc3pErV/KmwqnoNzm+eCU0fLcyybZhHFFPAYvZBRgj28g0YEglj8tzeX6FW7wtZ9egkKH/q1Jqc5Wl7uM8yyxCvZV8dnMwaetOam1nQcYuAw192w= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2017 22:35:36.9344 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[74.221.232.54]; Helo=[sacsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR04MB518 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 On Thu, 2017-03-09 at 10:10 -0700, Jason Gunthorpe wrote: > On Thu, Mar 09, 2017 at 11:25:27AM +0100, Philipp Thomas wrote: > > > I'm trying to build latest rdma-core but it fails in ibacm because a > > library is missing: > > The suse cmake rpm macros are broken, this is worked around in the > shipped rdma-core.spec: > > # Tumbleweed's cmake RPM macro adds -Wl,--no-undefined to the module flags > # which is totally inappropriate and breaks building 'ENABLE_EXPORTS' style > # module libraries (eg ibacmp). > %define CMAKE_FLAGS -DCMAKE_MODULE_LINKER_FLAGS="" > > Ideally you would consult internally to globally fix the rpm cmake > macro, otherwise you have to use the above hack.. Something else is also broken, namely the SuSE section in rdma-core.spec. I just figured out that the following is needed to build an RPM on SuSE systems: --- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/rdma-core.spec b/rdma-core.spec index f7a440d7..aa486371 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -28,7 +28,7 @@ BuildRequires: ninja,make %define __builder ninja # cmake_install,make_jobs is specified by opensuse %define cmake cmake -%define cmake_install DESTDIR=%{buildroot} ninja install +%define cmake_install DESTDIR=%{buildroot} make install # Tumbleweed's cmake RPM macro adds -Wl,--no-undefined to the module flags # which is totally inappropriate and breaks building 'ENABLE_EXPORTS' style