From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 840D13858C60 for ; Mon, 18 Oct 2021 19:35:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 840D13858C60 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: V3Hx2CbliMkVM5eUkASfPqVori9Wzl2fRBqAVRBKx+DzR4DbPHy8U+QFzUkONPjawOzna9JBEb UxCzZyQmPbZvklFPmDZeuzggw+EYZIdT1gEmKBiF0peSCj+XRnDrJgx40onbIiWa7LtYlkalND 7S03ICRH4+gk3omLpO6PnDIE2oD4PT25J0NwPwPd73Q/8zotW9kmpKB5GZjkwlh/YJPUnAbUoX Pv0cEjdR4bdDEibwXxppksAi+J0/GMicgMdh10eN1cY0+y+F9GttJCff/7TCHELOJauE0SYTse oE94KQC0b5zoyMdWxpEyAa35 X-IronPort-AV: E=Sophos;i="5.85,382,1624348800"; d="scan'208";a="69799402" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 18 Oct 2021 11:35:12 -0800 IronPort-SDR: +tSPSzkTRHjdc3LequfRGPTOyzJUAq/rCHnSIIWYFSY4tP8pXWc6yHAhYJmScSkaR32vnPloZO lNIUj2G0BKfzo4KShTZWjza/VTx/j89bSv+RZoOKLEh8UtUzdID0tcm4j3Z/1WkM9IzR1wc0bA B1lHOfg5DVWon1UaheR3A51Hvi6zYzSoectegwaaItb1lBpHFP6BUC0Vkgyh2YRDvhhdgBE0HF F00aP2y1o+GKIBZIhJQKjcoSQfp+96TaCtUIjiAmMuFSbA4YoIpPe1iMNhjQxpfs09oAsFzPKU cIQ= Date: Mon, 18 Oct 2021 19:35:05 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Adhemerval Zanella CC: Stafford Horne , GLIBC patches Subject: Re: [PATCH] timex: Use 64-bit fields on 32-bit TIMESIZE=64 systems In-Reply-To: <6aef757f-e0c6-a2a1-2a07-6c7c151c50fd@linaro.org> Message-ID: References: <20211014211741.2615945-1-shorne@gmail.com> <6aef757f-e0c6-a2a1-2a07-6c7c151c50fd@linaro.org> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-09.mgc.mentorg.com (139.181.222.9) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3117.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2021 19:35:13 -0000 On Mon, 18 Oct 2021, Adhemerval Zanella via Libc-alpha wrote: > So master is broken on riscv32 (both misc/tst-ntp_gettime and > misc/tst-ntp_gettimex aborts) and I guess it is on arc as well. > > On Linux side, the clock_adjtime syscall (kernel/time/posix-timers.c:1112) > which maps to __NR_clock_gettime64 on 32-bit with legacy 32-bit and > __NR_clock_gettime otherwise always use __kernel_timex. > > The patch looks ok and we will need to backport it as well. If it's broken for existing architectures in a release, there should be a bug filed in Bugzilla if not already present, then marked RESOLVED/FIXED with target milestone set to 2.35 once the fix is pushed so that the fix appears in the generated list of fixed bugs in NEWS. -- Joseph S. Myers joseph@codesourcery.com