Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3227606ybl; Sun, 1 Sep 2019 08:49:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1ql2Yi4ny6soHILMcH4J6tVkOF1f5+1M2FnQRVqahvwkDSpQjwI1RN7mtYWVJ++OnB01D X-Received: by 2002:a17:902:6a82:: with SMTP id n2mr24478814plk.53.1567352980011; Sun, 01 Sep 2019 08:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567352980; cv=none; d=google.com; s=arc-20160816; b=GHca4FbTzpcl8VoK9Y4aifWtq0lF4j5urowr8TXC93yIQenfOt/2QSyHCi/8jtZG+j kDzvMMrDc8mvVo2TbjXQ8WUDAHQdrc0OC9EnLVdKsQtTQjSXPh3zgfGZtLIsYThVjAHM Dzwr4E8b484z4Rxa2e/DW0ErpVY4lvc1NFLIOS7BJbQNlyQ4SQmXsZE8E5RiHg1CSzN/ i8yMXLbUvVDf3ktlc8QCtU3tFUi9D7o0hV3xZO50n+GQW+oJRxJCOI1YFw+9+MTPCaUA 1qpQHSwT3xTD2JGsfb4rVkBML80oeBdRYk99h7RD/eJjQerzk/9nJt9cDHMrJ338Qpuu iozw== 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:message-id:subject:cc :to:date:from:dkim-signature; bh=70IsHT9M7wHC5sbEsMlcBOHr5LV3ctdi6TIiJAxnIsc=; b=v///4lGr5giaaQpw38MsAK/ZvHU5d75PAUD10abeBf3866N6fdQdfAvyEC1Yf1BQvM xQ+mEpSFTR/70Nq7R7cCJCcyXnv6q3Ditg+N1HPx/r+IN2h1xqeu6lV9grXWMoo8vGuj XpnPN0bttX2YNZlPHs1Fw4PNR6D4FwzC1hgiHdS3pHYrJ9vOzlxhaOIZyEmOhhQFj2BD yrDUg0tBIxQASaD0UrAcUijcnfXeIZ72bBtKUn3Sas99+Aby3igtw5jnmTZBYIEqMP9+ UawvG4JtZTXw/4Uox/wNJuY4nQqOIGIQnRsOuHAGxReOr4lQlgNWW5/rCJiG228lpOMN 2mUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tk0JajPc; 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=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 u71si9523020pgb.461.2019.09.01.08.49.25; Sun, 01 Sep 2019 08:49:39 -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=@gmail.com header.s=20161025 header.b=tk0JajPc; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728891AbfIAPPc (ORCPT + 99 others); Sun, 1 Sep 2019 11:15:32 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:35656 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728506AbfIAPPc (ORCPT ); Sun, 1 Sep 2019 11:15:32 -0400 Received: by mail-qk1-f193.google.com with SMTP id d26so2856861qkk.2 for ; Sun, 01 Sep 2019 08:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=70IsHT9M7wHC5sbEsMlcBOHr5LV3ctdi6TIiJAxnIsc=; b=tk0JajPcEgvD26gilbHdnhaaVrcVPAGP4+USKl7uvrugQIQ3kGSXiz9S1l9t79RCGW wSajhc7H5+TrWuV3AnhbuyL/4oQzFyyo6PkEfyeXrmaLsWn24xA7OsOqmmaDtoaGIfr8 I/HOKvnfJqH5F7B5oO7ZN0BnA09jv/Gi1nDJKH0jZDky5fFa+qqRyDlYDTZ0S7WKdilJ TTdamtSOn2qagAqv8Oh2PVIIkl7a3o8hjvNxif5rdgcb6gfTDz2T7bvZqdk2ywynAunZ EP6q0r+D9yeRec9DAjpgzF9039ZrZJv2ke4aZHFXBvEleD9dva+w5+ieDYXM74D5q1rI nAgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=70IsHT9M7wHC5sbEsMlcBOHr5LV3ctdi6TIiJAxnIsc=; b=J9N19+AK0iLRpCxx5c7JUMol679Js9qZki+0nlEyGD1EtbbK8uyPxy14AJnaYC6OOR 3uNRD+LUp8cW3g7SWVDOIP2Pz2MJgqaqj/4MbQr+e5Iyt/WQP67qLuA0L5fS50sMyJ57 NDeu1XUfmbidPdcLY0ulgwD6Zykk+PUjz0rctvEVxE/tSBcajnTOjbJ77nvpXK42TUOS 7J7MmJ5nIkMPPAoy9PD4+upBL+d3pq9Piaik5oNE0AfF99ozWwYEO7bQrpnfvp50REVx Jgst13VBzUCJ6DEciu8hr22skiAFbtFhnMTRCWKy3OiIqTYsw/qMOJW43oPvbdUWGTUH KWoQ== X-Gm-Message-State: APjAAAVHDONAO8JqgbdkkuD43uQHlFnHyY/DINIXHLc1F9wmdzeesdst hbUrYnE4jfzmJaOeEam2cac= X-Received: by 2002:a37:9c88:: with SMTP id f130mr24409751qke.494.1567350930991; Sun, 01 Sep 2019 08:15:30 -0700 (PDT) Received: from quaco.ghostprotocols.net ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id e2sm5379927qki.70.2019.09.01.08.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Sep 2019 08:15:30 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 638F941146; Sun, 1 Sep 2019 12:15:28 -0300 (-03) Date: Sun, 1 Sep 2019 12:15:28 -0300 To: Jiri Olsa Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: Re: [PATCH 2/4] perf tests: Fix static build test Message-ID: <20190901151528.GM28011@kernel.org> References: <20190901124822.10132-1-jolsa@kernel.org> <20190901124822.10132-3-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190901124822.10132-3-jolsa@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sun, Sep 01, 2019 at 02:48:20PM +0200, Jiri Olsa escreveu: > Link: http://lkml.kernel.org/n/tip-ibdgg163291sx5m5xkojx5sq@git.kernel.org Can you explain why this is needed? Wat is the problem with building statically with those features? What happens when one tries to do it that way? I.e. what is this fixing? - Arnaldo > Signed-off-by: Jiri Olsa > --- > tools/perf/tests/make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/tests/make b/tools/perf/tests/make > index 70c48475896d..17ee3facfd4d 100644 > --- a/tools/perf/tests/make > +++ b/tools/perf/tests/make > @@ -100,7 +100,7 @@ make_install_info := install-info > make_install_pdf := install-pdf > make_install_prefix := install prefix=/tmp/krava > make_install_prefix_slash := install prefix=/tmp/krava/ > -make_static := LDFLAGS=-static > +make_static := LDFLAGS=-static NO_PERF_READ_VDSO32=1 NO_JVMTI=1 > > # all the NO_* variable combined > make_minimal := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 > -- > 2.21.0 -- - Arnaldo