Message ID | 20230807111029.2320238-39-arsen@aarsen.me |
---|---|
State | Unresolved |
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1406292vqr; Mon, 7 Aug 2023 05:18:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzYtnTcWB38UKOJd9OdO4otNLtruqA2snqjgLfCpkd4k5aM5Rfn5reKJoyYS3VAiJcZZH0 X-Received: by 2002:a05:6402:6c6:b0:523:102f:3ce0 with SMTP id n6-20020a05640206c600b00523102f3ce0mr7610706edy.21.1691410715308; Mon, 07 Aug 2023 05:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691410715; cv=none; d=google.com; s=arc-20160816; b=lG6pIvVY1Gi8ZOIbPqmHXh5Ekes+SY0qwrkNYEkFSjNtFIESVfi6hxlwzbvP2IVqls 8AKzT5qNvt+1mzCW3PfuGq1Rivts7wezn3YQqgv6yWZIl03Y2CsZg1VkO9ZCJ1IjtXNd hgTkfP5TbhShHKQfazXOpLtRxXW+o/Fpp8mN7X+eArsgnYUZPbEnWQJ02RUcFUnzKF5S KB/4MbF0ExSfrw6ap5iWnjPN+jHw4KIeCwBIi2nr06auF/OqCRHkf1bHtjmMk5WNcZFv JfCrF7WQ+nlcOz6DZa+ZQCyLcPIVkGHiHyYDdqEQtSATKiNO7+9Yx2AGyQgS9ljr4qeW X64w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=dG+X7CkVBjSyvQvcYiAbMW/VgxCxm3EYriOcb19lj7E=; fh=c52W0PXFGC4RCQIlxKygkq5VXSkzeg/0BsNnEf3roKg=; b=yyQ5gXfl2TNCQ5bEkRLnCDGL0RgJez8q0wogIDx6WYAHJwg/AZD8uYWcdVJdAMM22v 6nnFOHWjtpyIVREoDN2m4uZXC9SOhg7DekkyU/Ml9vFRCCjbdFvMUSl1YeCsp3UijiUi NWZOw/zCzmDiiFr1Da4m9fGTZ6GyRtnMc08FYnTk5wQktrqLdUKd8B9stwWmPNzaLFWq XmHede1YkUwp21fbd95cgpn79V8XKjUEzXdM3fwlD0U33CUkPD2kPd1TCLuiQmujmriC Zl6wjOIh4l42/N2T92+6pspmXhkjE5ZAHjT5n45MmYxlEhIZF7uKPQlqcbWk2SaGwg2l ANRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=aFkRcrRy; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id u11-20020a05640207cb00b00522d86e9357si5563217edy.228.2023.08.07.05.18.35 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 05:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=aFkRcrRy; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4D0F2386BFA9 for <ouuuleilei@gmail.com>; Mon, 7 Aug 2023 11:47:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D0F2386BFA9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691408844; bh=dG+X7CkVBjSyvQvcYiAbMW/VgxCxm3EYriOcb19lj7E=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=aFkRcrRyvuJZObZBespji23qsPCg7LBXq5VXA/YDTPStPKZkw2cDOlhjsI0X5ZoyS xd3RaEHiHY97200+FLLX5RHg4eApKuw0cQZCoUCqF0tKXynOcArtLCOmSk7HhRkHHI y1CtbvGhdkPEHh60FGsDH6vMxc/41pujmlq1H77c= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161]) by sourceware.org (Postfix) with ESMTPS id 5C92538582BC; Mon, 7 Aug 2023 11:19:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C92538582BC Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4RKDPP5s0kz9sW1; Mon, 7 Aug 2023 13:19:53 +0200 (CEST) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Eugene Rozenfeld <erozen@microsoft.com> Subject: [PATCH 38/45] Fix collection and processing of autoprofile data for target libs Date: Mon, 7 Aug 2023 13:07:41 +0200 Message-ID: <20230807111029.2320238-39-arsen@aarsen.me> In-Reply-To: <20230807111029.2320238-1-arsen@aarsen.me> References: <20230807111029.2320238-1-arsen@aarsen.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= <binutils@sourceware.org> Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= <arsen@aarsen.me> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773572682350246351 X-GMAIL-MSGID: 1773572682350246351 |
Series |
Synchronize shared build infrastructure with GCC tree
|
|
Checks
Context | Check | Description |
---|---|---|
snail/binutils-gdb-check | warning | Git am fail log |
Commit Message
Arsen Arsenović
Aug. 7, 2023, 11:07 a.m. UTC
From: Eugene Rozenfeld <erozen@microsoft.com>
cc1, cc1plus, and lto built during STAGEautoprofile need to be built with
debug info since they are used to build target libs. -gtoggle was
turning off debug info for this stage.
create_gcov should be passed prev-gcc/cc1, prev-gcc/cc1plus, and prev-gcc/lto
instead of stage1-gcc/cc1, stage1-gcc/cc1plus, and stage1-gcc/lto when
processing profile data collected while building target libraries.
Tested on x86_64-pc-linux-gnu.
ChangeLog:
* Makefile.in: Remove -gtoggle for STAGEautoprofile
* Makefile.tpl: Remove -gtoggle for STAGEautoprofile
---
Makefile.in | 2 +-
Makefile.tpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in index 406bc40274f..e37ada06d04 100644 --- a/Makefile.in +++ b/Makefile.in @@ -637,7 +637,7 @@ STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS)) STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS) -STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g +STAGEautoprofile_CFLAGS = $(filter-out -gtoggle,$(STAGE2_CFLAGS)) -g STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS) STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS) diff --git a/Makefile.tpl b/Makefile.tpl index 45facbac6a9..4450f696766 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -560,7 +560,7 @@ STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS)) STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS) -STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g +STAGEautoprofile_CFLAGS = $(filter-out -gtoggle,$(STAGE2_CFLAGS)) -g STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS) STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)