From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by sourceware.org (Postfix) with ESMTPS id 585373858436 for ; Mon, 7 Mar 2022 21:57:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 585373858436 Received: by mail-pj1-x102f.google.com with SMTP id gj15-20020a17090b108f00b001bef86c67c1so497620pjb.3 for ; Mon, 07 Mar 2022 13:57:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=57BZY3ijJJv5f1yUNX2ercW3y80Skz1aHS/9ldK4PRM=; b=jEHQFfbgh2fubD/LnNWwOZ1qagD7ycrmnJ8KiIw2UbnrzFO+yq17gKbUx81DI4i3cF tT2xXS9NXJ9SaXbZTiovrSr6wRyxFvzb0pAR1tt3hNN/KB7WHdrgAJtEwzUHazsk9UpU RWvyBiBUqQLXl82bNjffhzMJWj32Wlj4y5ctozOl6WNPw29NJvUgH26ceeX30paEehJN Zr0PK5CNPpAVgb63hXazvqW1Ov8H6g35bitQ8PP/xvuklyAGajJd+VWwRIp0Ejb7XFrG 2n0QLktMZ790NaFxKOwVsQrKkwglBovleGQYpBgS9zC7+FcyjkY6Yv6BzB8UXY/ev0Hh 3mzA== X-Gm-Message-State: AOAM532isdutxwK8cfHp8a3EsBSXY0VLf7M9t+WGSPh5t+0Gd82leKHd xtJVZlnN5YWQE/ZX3qnmvF8bFyVoCaHFPB/CDWk= X-Google-Smtp-Source: ABdhPJydc9rcAGdAOAOXfH14tEvbikhCd9m/7Y+d7w39O1IqR8JMj7MZmyhYGim5n5cauCOGJGn+zTW+r4qrKSuRaq4= X-Received: by 2002:a17:90a:20a:b0:1be:e850:1a37 with SMTP id c10-20020a17090a020a00b001bee8501a37mr1182572pjc.28.1646690275422; Mon, 07 Mar 2022 13:57:55 -0800 (PST) MIME-Version: 1.0 References: <7dadb881-ab4b-de4a-0453-6d8661a8cd83@oracle.com> <44e0ca3c-0792-7fc2-bff4-0918f1f4bea2@redhat.com> <653282db-9261-e5fc-4280-0d00be272d81@oracle.com> <53d65dfe-38b4-7a2c-2052-b3c039642392@redhat.com> <10dfd732-9930-22c6-6385-28aa41cd1816@redhat.com> In-Reply-To: From: "H.J. Lu" Date: Mon, 7 Mar 2022 13:57:19 -0800 Message-ID: Subject: Re: [PATCH V4] gprofng: a new GNU profiler To: Vladimir Mezentsev Cc: Nick Clifton , Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3020.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-List-Received-Date: Mon, 07 Mar 2022 21:57:58 -0000 On Mon, Mar 7, 2022 at 1:42 PM Vladimir Mezentsev via Binutils wrote: > > Hi Nick, > > On 3/4/22 05:53, Nick Clifton wrote: > > Hi Vladimir, > > > >> We have pushed these changes here: > >> url: https://github.com/oracle/binutils-gdb.git/ > >> branch: oracle/gprofng-v4-1 > > > > OK, so using those sources, I built a set of the binutils binaries > > without any special configuration options, ie: > > > > configure -- quiet > > > > and then I built gprofng and the other binutils tools. This worked > > OK, but when I tried to run the gprofng testsuite only a few tests > > appeared to run: > > > > Running gprofng/testsuite/gprofng.display/display.exp ... > > ERROR: compilation of test program in jsynprog failed > > > > === gprofng Summary === > > > > # of expected passes 14 > > # of unresolved testcases 1 > > It is expected. JDK is not installed. You should skip this test if JDK isn't installed. > > > > > Which does not look right. But then I remembered that I needed to > > enable shared builds, so I tried: > > > > configure --quiet --enable-shared > > > > and this produced even worse test results: > > > > Running gprofng/testsuite/gprofng.display/display.exp ... > > ERROR: compilation of test program in jsynprog failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in mttest failed > > ERROR: compilation of test program in synprog failed > > ERROR: compilation of test program in synprog failed > > ERROR: compilation of test program in synprog failed > > ERROR: compilation of test program in synprog failed > > ERROR: compilation of test program in synprog failed > > ERROR: compilation of test program in synprog failed > > ERROR: compilation of test program in synprog failed > > > > === gprofng Summary === > > > > # of unresolved testcases 15 > > > > The jsynprog and synprog failures is probably expected, since I do not > > have the JDK installed, but the mttest compilation fails because I am > > not testing an installed version of gprofng: > > > > /dev/shm/delme/gprofng/gprofng/tmpdir/root/usr/local/bin/gprofng: > > error while loading shared libraries: libgprofng.so.0: cannot open > > shared object file: No such file or directory > > > > > > It would be really nice if I could test a built-but-not-installed > > version of the sources.... > > Done. > > Please review: > url: https://github.com/oracle/binutils-gdb.git/ > branch: oracle/gprofng-v4-2 > > Thank you, > -Vladimir > > > > > > Cheers > > Nick > > > -- H.J.