Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2647457ybp; Sat, 12 Oct 2019 14:34:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqLisa5VfBAvJq0b/Z6Y61XsJVbtaWYhkRX8s/VGRo73CDkZiorFWtD9JAutIlgosIBZ5d X-Received: by 2002:a05:6402:1511:: with SMTP id f17mr61873edw.232.1570916098403; Sat, 12 Oct 2019 14:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570916098; cv=none; d=google.com; s=arc-20160816; b=waOGB2P87cFbqOdI5ljoyXNVsyHXvsI7nCEc1AN5TuZ+89gDV9tXyOMsA8e/L24AiU e5ZrgeNT4v13qGMNWMHqXIH/Vf15LcpdIWfkkfYU1kmZe1x1MlqBRfy6wSu8mMxdal/n 1sYt98qzboWGOZy+O55RMd5tM51UhlpuIOCnLTdnxkySI8B2Qzf6/PKjdTrZaM4t0ur7 ckoWjzba8De6AEJffz+9SSHmzi7YFrLxOUKnCsjoYQNuk8ELw55sahsV1dox3ns93ziK Pgh9RS9OQVUxshlBdcnhIBZECNPVYuAX+GQpEZZVAn/pElrvUXTgdAU+wqGaIuEkUVXn mOQQ== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=l+nirvmkHLEBqBl6bw7lxrZbBMmPpPDkXnfegt2ERs0=; b=pll9WvWxZPYWA0WIVvOawI+23Iqq9nUzN3UMv7p7iQLN6IYEYb/V+MN42bhzYKVwET H5OForlHLvR19iO7/J1e/LHcAc+SzEfyfYS3lPYkqEmZjL1Xq5xIbgtScBGvLWhgGCaX jTe7NjDyooVcvuHVFFvQ/bahowySRyFQ0QjtEmbPqoBoKoSGr4MlctK3/nAZ/3J32sJ+ qKUqcoCZTtRbXpGPX334v5TK73ddEE4AhWCiaiHFtYbEH+yP0KeGijcUik+q1rJxMSr6 XF3ZAlTq5XMkkO/duE1UjGipzCtz4eJBLpjEUCKjIwucdMyigerzJxpQ/PD+PO2qLnet hTsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bOOQ6fpa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j21si8158623edr.376.2019.10.12.14.34.35; Sat, 12 Oct 2019 14:34:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@linaro.org header.s=google header.b=bOOQ6fpa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729734AbfJLV0u (ORCPT + 99 others); Sat, 12 Oct 2019 17:26:50 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36203 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729669AbfJLV0u (ORCPT ); Sat, 12 Oct 2019 17:26:50 -0400 Received: by mail-lj1-f194.google.com with SMTP id v24so13051471ljj.3 for ; Sat, 12 Oct 2019 14:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=l+nirvmkHLEBqBl6bw7lxrZbBMmPpPDkXnfegt2ERs0=; b=bOOQ6fpaQHN/FWWatME7AFTtNCrf5dgO1ZU8WA/fBDgO7AEY8yXMZklcpRl4XNkq5T eecBMUbKu/rM+OyMkdQIzmQ2S5VYs8FlfeeBmgWWu0eDBy43EWsj8uX0iYJKIb8MOC5z msROfXVDW89+AcnvuStR3HUCuGucUvwGwo6zA3n9Q6fROANyForjuXNIn/t/f/GpG/o+ mOYoJ9C/2Zm01ycIU62BeDDkv5FRvUkOPXYtrApoCWqeg6wcwF3N+TK1QRjHkegswSBv VvvKqBTKJJ5n2JLYN+WoeHgk7qOBooUw05QbaV05lYRP/+8ZCRDs9y+4Bw7uJGCGl7Z/ yGmw== 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=l+nirvmkHLEBqBl6bw7lxrZbBMmPpPDkXnfegt2ERs0=; b=lSXKKwal8Tq/xkCsERdu8AeS0lDp0OLtD4KJYPJ7omjdT0hLCh9gQZMkH0nDeI1DJ9 bl7bUSAR23a8XaKuTXCbebpfXyDbjyowX2pKX68kQtZV4yh5kN5GLmpszq8BCgYTiH/6 SkUaiksw63swdC2NLBKIZ/qNWg91jM/k1XLyrhLDiVDAMXKYYHko6jD799YiU6XTOrqp ddDUOvqj2jTkqNINrkNLmg+w6oUuObCgCt8Wu2+E4XAIcw1jhGQRtQuo5j/H1B9b6Tp7 j0KZE9XTXguEbjjYnvN9gD+PzYC8WL7cHpfoNqlUBZ7jjAPffihEBavfTf2Hq84aG7TO nZhg== X-Gm-Message-State: APjAAAXO0dEss2H3LsVr4PM9x7S1eZjux3qYtdYEgxhTaDM5OmJc3pWE wF+QX7FlNq4JqUVgaHrlKwH/Q5RtLck= X-Received: by 2002:a2e:8315:: with SMTP id a21mr13301291ljh.73.1570915608214; Sat, 12 Oct 2019 14:26:48 -0700 (PDT) Received: from khorivan (88-201-94-178.pool.ukrtel.net. [178.94.201.88]) by smtp.gmail.com with ESMTPSA id x30sm2931384ljd.39.2019.10.12.14.26.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Oct 2019 14:26:47 -0700 (PDT) Date: Sun, 13 Oct 2019 00:26:45 +0300 From: Ivan Khoronzhuk To: Sergei Shtylyov Cc: ast@kernel.org, daniel@iogearbox.net, yhs@fb.com, davem@davemloft.net, jakub.kicinski@netronome.com, hawk@kernel.org, john.fastabend@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, clang-built-linux@googlegroups.com, ilias.apalodimas@linaro.org Subject: Re: [PATCH v5 bpf-next 09/15] samples/bpf: use own flags but not HOSTCFLAGS Message-ID: <20191012212643.GC3689@khorivan> Mail-Followup-To: Sergei Shtylyov , ast@kernel.org, daniel@iogearbox.net, yhs@fb.com, davem@davemloft.net, jakub.kicinski@netronome.com, hawk@kernel.org, john.fastabend@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, clang-built-linux@googlegroups.com, ilias.apalodimas@linaro.org References: <20191011002808.28206-1-ivan.khoronzhuk@linaro.org> <20191011002808.28206-10-ivan.khoronzhuk@linaro.org> <99f76e2f-ed76-77e0-a470-36ae07567111@cogentembedded.com> <20191011095715.GB3689@khorivan> <3fb88a06-5253-1e48-9bea-2d31a443250b@cogentembedded.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <3fb88a06-5253-1e48-9bea-2d31a443250b@cogentembedded.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 11, 2019 at 02:16:05PM +0300, Sergei Shtylyov wrote: >On 10/11/2019 12:57 PM, Ivan Khoronzhuk wrote: > >>>> While compiling natively, the host's cflags and ldflags are equal to >>>> ones used from HOSTCFLAGS and HOSTLDFLAGS. When cross compiling it >>>> should have own, used for target arch. While verification, for arm, >>> >>> While verifying. >> While verification stage. > > While *in* verification stage, "while" doesn't combine with nouns w/o >a preposition. Sergei, better add me in cc list when msg is to me I can miss it. Regarding the language lesson, thanks, I will keep it in mind next time, but the issue is not rude, if it's an issue at all, so I better leave it as is, as not reasons to correct it w/o code changes and everyone is able to understand it. > >>>> arm64 and x86_64 the following flags were used always: >>>> >>>> -Wall -O2 >>>> -fomit-frame-pointer >>>> -Wmissing-prototypes >>>> -Wstrict-prototypes >>>> >>>> So, add them as they were verified and used before adding >>>> Makefile.target and lets omit "-fomit-frame-pointer" as were proposed >>>> while review, as no sense in such optimization for samples. >>>> >>>> Signed-off-by: Ivan Khoronzhuk >>> [...] > >MBR, Sergei -- Regards, Ivan Khoronzhuk