From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id C206939450C2 for ; Mon, 6 Apr 2020 16:07:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C206939450C2 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=fw@deneb.enyo.de Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jLUHQ-0002CW-Lv; Mon, 06 Apr 2020 16:07:20 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1jLUHQ-00010i-Is; Mon, 06 Apr 2020 18:07:20 +0200 From: Florian Weimer To: Lukasz Majewski Cc: Joseph Myers , Adhemerval Zanella , GNU C Library , Andreas Schwab , Alistair Francis Subject: Re: [PATCH v2 5/5] y2038: Replace __clock_gettime with __clock_gettime64 References: <20200326080641.10193-1-lukma@denx.de> <20200326080641.10193-6-lukma@denx.de> Date: Mon, 06 Apr 2020 18:07:20 +0200 In-Reply-To: <20200326080641.10193-6-lukma@denx.de> (Lukasz Majewski's message of "Thu, 26 Mar 2020 09:06:41 +0100") Message-ID: <87369gd2dj.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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, 06 Apr 2020 16:07:27 -0000 * Lukasz Majewski: > The __clock_gettime internal function is not supporting 64 bit time on > architectures with __WORDSIZE == 32 and __TIMESIZE != 64 (like e.g. ARM 32 > bit). > > The __clock_gettime64 shall be used instead in the glibc itself as it The __clock_gettime64 function? > supports 64 bit time on those systems. > This change does not bring any change to systems with __WORDSIZE == 64 as > for them the __clock_gettime64 is aliased to __clock_gettime > (in ./include/time.h). Should this patch remove the __clock_gettime GLIBC_PRIVATE export?