Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3595663ybp; Sun, 13 Oct 2019 10:08:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqw81YKJIySI5PXV81FCSnZQSj71WGMf7YKJutZrlNR4YYDWHG2EJKNz6HCuWPlKxMcU2qbY X-Received: by 2002:a17:906:f0d2:: with SMTP id dk18mr24178265ejb.281.1570986511943; Sun, 13 Oct 2019 10:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570986511; cv=none; d=google.com; s=arc-20160816; b=U8Ja/8MU0tJZ62ryJHdlvlYQ6wnARM3+VYAlgCs8YHlbzWACBuCTJG88P+FRrSXZmJ gxGg9Sx+VRd0DHtO29aDSev4jGHf9YplWZyc+m0VuQyUmDerQm1uH3VNNFMbdh7sx1Eh wgIg9nBHMXMJWKIlxZwxiQZrjOgApXaE+b5JhkLBRB1JGXF9kj8nlhLXgXUjc9mbc3IN SdyXBb2+4tS9+117UQhh+H+VzoJwkdOz98dRvCpDHmu5kwBiqR4Cua+ExujDIzrOsCEU jILFkjctIGLrj2s+nRljfqQRosBcY/lO5koCEhlcakeK9Gcck3zTXPpT+0PjPxQa2uwy GM4g== 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:to:subject:dkim-signature; bh=xLbu07FbZMOUGLOKpbGSEAHgMuRzWgnJgVeR/okx9Mc=; b=NE6KcWqmroJC6zJZnyQ4fUNwcDIEZaKahfQZs9Hw6448T6eHsPHWKIsCZoLVy/53vP uagjalC4Dv9JTJidTMWBPncumm+GjuikO1UmhUrNQ0Kz2bfkAGMaQfmZlFNWj98wICfW fJn0IJx/tqvKIscW2LCteB/2TPy+/A+D5sY9nruk+2dszHCIAFNjqEZ1uZUVdq03MGqr pow4sbbWoqjm9b98ONsXJAhTWOxD3Oy4521uyFq3i0mbUOHusPV77kVq1oBiobMOyULn wAu21ALEKIQOrvqRX9+56ZPnEUaNo40gyvGkvhrI7z3RxNXB0McN0JJm2QtLiFrQza4G dDSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b="MArB/yKU"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ly13si2900737ejb.258.2019.10.13.10.08.08; Sun, 13 Oct 2019 10:08:31 -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=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b="MArB/yKU"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729338AbfJMRG3 (ORCPT + 99 others); Sun, 13 Oct 2019 13:06:29 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:42173 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728590AbfJMRG2 (ORCPT ); Sun, 13 Oct 2019 13:06:28 -0400 Received: by mail-lf1-f65.google.com with SMTP id c195so10161770lfg.9 for ; Sun, 13 Oct 2019 10:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=xLbu07FbZMOUGLOKpbGSEAHgMuRzWgnJgVeR/okx9Mc=; b=MArB/yKUcZ+UCarFvdsudTlFvo77FpDS6Dg/7V4q6QeKuqqTXC5dH4r6KEcvmp8QZ0 wNfnzEhhuC4ERBu5zrS0csbx0oCaoXKYWnkluTtT+ZgGLeyjLKxXM3aL30cCHrWgkK46 AVTbNP0ummZUfg8olJaNY28IZzs1oDEwDbbNFcFS6Qt4+vmlmfFXOEiiB45TqinlYihF 1sgo/X8It1OREo9KD000bkEOZkD6FemblnyUwEf+NSaFPwpAy8pblpIH77NpEp6qfNti 2r41cODj75jSq3SdtrHf4PpxSBTm8qY+dflhsUzIYl70+wFyKF5QARDp+1BhR/4SBiap ULqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xLbu07FbZMOUGLOKpbGSEAHgMuRzWgnJgVeR/okx9Mc=; b=Mp6L+FfWRxxJE0d8Su6FTnbH1uW7eUhV8QuMuguUmlNRUA+bpXxHpKEUNMEvVhFbMl hEpnMXzGsjhu99xvsjbV+yljwd2QJSAumYYjZMZRXtCmb0DU2oYSFJjwJitciLbv96k1 oRxjeY+1o0CY9e/uUFSdhq7ag/rtl4kx4Tm8HksUs7h2f8I1YJhhbUi12sXdddqwU2dg b8lPQ844Gd9MCg57pxW7lYIG12zAy8FFUn5rk3be3/XoMF4Aop4MH4pJK/Sqs5LlnO35 00+Am+wYFo6c4ipbu3IJ4Cq8d26ejNLe5UtXk4dVmQSbY053JIHzSHLkUCRLzasDMRPA 9Tkw== X-Gm-Message-State: APjAAAUeOzZVXeAqrLrKole3h2MTk1m6B0Kb6gAVPizgAYk9LVS+z4zA DffU05g+z+fbmPcd/TOGoHb+LQ== X-Received: by 2002:ac2:5c4b:: with SMTP id s11mr15044950lfp.37.1570986386652; Sun, 13 Oct 2019 10:06:26 -0700 (PDT) Received: from ?IPv6:2a00:1fa0:4851:f638:84a8:96d0:2933:dfbf? ([2a00:1fa0:4851:f638:84a8:96d0:2933:dfbf]) by smtp.gmail.com with ESMTPSA id k23sm3568595ljc.13.2019.10.13.10.06.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Oct 2019 10:06:25 -0700 (PDT) Subject: Re: [PATCH v5 bpf-next 09/15] samples/bpf: use own flags but not HOSTCFLAGS To: 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> <20191012212643.GC3689@khorivan> From: Sergei Shtylyov Message-ID: <03db016e-5337-0207-3d17-0b3bbe79fa5c@cogentembedded.com> Date: Sun, 13 Oct 2019 20:06:24 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191012212643.GC3689@khorivan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.10.2019 0:26, 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. Hm, the earlier mails were addressed to you but no the last one -- not sure what happened there, sorry. > 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. Up to you. and the maintainer(s)... >>>>> 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