Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3230670ybl; Sun, 1 Sep 2019 08:53:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSgrBXZ1jPSQSekCP6w8/udomhkGdAdN2UqxzN3OZFgqRsMFbK2+/KlPkzgZdw4ox8UzQh X-Received: by 2002:a17:90a:4c:: with SMTP id 12mr8627314pjb.40.1567353219631; Sun, 01 Sep 2019 08:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567353219; cv=none; d=google.com; s=arc-20160816; b=vDbVC+WJcFmsxX5UwyydgP/MvQDe2Tl6s9X2EGhY95UXwzzK6uDd1yjP7Jn2+OmVYu PNEd0m8UM82HyH54oTsGrKYnq9ubWoCst64rsONNnydvnweqBZPqculfkQwfY0+7TpXD f6TdDjFjAv22mlIYp5gUBiwJC7M20rdcVPnljvcTZIJNHaefgsLE21u2N1YdoDkqVNN1 J6VWCH23N6yaZfAxEMBizcadm4xWtMTNNEKScCNASCUi62MnDpDuTShHIL7G+a//XeVN ZB8ze/hBii9Qef8eLJPxQUqpbBVpt6K5bxVJEnf9pNzv5ielB4J/+06x7kjhJSrYZ2ZN BiBg== 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:from:date; bh=HOOFRTA6sz+N3uIxpEoBiUJKKFsBKVx+9WmxoInmbGc=; b=NrD3my6if1qTqqGl9Rhe4nP8RdqIp+B4Swea+yRUyRiNszUIjHrczVMcnw3Sx7sKVr JyQe2wujBDE5X/5OFUofnjtU3yYh1uNzO4cV9oaxkjEg7+3bupQRH3c2hRCv5c9sWebp 1F7g25Ny2+sUlgvAcc9JAl7FowUwcJXCz6WOM8IOCux0M8jn4o7EKLK0qaQs/RUdWfiY aKlH9uXogQVET9QIxZuYCOTLhhfgp8ChXVaXOFgHRVIkQKrzq0hYFcWiEfrqyQPMMI1Q lnuxWHoQxBr/0VQSpjNDPhqnNfTD3O6X8YAE4O/rwhpR9eMoyF4h0CSuhCKnd70arSzH AwdA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j4si9686805pff.230.2019.09.01.08.53.24; Sun, 01 Sep 2019 08:53: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729138AbfIAPqV (ORCPT + 99 others); Sun, 1 Sep 2019 11:46:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37272 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728934AbfIAPqV (ORCPT ); Sun, 1 Sep 2019 11:46:21 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C7F8D10F23EF; Sun, 1 Sep 2019 15:46:20 +0000 (UTC) Received: from krava (ovpn-204-35.brq.redhat.com [10.40.204.35]) by smtp.corp.redhat.com (Postfix) with SMTP id DBCFE6012E; Sun, 1 Sep 2019 15:46:18 +0000 (UTC) Date: Sun, 1 Sep 2019 17:46:18 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: Re: [PATCH 2/4] perf tests: Fix static build test Message-ID: <20190901154618.GA10402@krava> References: <20190901124822.10132-1-jolsa@kernel.org> <20190901124822.10132-3-jolsa@kernel.org> <20190901151528.GM28011@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190901151528.GM28011@kernel.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.66]); Sun, 01 Sep 2019 15:46:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 01, 2019 at 12:15:28PM -0300, Arnaldo Carvalho de Melo wrote: > 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? sry, I have to disable VDSO and JVMTI for static build, because they are shared libraries and just won't pass with -static in LDFLAGS.. I wanted to throw it out, because I'm confused that the test is passing for you just like it is right now ;-) I'll send out version with changelog jirka > > - 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