Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp698688ybp; Fri, 11 Oct 2019 02:58:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5DDCsIjvk9wIJcnPKvNju2p8Teg/bzstez715qup8M3ZzTeCzDDaQw2fINnnQ/469j4OI X-Received: by 2002:a50:9f68:: with SMTP id b95mr12439028edf.301.1570787888472; Fri, 11 Oct 2019 02:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570787888; cv=none; d=google.com; s=arc-20160816; b=Q5jI7P1XPteLZe9heru7XnylYdJPjH1BpntVWq5cgU4IrFbJgVsJ295EOYTgQKD6Wt VJt7BT0M/fi2D2hHqz5yw0DDJbv9HJSaUa5VKfqoAX0jncTsHpWvR6EnOjro11LPnGZ3 fcvs+Tm0lqEG0WVpqQxsQg9lIk1MPc6IkW104Y8OLrVGklE56suX5XVcl9N7r+Mlt4xE eTPkzxRkQaLbIN1/n3vYRD/xo1dwZgZOmNsrWu96SeQ+PyQn2wei95z/19u5m4pE4l3P 0e+V7kX6B1kcsNdYR5+LRcJXHSalq/0BdNRiLfHdl7CsDG179Xkxlpqpnj6X89DUQ//U 9OEw== 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=hp51ftF0fMacTdMbbRNDwAHtYKpjRZUEYNDQ5ofyyAk=; b=Dbv2CVkMHK77wwu1SlMGKm+QqsmVKGvl5bx8LM87PZ8g+hPeZTH/pnjxhWMnkAgYSg WWCE7l4w9fBhBNsJBrvn+pj2yjwDkPMJw+Gd8A5uzQkNvDBQO5buEany7ej0Y3+CX6Y9 17bkBkhWber7Sd6U0EFg/5YjgWPWFtyqqBKAXQ8FNPBv3Tx9AdhpLtLdjGebvrYF3Yke PJveUhsk0KD7U1zhBss1+SSBgjNXpqldlnKZJsD4nloIS0qY0/+HWTNWGJCBc2DsgODF WIo9dGRXZr09v8U/Y54llO7FCnZWJqgfUTBdHzaWYFf8Hgiugj2CuR2YWruBEetNE+Mj VMGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UAFeseSz; 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 z35si5578787edd.340.2019.10.11.02.57.45; Fri, 11 Oct 2019 02:58:08 -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=UAFeseSz; 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 S1727803AbfJKJ5X (ORCPT + 99 others); Fri, 11 Oct 2019 05:57:23 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:45183 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbfJKJ5W (ORCPT ); Fri, 11 Oct 2019 05:57:22 -0400 Received: by mail-lj1-f193.google.com with SMTP id q64so9160318ljb.12 for ; Fri, 11 Oct 2019 02:57:20 -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=hp51ftF0fMacTdMbbRNDwAHtYKpjRZUEYNDQ5ofyyAk=; b=UAFeseSzu034KHnL5iKmG61KtCqRuzg7Hd56VJAIxJ1CI96wrcWVEJ7JKKKS2hLbdm N+KWkvUlhRW7lsOVGESl7+nBmGQ3CmSvM0sIMR0nr6Jc7oSuPHjAE10DG2RJlqCPQgGY c9Sv5GnzYsVLbQnePHapb9ck+2IDjD/HD7b3zVpUZZf2wMqYBVStjUh/A8xyk+rx4SeU E8/X1zyU3UIgjiOVuw7HfaKs66VxcSuF4UZ7dyU2d5WH2YdMpOKzj94ImY+DGk7XFl02 0NNqakT+4pD1QvhBoIgYlWEjOYSRBbXHaA5EvcD4p86jI9vmT6LBKD5tlKW+YnnB/uJr l31g== 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=hp51ftF0fMacTdMbbRNDwAHtYKpjRZUEYNDQ5ofyyAk=; b=QOmbDyP8E3dIzaIooPz3APHwyDBkVr9q3Ueb23nkxV4NGryEjl1nsERvVo9Wf8CE0r nIF0dzLoyEGr+wXjnzoWK6cjxr8VoOY72SA3oqjlnzDYiyO84gc3X3biKMjMZcNMed/g fKn/wI5z2kGn+BMgx7ii3GMHpOeJGs5LYa9zNFHuoW2jmTBiX9ljqrrOvd3UGjSr9fp3 0mAkIWChZGndzGookjsPNbxh4ofu7ARCFu4NXShwI+Aw2BWU7z4FW8mQKxk5PNij5vlU EuqgPKhmZnQTXJtXmLGsyNOW0yk7kKPFDttz5JLIASUUJsbuDqmuqAwofETOfg0+ooyw ZFrw== X-Gm-Message-State: APjAAAVo8xc5f3h4uy0/JIL6YZb1jodXxiNM7JYYbkTYVOuUL+BPEfw2 xhXFSdidjhVSY+NuWpPPi05x0Q== X-Received: by 2002:a2e:3919:: with SMTP id g25mr8650919lja.162.1570787839244; Fri, 11 Oct 2019 02:57:19 -0700 (PDT) Received: from khorivan (88-201-94-178.pool.ukrtel.net. [178.94.201.88]) by smtp.gmail.com with ESMTPSA id m17sm2384718lje.0.2019.10.11.02.57.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Oct 2019 02:57:18 -0700 (PDT) Date: Fri, 11 Oct 2019 12:57:16 +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: <20191011095715.GB3689@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <99f76e2f-ed76-77e0-a470-36ae07567111@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 11:49:38AM +0300, Sergei Shtylyov wrote: > More grammar nitpicking... > >On 11.10.2019 3:28, 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. > >>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