Date: Tue, 29 Oct 2024 18:05:49 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 282377] Missing std::chrono::current_zone in libc++ 19 Message-ID: <bug-282377-29464-RPfT6tNHWp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-282377-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-282377-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282377 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org, | |philip@FreeBSD.org --- Comment #3 from Dimitry Andric <dim@FreeBSD.org> --- At the moment upstream only really supports LIBCXX_ENABLE_TIME_ZONE_DATABAS= E on Linux, other OSes are apparently entirely untested. I tried configuring libc++ with this option turned on, but the experimental tzdb.cpp did not even compile. :) Now that was quite easily fixed with an additional #ifdef, but then it turns out that reading the time zone informa= tion does not work at runtime either. It assumes there is a file called /usr/share/zoneinfo/tzdata.zi, which apparently is a shrunk version of (most of?) the time zone database. In Fre= eBSD we do have /usr/share/zoneinfo, but not a tzdata.zi file. Since libc++'s tz= db parser depends on the exact text format of this file, we would first have to add it to the base system. It looks like this format could be produced by contrib/tzdata/zishrink.awk,= but I am definitely not an expert in this area, therefore I'm putting Philip on= CC. :) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282377-29464-RPfT6tNHWp>