Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6353966yba; Wed, 1 May 2019 10:33:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgXwOqzHwL/NUxROW1HNQ8tpMt01zN1Zv9ABs6N1xoIcQM4LYtUTZehDRWyWLe29sVjYfT X-Received: by 2002:a65:62c4:: with SMTP id m4mr15074512pgv.308.1556732002108; Wed, 01 May 2019 10:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556732002; cv=none; d=google.com; s=arc-20160816; b=rZCVu9B0RdN0XbHeRA0mOCWdO1gP23i0U6vmA7WYmbocIZUFb/X85L8tSwCESaRrq5 4Tmh3VKxSxiMZ+yplejoqWiPBW1pq5uuX8yltq58pzezM55Gqb5ZP6KnA4T86aeG6UNu SL0D83lIKErbHJR8YTkZiW5jOxfQ8HtDU2kLW2dd1e70yYOuCWBbuyGnDkbtptPkfP5A 5Jann9pcYdT3rzZDI2U1cxpPaSFGGnMPYgP4yNjnXY3ZBq420UvXlsEHyIhjCP/uJv9e pZfjNPkJ68UwfJd561mSDchu14cbXXy3koXCbR4DPSe53JpKg8mCt0nAOx8lA9Ia/dd1 nWHQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:date:from:dkim-signature; bh=y8s0ijs5pK7GyD3aubmLvTQxqI7m/6fliYiTiXFg8ns=; b=qi2Egt0gHErwQuCmqqsJA54P+UlJ3L5sK4UWoO+x8m4BT1CA5EvMXAEKQa2YW97Bod hgwIZXiBXL2vPejnbAssv9+ppycbiL6j8AVofDb9s0iQp3tfWhPeD1+gnMmA1aNsbJv/ vebdxd73S4289bfcgrBajWZa4tmQzIeRas/5axG4FkYDIh56QWfVwiVrP7r2bFX65WnJ dEzLw/MPgv5r4jTNVmRvxpaJl9IoMflRKTOjwXmiRG7rmMgxJzW7EsnmcFwsRveOLfpX CSXfIH4TT1EadJnSD0ZrtHXPeU+leMdC0whSJxcgRS3VqAHPZmagDGsL1jUR1zYEpwXl GC/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WIZw2cJa; 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 o70si42486423pfa.33.2019.05.01.10.33.06; Wed, 01 May 2019 10:33:22 -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=WIZw2cJa; 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 S1726124AbfEARcC (ORCPT + 99 others); Wed, 1 May 2019 13:32:02 -0400 Received: from mail-yw1-f53.google.com ([209.85.161.53]:33522 "EHLO mail-yw1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbfEARcC (ORCPT ); Wed, 1 May 2019 13:32:02 -0400 Received: by mail-yw1-f53.google.com with SMTP id q11so8836967ywb.0 for ; Wed, 01 May 2019 10:32:01 -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:content-transfer-encoding:in-reply-to :user-agent; bh=y8s0ijs5pK7GyD3aubmLvTQxqI7m/6fliYiTiXFg8ns=; b=WIZw2cJaQ2aQ0+C0kHMcDmC5dYQIg43PN9XuFrxHcyh8RlI3+7jsE6jwvmX73MUu4U JSA3hB2C9torLjbjvbp89EGZFy6liURIdw6uIutl4YJeaRj7iMi55Txp7ejFylZLVW8K vclkl5LQNebvpvHWB8ceDUKbt7hwDKea5VT9JJD4K0wpjWt7SwUiezox/Vzb9QkBcuPv 0CmRb8JPPt5Ixt4KepD082ngjJdeafhPAxohWtqR6Y3LcIrOP35onJ+J49RwlxnF9QEd 5ybR/gfkrBLiDFlzX+djjXxgSvFA2Mld9kgvKAyQfbXmTY+Y4hFg9huKaKcUUsVme/dC c3BQ== 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:content-transfer-encoding :in-reply-to:user-agent; bh=y8s0ijs5pK7GyD3aubmLvTQxqI7m/6fliYiTiXFg8ns=; b=FYsLGFw/4+7WnxjW9KuM6sTynkQNS1JEKOEef5ulUmzvxHWAzWd/4g/j2/n3OtB9og qOyKOyKnnx1xsbiDmSo8XpkZ8XZOi0WhYKSVbCW/O8CzQ/aA1cPT1ooK56h38m9lBRZt 3FLFxyeZRaSnmAh6aGdXMCvgj+gRYXLJL023yMtkCcEizFX2kW0PdbiFOVHXF0U6ognp wimMqAnVyHvfpdMiB9x/g1lWHXDNLFXDilhRVI7Q9RuUDx/vQiN7tXQgvxbRHgJC5dC9 Pyxp8Wsuc+JXPuRyRocNIb/YE+/hEmicDnPE3t93DDbPribt6DEHaytVJb0GVDcXEsZo i+nw== X-Gm-Message-State: APjAAAVbf/rxMw1td8ilGtBTJLhbpF/eiVszD69SVu8ByrLDmq7gO1BI 455PIjUtX8du/oo5yASLz+tRpIet X-Received: by 2002:a25:3758:: with SMTP id e85mr40210396yba.35.1556731920922; Wed, 01 May 2019 10:32:00 -0700 (PDT) Received: from quaco.ghostprotocols.net (adsl-173-228-226-134.prtc.net. [173.228.226.134]) by smtp.gmail.com with ESMTPSA id i13sm6780578ywl.22.2019.05.01.10.31.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 10:31:59 -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 C1B3A4111F; Wed, 1 May 2019 13:31:58 -0400 (EDT) Date: Wed, 1 May 2019 13:31:58 -0400 To: Thomas Backlund Cc: Arnaldo Carvalho de Melo , Song Liu , Linux List Kernel Mailing , Peter Zijlstra , Ingo Molnar Subject: Re: perf build broken in 5.1-rc7 Message-ID: <20190501173158.GC21436@kernel.org> References: <560abacf-da1d-7f55-755c-2086096bdf2c@mageia.org> <20190501130751.GB21436@kernel.org> <932c4e06-c4db-7bb8-769d-75651d092450@mageia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <932c4e06-c4db-7bb8-769d-75651d092450@mageia.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, May 01, 2019 at 05:09:59PM +0300, Thomas Backlund escreveu: > > Den 01-05-2019 kl. 16:07, skrev Arnaldo Carvalho de Melo: > > Em Tue, Apr 30, 2019 at 04:31:14PM +0300, Thomas Backlund escreveu: > > Can you check the output for > > /tmp/build/perf/feature/test-disassembler-four-args.make.output in your > > system? And also check what is the prototype for the disassembler() > > routine on mageia7? > > I guess this is what fails the test: > cat /tmp/build/perf/feature/test-disassembler-four-args.make.output > /usr/bin/ld: /usr/lib64/libbfd.a(plugin.o): in function `try_load_plugin': > /home/iurt/rpmbuild/BUILD/binutils-2.32/objs/bfd/../../bfd/plugin.c:243: > undefined reference to `dlopen' > /usr/bin/ld: > /home/iurt/rpmbuild/BUILD/binutils-2.32/objs/bfd/../../bfd/plugin.c:271: > undefined reference to `dlsym' > /usr/bin/ld: > /home/iurt/rpmbuild/BUILD/binutils-2.32/objs/bfd/../../bfd/plugin.c:256: > undefined reference to `dlclose' > /usr/bin/ld: > /home/iurt/rpmbuild/BUILD/binutils-2.32/objs/bfd/../../bfd/plugin.c:246: > undefined reference to `dlerror' > as we allow dynamic linking and loading > And we use linker flags: > rpm --eval %ldflags > ?-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id > -Wl,--enable-new-dtags Would this help? diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index fe3f97e342fa..6d65874e16c3 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -227,7 +227,7 @@ FEATURE_CHECK_LDFLAGS-libpython-version := $(PYTHON_EMBED_LDOPTS) EATURE_CHECK_LDFLAGS-libaio = -lrt -FEATURE_CHECK_LDFLAGS-disassembler-four-args = -lbfd -lopcodes +FEATURE_CHECK_LDFLAGS-disassembler-four-args = -lbfd -lopcodes -ldl CFLAGS += -fno-omit-frame-pointer CFLAGS += -ggdb3