From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751965AbdHGS2n (ORCPT ); Mon, 7 Aug 2017 14:28:43 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:33520 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbdHGS2m (ORCPT ); Mon, 7 Aug 2017 14:28:42 -0400 Date: Mon, 07 Aug 2017 11:28:40 -0700 (PDT) Message-Id: <20170807.112840.395506747161262549.davem@davemloft.net> To: joelaf@google.com Cc: linux-kernel@vger.kernel.org, fengc@google.com, alison@she-devel.com, Juri.Lelli@arm.com, ast@kernel.org, daniel@iogearbox.net, netdev@vger.kernel.org Subject: Re: [PATCH RFC v2 3/5] samples/bpf: Fix inline asm issues building samples on arm64 From: David Miller In-Reply-To: <20170807130602.31785-4-joelaf@google.com> References: <20170807130602.31785-1-joelaf@google.com> <20170807130602.31785-4-joelaf@google.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 07 Aug 2017 11:28:41 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please, no. The amount of hellish hacks we are adding to deal with this is getting way out of control. BPF programs MUST have their own set of asm headers, this is the only way to get around this issue in the long term. I am also strongly against adding -static to the build.