From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id E38963858D20 for ; Mon, 14 Mar 2022 23:13:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E38963858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="73167430" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 14 Mar 2022 15:13:18 -0800 IronPort-SDR: XTxEHuAS6uxl6MlbSe9fMebt+5XNlACJnhp9HcpUwec0CfWq+TOJz/AHTOrWQ4HG/6/BllQvTL 1W1ZNLmIbzYxfP2CtAc6M7Ezj5g7SWiEHQnZ7AgQbz/7GtnXroRIs+chmFHIZjeneOkx8Vj2wS 9NNmSF26ga26xvZuhj/RPyXA550o5YVatMwvo5+MK8nqrzYMlg8V/doFpqgbK2bibdci+FWRPI ybf0wg+jVgXtd+pCw3Usz/fCf5eQwebO/ADxVRs9f7xgwu1ndBMKTaSBvJmjBf2zeQYCEPoXrl +1E= Message-ID: <0ec4387e-e8dc-75e6-bca7-375091b33637@codesourcery.com> Date: Tue, 15 Mar 2022 00:13:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: Vladimir Mezentsev , Binutils From: Tobias Burnus Subject: Re: [PATCH] gprofng: the gprofng build failed with glibc versions before 2.17 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, FAKE_REPLY_A1, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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, 14 Mar 2022 23:13:20 -0000 Hi Vladimir, I can confirm that your patch fixes my two build issues (CLOCK_MONOTONIC_RAW and the -lrt issue). From: Vladimir Mezentsev > gprofng/ChangeLog > 2022-03-14 Vladimir Mezentsev > > * gprofng/configure.ac: Check for the clock_gettime function. > * gprofng/configure: Rebuild. > * gprofng/common/gp-time.h: Set CLOCK_MONOTONIC_RAW. > * gprofng/common/config.h.in: Add HAVE_CLOCK_GETTIME. > * gprofng/src/gethrtime.c: Add clock_gettime. (cf. https://sourceware.org/pipermail/binutils/2022-March/120019.html) Thanks, Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955