From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 13 Mar 2025 12:37:16 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tsgsH-00DY9k-0d for lore@lore.pengutronix.de; Thu, 13 Mar 2025 12:37:16 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tsgsG-0003ge-Cw; Thu, 13 Mar 2025 12:37:16 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tsgs1-0003gV-Fv for ptxdist@pengutronix.de; Thu, 13 Mar 2025 12:37:01 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tsgs1-005Wky-10 for ptxdist@pengutronix.de; Thu, 13 Mar 2025 12:37:01 +0100 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tsgs1-00BL7E-0d for ptxdist@pengutronix.de; Thu, 13 Mar 2025 12:37:01 +0100 Date: Thu, 13 Mar 2025 12:37:01 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: Mail-Followup-To: ptxdist@pengutronix.de References: <31a14194-1c2f-4a41-ab27-40a3c439712e@mev.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31a14194-1c2f-4a41-ab27-40a3c439712e@mev.co.uk> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2024.11.1 released X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi, On Thu, Mar 13, 2025 at 10:36:25AM +0000, Ian Abbott wrote: > On 13/03/2025 08:47, Michael Olbrich wrote: > > I'm happy to announce that I've just released OSELAS.Toolchain-2024.11.1. > > > > This is a bugfix only release. There are no major update. The relevant > > changes are: > > I'm guessing that this won't have the 64-bit time_t support in 32-bit > libstdc++ since it's a bugfix only release. Is that correct? Correct. And to be honest, I'm not sure how I should handle this. I've been digging some more and there is a lot of code like this: #ifdef _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp); #else clock_gettime(CLOCK_REALTIME, &tp); #endif And the problem with that is, that -D_TIME_BITS=64 only works correctly if clock_gettime() is used and not the syscall directly. And I'm not sure how to guarantee that. And so far, I've not really found any indication that gcc upstream is actually working on that in any way. So I don't know what I will do for the next major release. Just building with -D_TIME_BITS=64 for the official toolchains is not something that I'm comfortable with right now. Maybe an option to enable it and keep it disabled by default? That way, you could at least build the toolchain with it in a defined way. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |