From nobody Sat Jun 13 17:08:08 2026 X-Original-To: bugs@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 4gd2rm3D7hz6gjn7 for ; Sat, 13 Jun 2026 17:08:08 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gd2rm2hkgz3HhN for ; Sat, 13 Jun 2026 17:08:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781370488; 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; bh=QP9cG4lrDt4Ehua2HdJTgewhoNq1dDXy+CajymxDWqQ=; b=LnmzO7MsDbHuRmOV+imL0YKByz4hhJw6gi+jvYLd5efi4wbjVbWRQm/IfWRwHJJ84gIMs3 804gxsc0lti35JdbxI0bbgnN5YXo64HNHFnOx+wMsb8shD8mHC9kXhsRcPGIcyriZpFeD6 Xv9z+9KpK8jOxbgbF3o9g1S0XxthsQsljVAm2dDe7Fg+mymShGg0eAEDYOL30Dc4/Jo9Hg oHq10jVcriBt4YSV51u0OgxX7jLMGK0HHt9BIwu9QxaGyA40ryjreiRMpQKy1f7dvhS/UE +twscgkr1JsiUu18tJ7wGC/9aiUx2cnZsy4dGqQKwzxCo5QqPNinTXwvOEgITA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781370488; a=rsa-sha256; cv=none; b=gjeAO583D/hK2Vllr6QThHTBFxFmUkeSwLm9B0/6iz0Gu5NxTQHdgEshteaAYknJvq+8fY ILv0PKcNTFbPZDkou7tVfcnIA8Q6hJ9Y+bQTO2DmyvCBTmhqdT8st+2B8iwsa+Ae0RES4i 7yOGrhBorJo3wuiJgM9bK8hF22dadjmbMzqRmHQEau9dB8LooikUY+vd88wKuNUw4cvivV Wg3e8XGsyCrtmw2L9uh4qybAa04KcqWmfK38RuN2rAJ05hFjYF5leYkVG3hW4ECZCje0OJ fnWB7esNbpSY0DYggpzEe/azNtvaKHTamjZQw7C/ewWGy4hWtT8/zQjDEWNCyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781370488; 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; bh=QP9cG4lrDt4Ehua2HdJTgewhoNq1dDXy+CajymxDWqQ=; b=UvvceIhhONe95/GGhu0bOpuAnqrRTpKWPkGu1FyrLz+3+iU+SU+42lKI2mZ8oHNhENjVoM CuSVhuqulS0ukEaU8t7hY7etnHrdY6r3DuLvc2egoV7PWKlRT7D8R6tF/N295PCZPnS3rT lFz8hgq2hgJ37xWyOphUY8v+fNfjSP6Y6dtO99j0ZgdL4XuRcUXklBXFQbBED7rMCilX8h zhxDKJJ5I5uYresUJcEGhE1Jx5BLZUbiViVrXRfG33UATWnSRGplU1g1hofB0WLHap8sWE oT2uV5AQ1yCmoaWBWIHJIAEW5No/d56EWXjWsnP2q/91Nrl/LeS3pVA0OrGKRw== 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 4gd2rm1vnYzXFs for ; Sat, 13 Jun 2026 17:08:08 +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 65DH88ab000277 for ; Sat, 13 Jun 2026 17:08:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 65DH88oA000276 for bugs@FreeBSD.org; Sat, 13 Jun 2026 17:08:08 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: bugs@FreeBSD.org Subject: [Bug 296041] libc++: __locale fails to compile due to missing isascii declaration on FreeBSD 15.0 Date: Sat, 13 Jun 2026 17:08:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: info@babaei.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296041 Bug ID: 296041 Summary: libc++: __locale fails to compile due to missing isascii declaration on FreeBSD 15.0 Product: Base System Version: 15.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: info@babaei.net I am trying to build the latest Protobuf v35.1 on FreeBSD (v34.2 builds fin= e), but it seems the new release triggers a bug inside libc++ internal headers: FAILED: [code=3D1] CMakeFiles/libprotobuf.dir/Release/src/google/protobuf/io/zero_copy_stream_= impl.cc.o=20 /usr/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=3D1 -DHAVE_ZLIB -DCMAKE_INTDIR=3D\"Release\" -I/tmp/WickHopper-XXXXXX.KaVLQW729E/build -I/home/mamadou/WickHopper/third-party/protobuf -I/tmp/WickHopper-XXXXXX.KaVLQW729E/build/src -I/home/mamadou/WickHopper/third-party/protobuf/src -I/home/mamadou/WickHopper/third-party/protobuf/third_party/utf8_range -isy= stem /tmp/WickHopper-XXXXXX.KaVLQW729E/zlib-stage/include -isystem /tmp/WickHopper-XXXXXX.KaVLQW729E/abseil-stage/include -O3 -DNDEBUG -fvisibility=3Dhidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf.dir/Release/src/google/protobuf/io/zero_copy_stream_= impl.cc.o -MF CMakeFiles/libprotobuf.dir/Release/src/google/protobuf/io/zero_copy_stream_= impl.cc.o.d -o CMakeFiles/libprotobuf.dir/Release/src/google/protobuf/io/zero_copy_stream_= impl.cc.o -c /home/mamadou/WickHopper/third-party/protobuf/src/google/protobuf/io/zero_c= opy_stream_impl.cc In file included from /home/mamadou/WickHopper/third-party/protobuf/src/google/protobuf/io/zero_c= opy_stream_impl.cc:24: In file included from /usr/include/c++/v1/istream:164: In file included from /usr/include/c++/v1/__ostream/basic_ostream.h:24: In file included from /usr/include/c++/v1/ios:220: /usr/include/c++/v1/__locale:530:12: error: use of undeclared identifier 'isascii' 530 | return isascii(__c) ? (__tab_[static_cast(__c)] & __m) != =3D 0 : false; | ^ I've already reported it to Protobufs's developers here https://github.com/protocolbuffers/protobuf/issues/27942 but it seems this = is not a bug in Protobuf. Rather a libc++ internal header or GNU extensions compatibility issue, where that header is trying to use a GNU extension, wh= ich will break when compiled with Clang enforcing that the GNU extensions are n= ot available. I'm not sure whether this is the right place to report the issue or it's be= st to report to LLVM libc++ team. But, checking the libc++ version on FreeBSD: mamadou@freebsd-dev:~ $ cat p.cpp=20 #include #include <__config> int main() { #ifdef _LIBCPP_VERSION std::cout << "_LIBCPP_VERSION =3D " << _LIBCPP_VERSION << '\n'; #else std::cout << "_LIBCPP_VERSION not defined\n"; #endif } mamadou@freebsd-dev:~ $ clang++ -o p p.cpp mamadou@freebsd-dev:~ $ ./p _LIBCPP_VERSION =3D 190107 mamadou@freebsd-dev:~ $=20 It seems libc++ on the latest FreeBSD 15-RELEASE is not the latest version.= I am not sure if I can, or if I can how to install a newer libc++ on FreeBSD = to see if I can reproduce before reporting to the LLVM team. More info about this issue can be found here: https://github.com/protocolbuffers/protobuf/issues/27942 --=20 You are receiving this mail because: You are the assignee for the bug.=