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 3AFD23858D3C for ; Fri, 18 Mar 2022 15:26:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3AFD23858D3C 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,192,1643702400"; d="scan'208";a="73167214" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 18 Mar 2022 07:26:00 -0800 IronPort-SDR: WXAhFzIl3+QYsGXyYszJDQBX0X2mzKO3GleY33/elYiPZKvO+a8PvcAMTYx8bp/t7Ml2PdPmaA qctARii6Ouu8zNwCQ1CbIcgeh1ef3IiraSaMyyGPJV8HtS5+gqfCq2tYG6rlo8nVdsxy5bPK+L Vj+oXQsqvEm1TrZdIErSV6IEqkCuBcvun4A8qWw8j9dgI+5EzhlhkEn/eYRrvvvnHCXfkXjCiq EK7NO9VGzkbfPHZoBK8FBLpq8H9P7Ci5Rh4RWTyLIrjSgz5yg2H/3fNhzUGwmaW+rOwZRTqB48 Gak= Message-ID: <66d46cf4-ac4d-94bf-ffc4-168903e7b24d@codesourcery.com> Date: Fri, 18 Mar 2022 16:25:53 +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 From: Tobias Burnus To: Nick Clifton , Binutils , Vladimir Mezentsev References: <14359283-a893-7208-c87d-c42aad214c67@redhat.com> <0d4bbabb-c123-f77e-ccf0-45a611acc4f1@codesourcery.com> <2dd3d4ad-3912-6935-064a-524af339125a@redhat.com> <35f693ef-3006-bece-21ab-2e6e46255a11@codesourcery.com> In-Reply-To: <35f693ef-3006-bece-21ab-2e6e46255a11@codesourcery.com> 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-12.mgc.mentorg.com (139.181.222.12) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-5.4 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: Fri, 18 Mar 2022 15:26:02 -0000 Hi Nick, I was wondering whether you still intent to apply the patch? It would be great if the build would work again after a week ... Thanks, Tobias PS: Regarding the proposed patch, I wrote: On 16.03.22 15:55, Tobias Burnus wrote: > Hi Nick, > > On 16.03.22 13:29, Nick Clifton wrote: >>> Thanks for the commit =E2=80=93 but it fails for >>> .../bin/ld: ./.libs/libgprofng.a(gethrtime.o): in function >>> `gethrvtime': >>> obj/binutils-src-mainline-0-x86_64-none-linux-gnu-x86_64-linux-gnu/gpro= fng/src/gethrtime.c:131: >>> undefined reference to `clock_gettime' >> >> Hmm, it looks like I missed a few places where the -lrt library is >> needed. >> >> Please could you try out the attached patch and let me know if these >> changes >> (on top of the ones that have already been checked in) are enough to >> solve >> your build problems ? > > Works =E2=80=93 I had some patch-apply fails due to HJ's commits, but fix= ing > the .rej was trivial. (One line removed, two #line number changes, and > two changes in makefiles (.in, .mk) in two files which were already > there.) > > After doing so, your patch did build with the two x86-64 Linux build > servers (both require -lrt, but only one has CLOCK_MONOTONIC_RAW). Thus: > > :-) > > 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