From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 0ED6E385E83F for ; Wed, 16 Mar 2022 07:56:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0ED6E385E83F 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,186,1643702400"; d="scan'208";a="73040048" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 15 Mar 2022 23:56:10 -0800 IronPort-SDR: KjL9dlqIQgu8PmC0Q6XxZ0pJDe2jIJ5jlLAa5DDXpkGaBLlJw/uZKBoXJWCnx2C2lhV3nbacm7 d4mNSHlPNYVbYUc4ZLU8V0oly9ZmLbR/goLeGwdpTvOJ7yQvwDuFbEDKOEjrEPuq1vBfPmru+F hgBwWXw4wHlFGLTKsv3kAPMs3piBhqVRl8UjsfjnK8qmXpJkXqiZ/0TtWdPNL0RH7aHPNDrr1e TIXmrgz1Ovh5ZK2uU1xReElhAWP1DtFGpCyGPOBB8K3vCUQX2DSKcGdB/yeQ6L/1awY2Y+yb0B tYA= Message-ID: <6273bc3c-10df-b2e0-66e0-f002f448eb99@codesourcery.com> Date: Wed, 16 Mar 2022 08:56:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: =?UTF-8?Q?Re=3a_Build_issues_due_to_patch_=22gprofng=3a_a_new_GNU_p?= =?UTF-8?Q?rofiler=22_=e2=80=93_CLOCK=5fMONOTONIC=5fRAW_not_defined?= Content-Language: en-US To: Vladimir Mezentsev , Nick Clifton , Binutils References: <14359283-a893-7208-c87d-c42aad214c67@redhat.com> From: Tobias Burnus In-Reply-To: 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-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, 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: Wed, 16 Mar 2022 07:56:13 -0000 Hi Nick & Vladimir, hello all, I still get the following, which I think I missed before because it first already failed in gprofng/libcollector/ =E2=80=93 and my last build w= as on a slightly newer system which still required -lrt but did provide CLOCK_MONOTONIC_RAW: .../gprofng/src/gethrtime.c: In function 'gethrtime': .../gprofng/src/gethrtime.c:162:26: error: 'CLOCK_MONOTONIC_RAW' undeclared= (first use in this fun ction); did you mean 'CLOCK_MONOTONIC'? int r =3D clock_gettime (CLOCK_MONOTONIC_RAW, &tp); ^~~~~~~~~~~~~~~~~~~ Thanks - and I am sure we have almost fixed everything :-) 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