From patchwork Fri Dec 23 14:22:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Wielaard X-Patchwork-Id: 36281 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp345806wrn; Fri, 23 Dec 2022 06:22:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXslg0G48oiZpYIBjf06hcC8AfiM0jz1HWfqwrIWt6l0U4fzQMX4OPASQegRUNCsqF+dZaCk X-Received: by 2002:a17:906:b0d2:b0:7c4:fe36:5b80 with SMTP id bk18-20020a170906b0d200b007c4fe365b80mr8885934ejb.62.1671805368813; Fri, 23 Dec 2022 06:22:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671805368; cv=none; d=google.com; s=arc-20160816; b=OBLPJgQH4CFAi/U/5OpM1VMfgY9ZL+8GP90mPFW/LxJOgm2Xs4nJaQHskBC7WDC878 Fg8zg2beTXJAP5i0n5qwMd0THWMGKV3O9eS56GzhWI+8X4wzfhRB1GxVPm7og1A+0+KS UVwujAqZmtP+s1VgpR6+VvKmSKVD5UrwA6may6QVeHj6beglAtSDXkqFscjrsdiTIgT5 qTOFRNTQilQpQgjE56Ul16lI0EPs90FTX5wfgqj6ruUMCL32azv4ECYzndjvSnfuMLoe qwa4IKbgygLSN3nzBgXp5jAZZLoWodTKbvfMWM93tu05h6LTrhYuZrIaNCQZTZIlaj/5 EnaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:references :in-reply-to:date:to:from:subject:message-id:dmarc-filter :delivered-to; bh=fhJCQCP5ZOxt9o4EvLBArDg1XToE1ZlfKdvh2OJd/aw=; b=sZD9DT4IAnhlKFk0qNwwdqsCAD5zhh1XTa6wS39SAqJLLmV8EyK8GqSPIOucmQHW8C 1pesoMira3mO0EZlMgita87EfF9H5lsYiP+wTVuwQ16pLndwZLLydjnAZUL1xMj4Ae0c ZAq3hQIG388okGUaMG7f3TUDEmXWGPElt/Yev4i3zHSWc3SOFsBvD8eXsEs4/cFdU5MA EmtWiXqXnyH6PbFG46RWz2fj5vNgtvfbPxQFmVLHOYKlWgihoE3oy4/kYl5KkUndH130 VMgdv2r5Yeea0nIOvgv4HIAhEkTOuihrsxFm/xzzoUUunRbTVLnq9jwXey+EszXH8Ij9 8fxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id e6-20020a17090658c600b007c10f641a2dsi2943260ejs.148.2022.12.23.06.22.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 06:22:48 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 80EDA385B53C for ; Fri, 23 Dec 2022 14:22:47 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 7242B3858D1E; Fri, 23 Dec 2022 14:22:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7242B3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from tarox.wildebeest.org (83-87-18-245.cable.dynamic.v4.ziggo.nl [83.87.18.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id DF4ED3000340; Fri, 23 Dec 2022 15:22:39 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id A95FA413CD0E; Fri, 23 Dec 2022 15:22:38 +0100 (CET) Message-ID: <98617b373993a3c6054b9389cddfde56b9aec7d1.camel@klomp.org> Subject: libsframe builder (Was: [PATCH 0/2] libsframe: fix some memory leaks) From: Mark Wielaard To: Indu Bhagat , binutils@sourceware.org, buildbot@sourceware.org Date: Fri, 23 Dec 2022 15:22:38 +0100 In-Reply-To: <20221222225457.1095930-1-indu.bhagat@oracle.com> References: <20221222225457.1095930-1-indu.bhagat@oracle.com> X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-3038.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753014986035302351?= X-GMAIL-MSGID: =?utf-8?q?1753014986035302351?= Hi Indu, On Thu, 2022-12-22 at 14:54 -0800, Indu Bhagat via Binutils wrote: > This patch set fixes some memory leaks in the libsframe and it's > testsuite. I see you are an enthusiastic user of the binutils-try buildbot. But changes under libsframe/ don't trigger new builds and the libsframe testsuite isn't actually ran. The following tweak to the buildbot master.cfg should fix that. Please let buildbot@sourceware.org know if you need more tweaks to better test the new code. Cheers, Mark From b58f0c5e82062f9c1160b72bba62a425c993fc79 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 23 Dec 2022 14:44:53 +0100 Subject: [PATCH] Add libsframe to binutils_files Because gdb and binutils share a git repo we only trigger builds if they are part of gdb or binutils. libsframe is a new subdir part of binutils. Also add an explicit check-libsframe to binutils_step_checks. --- builder/master.cfg | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/builder/master.cfg b/builder/master.cfg index 1e17aa3..8a66ae8 100644 --- a/builder/master.cfg +++ b/builder/master.cfg @@ -671,6 +671,7 @@ c['schedulers'].append(gccrust_bootstrap_scheduler) binutils_files = ["bfd/", "binutils/", "gas/", "ld/", "libctf/", + "libsframe/", "gold/", "elfcpp/", "include/", "libiberty/", "opcodes/", "configure", "Makefile.in"] @@ -2106,14 +2107,17 @@ binutils_step_check = steps.Test( workdir='binutils-build', command=['make', util.Interpolate('-j%(prop:ncpus)s'), - 'check-ld', 'check-gas', 'check-binutils'], + 'check-ld', 'check-gas', 'check-binutils', + 'check-libsframe'], name='make check', logfiles={ "ld.sum": "ld/ld.sum", "ld.log": "ld/ld.log", "gas.sum": "gas/testsuite/gas.sum", "gas.log": "gas/testsuite/gas.log", "binutils.sum": "binutils/binutils.sum", - "binutils.log": "binutils/binutils.log" }, + "binutils.log": "binutils/binutils.log", + "libsframe.sum": "libsframe/libsframe.sum", + "libsframe.log": "libsframe/libsframe.log" }, haltOnFailure=False, flunkOnFailure=True) binutils_steps_bunsen = bunsen_logfile_upload_cpio_steps( ["*.sum", "*.log"], @@ -2123,7 +2127,8 @@ binutils_step_check_libctf = steps.Test( workdir='binutils-build', command=['make', util.Interpolate('-j%(prop:ncpus)s'), - 'check-ld', 'check-gas', 'check-binutils', 'check-libctf'], + 'check-ld', 'check-gas', 'check-binutils', 'check-libctf', + 'check-libsframe'], name='make check', logfiles={ "ld.sum": "ld/ld.sum", "ld.log": "ld/ld.log", @@ -2131,6 +2136,8 @@ binutils_step_check_libctf = steps.Test( "gas.log": "gas/testsuite/gas.log", "binutils.sum": "binutils/binutils.sum", "binutils.log": "binutils/binutils.log", + "libsframe.sum": "libsframe/libsframe.sum", + "libsframe.log": "libsframe/libsframe.log", "libctf.sum": "libctf/libctf.sum", "libctf.log": "libctf/libctf.log" }, haltOnFailure=False, flunkOnFailure=True) -- 2.18.4