Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5015316ybl; Wed, 22 Jan 2020 08:44:41 -0800 (PST) X-Google-Smtp-Source: APXvYqy9AVUPhSQhi+VGJe5t8yemZx5XDposvAKDmOZeNw84lLDZ7jr6QsSxJccDLTMP0yYk7WmG X-Received: by 2002:aca:1a17:: with SMTP id a23mr7067299oia.84.1579711481421; Wed, 22 Jan 2020 08:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579711481; cv=none; d=google.com; s=arc-20160816; b=zhd7bbTQYXIBbZxuFTSGTASxqt+aeXt3eOQ3h61POix2h7/utSK8p60u2Av8NSoFIi ubbsL+TWgN5DH9Plx04FA7Y2hzDJHGKLi0NOZXqBJyEFGx2qIrbJKsnvN9yboqK7pd4x 6jzQAHb6hrE31fkljXTeGxpJtYgAf+kEcdmPV9LLj25ZBK+WHlHl1XGyEtQig1mgnM3J 247gDnCbb186PuTaTujBWMJKtTw3FlJ4hw2OoKBLBT3M18rNu6DxX7u+zCU9k96/55MF ictY30HxNxwv4rdbHQegVDgZEaewwDuhKoRoIcJ7qtHGvzTuo8n7xBk80zhlEXR7L+OU bJBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=agcGWJuTCQ6fM1/SjZ+Ukz/kQBPrQ8tjNkwWfoXWULo=; b=C94hjaUvK82wjjBtLSZAWubJX5tFxQCH2Zd9revPbnfcPz+ZiaHoMm53L3p7yx9rjj 30YaiRbSu+G8yYVDuK3WqAzHIlGzaF0egk7vsnnQ/PkOHxCFDD6OV/zPJ/aisjkOUeKq M8NqOLx5ldQ0RAzwQ1q2Ih7V+U0NPa23UD2UzesLuIy0lm3cBEz2V6wBbxs58CcZbnHv ec4i0mtkKF6lM2IZxxDvQYCZ0+A1adpNpjpKeU6HgWwIx3oN4mlMZXsbbGBZP/uR3v/l HmbuIA9lQoPvVjUewcsSK1utzkeKOLHIDidw2SrI180iusecegr2Fm83JUDZII8D9uSb +KNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CCJLR3Pd; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l204si21039517oig.31.2020.01.22.08.44.23; Wed, 22 Jan 2020 08:44:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CCJLR3Pd; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725883AbgAVQoX (ORCPT + 99 others); Wed, 22 Jan 2020 11:44:23 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:39816 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725836AbgAVQoX (ORCPT ); Wed, 22 Jan 2020 11:44:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579711461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=agcGWJuTCQ6fM1/SjZ+Ukz/kQBPrQ8tjNkwWfoXWULo=; b=CCJLR3PdW75DD+oGjTJij01gdHKUaO1Yjjelgat1lNDX/damiYHzUChIxTO3DU1jLCv5IK j8JKiqUKOSNxoTNbEfJd/eMscU5uOvP1r7HMnlXFQxfCfgwwow66JqeXwnfkmVCLPpyhAa byKBSQB1+fxdJ0nKUEVpqQpbhO1/xdY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-295-gfLDAhTuMQWiSM6iY_omzw-1; Wed, 22 Jan 2020 11:44:19 -0500 X-MC-Unique: gfLDAhTuMQWiSM6iY_omzw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6EDC1800D5B; Wed, 22 Jan 2020 16:44:18 +0000 (UTC) Received: from madhat.boston.devel.redhat.com (madhat.boston.devel.redhat.com [10.19.60.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 00DF5845A5; Wed, 22 Jan 2020 16:44:17 +0000 (UTC) Subject: Re: [nfs-utils PATCH] locktest: Makefile.am: remove host compiler costraint To: Petr Vorel Cc: Giulio Benetti , linux-nfs@vger.kernel.org, Mike Frysinger References: <20200115160806.99991-1-giulio.benetti@benettiengineering.com> <20200119191047.GB11432@dell5510> <6606c604-61ef-a3fa-8ced-1d9dfb822f64@RedHat.com> <20200122161353.GA21075@dell5510> From: Steve Dickson Message-ID: <3cf84430-9384-3a91-0e0e-21ff2d47d68d@RedHat.com> Date: Wed, 22 Jan 2020 11:44:17 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200122161353.GA21075@dell5510> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 1/22/20 11:13 AM, Petr Vorel wrote: > Hi Steve, > >>>> Currently locktest can be built only for host because CC_FOR_BUILD is >>>> specified as CC, but this leads to build failure when passing CFLAGS not >>>> available on host gcc(i.e. -mlongcalls) and most of all locktest would >>>> be available on target systems the same way as rpcgen etc. So remove CC >>>> and LIBTOOL assignments. > >>>> Signed-off-by: Giulio Benetti >>> Reviewed-by: Petr Vorel >>> Tested-by: Petr Vorel >>> NOTE: as I understand it's a compilation issue of a tool, so I didn't run >>> rpcgen, I just test various compilation variants for buildroot. >> Just to be clear... Giulio's patch, removing CC and LIBTOOL from the >> locktest/Makefile.am does allows your cross build to succeed, correct? > Yes, for buildroot it's ok. I'm just not able to verify Gentoo. Thanks... Lets cross that path when get there... steved. > >> steved. > > Kind regards, > Petr >