From nobody Tue Oct 29 18:05:49 2024 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdJ8Y1dX0z5bkkf for ; Tue, 29 Oct 2024 18:05:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdJ8X6wkBz3wbs for ; Tue, 29 Oct 2024 18:05:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730225149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YJsnqwmZD0MHds+7bdZV3ntlV77N96KnyONLYXzIXKo=; b=NnhvbRoDLzSBIcsHH01DP0WzE7FgKFo/Xt1015LMw943+S9eh7vfr9S1OlNsjFCCyE+ZUS xhwXIZ34nm7ArVjVP/4mzdI16rOPhG/rLNa89Md1YWGvBLT3bvF23kWiCl6WfJwn6vBspN BYvmYmsxDgHYUukiW110c4TQkmhQ0BOoafZOjWkc1qDeNNvMOQRq7uRfdHHvVTZYPKkG2C qY7K7vNm4VCxaidQLHUbQk6pG6yEfRuXOZRkFwkIGL66DsdZK074zZzomWEgkHJHQ/lC8O tns/acUrqVbYSj3q310XupMjFyGCvilnAMjhXijb36psfYisF77GGXO97JiLtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730225149; a=rsa-sha256; cv=none; b=xdueQqEmEHIhBTX0O0JuqY5Fgve1y2FPHEyOG14qQdLlF0qXonbcAiu3mug6O+E50WDiLS 72h1gsNRhzPL1EaxgOaPv3IYBHm5oqC1QFdapwHoWY+F61dGnoqWEQ79AuIiqwiY9s3DvH X66xJ4H2Xg2w+2RZ2YLVIYxNIWBhDNWU2YblYPwCvWVzDqM4mwmKln2pMGJzfBZ6HdlN1t +uToshmziQLUd7LXKbA8af1DnY+4u1Rjv6bkNfhb+iMFbFB9Pwl0PggyP3yaQlAA9nF/Vs ZZg+AxXjs/EVvQ/G3NbFdkfU1DZEtxw171TiNoMlyGWVI3AdPTuwmgTsPdGrTw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdJ8X6PrPzZ76 for ; Tue, 29 Oct 2024 18:05:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49TI5mtx013773 for ; Tue, 29 Oct 2024 18:05:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49TI5m6M013772 for toolchain@FreeBSD.org; Tue, 29 Oct 2024 18:05:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 282377] Missing std::chrono::current_zone in libc++ 19 Date: Tue, 29 Oct 2024 18:05:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282377 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org, | |philip@FreeBSD.org --- Comment #3 from Dimitry Andric --- 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.=