Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1790601ybl; Sun, 19 Jan 2020 11:11:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzbfDhCX8v0AoqVTF+1r7vyNnnlgWJzYz0mKo20V6jK6RwbM0sb5pTk/bkyjIsE5whLawJZ X-Received: by 2002:a9d:634e:: with SMTP id y14mr13785586otk.162.1579461101216; Sun, 19 Jan 2020 11:11:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579461101; cv=none; d=google.com; s=arc-20160816; b=iYib1JAFLj+v8QSgC5JLFVXDtbzN1scL+OgxjuHN1RTmaITWJqx8N++WrF0xY2Yyjy jPlGzFQRCiOCtZNjWLr3vPzzFGLv25DxApL6Y86+TgStFdltK/g9KeEs+H7XrCQPFgGl yylNZ13086ArXPAfbgH14YSDBL4e7I1qAdZjgl47h1ETL7C2+SmdnBQzgJvlHnDKcBUa aTdgVTC09ayIy63YqoBq8LYB0n2Rwe4+LL5l8v4SGbIMTQJ88tDta6zSQCWmjlw0vxPZ U3TxxCDCLoqBQ4VVUKqURvQZwlHBwEnhuq/MMM/E+ODtqKZdc0HBrffwwd5F6NXM7iyV Cb/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=4P3hGirTB2owYm/w+1/cGwpAo3wz4jLRC9Qqa39uRfM=; b=AJ+coXz3GGnNdFR5ZmeWjqeirL8eCwWFrW97yyxh/tE6xKrEgYnKY8s48ZXbM4Z08c 0GA78q36T7oFIqyzRuVmw7ZKFOAkNYT5ST2jZx+fCt2vb595NjCPwfThGgDkcxA8tE5U /uz+EHjOGDXEKA38VafJSyDswqSdAJpXQe9v5HFelH6XkwBJWYVLEFAz1HX8C/Y8pIeB GdXyRtJcsWdNDiHqoAdR2Aq6RL0Gclf1ECvNAV1r6UamzTCzs2lpmrdc0pULG3H+VXkB 5SKjSxPWakrvW4Rm7Zn++zDBLcrrvWqrwmD7moB0PpCiuBgO258whQfKLYtMO/5B6rrA FuGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JoA7b+en; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e190si17671042oib.113.2020.01.19.11.11.16; Sun, 19 Jan 2020 11:11: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=@gmail.com header.s=20161025 header.b=JoA7b+en; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727195AbgASTLP (ORCPT + 99 others); Sun, 19 Jan 2020 14:11:15 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40824 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727144AbgASTLO (ORCPT ); Sun, 19 Jan 2020 14:11:14 -0500 Received: by mail-pg1-f195.google.com with SMTP id k25so14371757pgt.7 for ; Sun, 19 Jan 2020 11:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4P3hGirTB2owYm/w+1/cGwpAo3wz4jLRC9Qqa39uRfM=; b=JoA7b+enG/sN6juVyBlzPrPxBXun+RWC46OG+mcmH6GlOp99Ej4Ri39qSLosmnUvCL pypmj0rAv+X0D0R5Um2ko4VtFDjtVc+KsmGwQzMHPUCdBwo40KFSGvA7k4psB7B+yI9o 8qr8BxkHU5qQ1CQ02HOi7nu+uyd3H/qdRHrLR59b/SMd1YEyPeZL02wGdxgGqkTK4X4R u1+W7EqQ0H2uwSzSYnk6XWQed2L3wlG9ZGUrWHQzi9Lv5RNSXWP0J7kcfBTTqqI8b9nW cdybaEHydFip9fs18QFjGJy4meEqkGHuatewERqxXYOrNPSozG7sbYScxr09pYHcBLkv QHaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=4P3hGirTB2owYm/w+1/cGwpAo3wz4jLRC9Qqa39uRfM=; b=meoymvsjw9RBjyFSkCFNa5q9ZFXF+1PzfLKhijMlKS90DQE9hmEhl8ovXj4Z7W1kve xqX3ko6w1L2ZZzDxx2gqRrnjsD2mOToVZ4Xrq8fmFnmKGumYbnyyEnXKRintsKmI+cd/ rlFP80V1cW9ta4Kk7ahSzZrVG7a2OJelTQOi0ufwK6Zc2kTA/yef8SWaFpDhBxeA/2N1 s+NFDtU3rE3P8FyszMCFun/fSPaXvCd1jYGUBZ4TjFWrvf11tA33E3aLAECBIYwlqoSD xg3GQmuNx4wIPhL+XwDF0OwNSs+hQRV1aQtk4ErvIMQSFHomG933GfkSTUlpoqtyfA1K VyRw== X-Gm-Message-State: APjAAAVVUIUPP1jQioe+7A5FuYjrgm3FacB+rKSMh+HAn91xkeZwYU9G a1JjODcjkg677ERXli96WpfKKzvm X-Received: by 2002:a63:63c3:: with SMTP id x186mr56434308pgb.294.1579461074232; Sun, 19 Jan 2020 11:11:14 -0800 (PST) Received: from dell5510 ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id g22sm34214403pgk.85.2020.01.19.11.11.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2020 11:11:13 -0800 (PST) Date: Sun, 19 Jan 2020 20:10:47 +0100 From: Petr Vorel To: Giulio Benetti Cc: linux-nfs@vger.kernel.org, Steve Dickson , Mike Frysinger Subject: Re: [nfs-utils PATCH] locktest: Makefile.am: remove host compiler costraint Message-ID: <20200119191047.GB11432@dell5510> Reply-To: Petr Vorel References: <20200115160806.99991-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200115160806.99991-1-giulio.benetti@benettiengineering.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi, > 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. Kind regards, Petr > --- > tools/locktest/Makefile.am | 3 --- > 1 file changed, 3 deletions(-) > diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am > index 3156815d..e8914655 100644 > --- a/tools/locktest/Makefile.am > +++ b/tools/locktest/Makefile.am > @@ -1,8 +1,5 @@ > ## Process this file with automake to produce Makefile.in > -CC=$(CC_FOR_BUILD) > -LIBTOOL = @LIBTOOL@ --tag=CC > - > noinst_PROGRAMS = testlk > testlk_SOURCES = testlk.c > testlk_CFLAGS=$(CFLAGS_FOR_BUILD)