toolchain@mlmmj.nyi.freebsd.org>; Thu, 13 Nov 2025 01:03:55 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d6MV26LRkz3Mw0 for ; Thu, 13 Nov 2025 01:03:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762995834; 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=buhPSPmbUmoOAsD1/Jq9AObKu3wtCh9frSVb040PvgY=; b=O6c9ZELXXtJsmySRS6R2WvywnuTI6Vogu3CTLpamk2QoiJimNQ/1cWje8Dr3l+U666It2B ycTuREeK2qBFupVe8BodHNnliENCWzQs70bUAgJuPu5F6pP4uv/GIGt/1KKzPCDO4uh7O1 +7pxDJHMjIRQ82aSys0hrFb/spOhQIirfZvI+61PA5w26ZcpP/v2p/bOOOZj6tuWZaiE/Q IT+SgFYanZlIcEmQzbEfHWgxIAqoawOJlAdbdTzEgnrHb2TAUUcjYkPCDiUCMs2ZR7Wsmg FcWzDYERlFl+tuaJ1cyKRKMQPDlxYgD589FhPWPyL0FiAKAbVnEvkm+TGHyjpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762995834; 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=buhPSPmbUmoOAsD1/Jq9AObKu3wtCh9frSVb040PvgY=; b=l1cNJ9qamthTkHc/lKwDJUywN6T8MciuNMOZLw9BRZFU+byzo//ufyN4f8Qs7aDMY/WsTs tp1aqNRYYJzbtnq5j5l2ixWIDQCiVTZfORw5rYy+m0IT3mVQFtkNStoF+M9CdgCeE3RChf dVqc2AIPvc+OJlH42MZcaA8Dbq3abnAoyai/Xqd+vBOaSciPrBcn8zOzuhmyPwqZ2ULgqz yQ2vwkcgPYqFBdnDwDYxkgSEhOQODTTqnaAj5IsrK/VmIkUlurJ+/RNenOEHu23MBEDiYg /rdw6ZRi8Op3HnOAQUpS+5rz3qOnI6CHM2LwUbFCMLnBJyWjURAOaqa9eLvLjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762995834; a=rsa-sha256; cv=none; b=aoSKm2H75VuPrnowj/dvx7NjAmMFd/DDplt0TnhvtCl0g6ZVHdgs+BoA20toBfdecm5anw 0d+YWLhpffmM4hr+sq1R607aKsbmSHv2KqT/n3uXzo5JHhj1rBckcRqcI++JEb6DKbCc1u X8zPTOCy91I3qhRkBMXtwpgXhK9ccnJ9lLJs6L+p0T9QR+rcginOTkrxmP1xYxhGVpqDuE YP7dcExiil/OOuHYip5bC1aVG05cxSFxApw+HPNII9tDVOJvphNysqTcrRFwXLgnjLam8p rRPP5KG0n1g7IEEvBZ1ZSh7gU/Z+rjJYb6S07DSZ+7KbERHF6QJwMc+XA6KGcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4d6MV25cDWzyRZ for ; Thu, 13 Nov 2025 01:03:54 +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 5AD13sBQ068308 for ; Thu, 13 Nov 2025 01:03:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AD13st6068307 for toolchain@FreeBSD.org; Thu, 13 Nov 2025 01:03:54 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: Thu, 13 Nov 2025 01:03:54 +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: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 --- Comment #11 from Jan Beich --- Created attachment 265387 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D265387&action= =3Dedit [incomplete] Enable tzdb in libc++ Not sure. Waiting for feedback from Clang/libc++ maintainer. With the attached patch cppreference's example successfully compiles but doesn't seem to work. $ c++ -std=3Dc++20 -fexperimental-library -o test_tzdb test_tzdb.cc $ export TZ=3DUTC $ ./test_tzdb corrupt tzdb: expected a digit $ truss ./test_tzdb |& fgrep -B5 "corrupt tzdb" open("/usr/share/zoneinfo/tzdata.zi",O_RDONLY,0666) =3D 3 (0x3) fstat(3,{ mode=3D-r--r--r-- ,inode=3D15587,size=3D107651,blksize=3D108032 }= ) =3D 0 (0x0) read(3,"# version 2025b\n# redo posix_on"...,108032) =3D 107651 (0x1a483) lseek(3,0x0,SEEK_CUR) =3D 107651 (0x1a483) close(3) =3D 0 (0x0) corrupt tzdb: expected a digitwrite(2,"corrupt tzdb: expected a digit",30)= =20=20=20=20=20 =3D 30 (0x1e) --=20 You are receiving this mail because: You are the assignee for the bug.=