From nobody Thu Apr 30 15:54:41 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 4g5zJK20prz6bgQ1 for ; Thu, 30 Apr 2026 15:54:41 +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 4g5zJK1TNPz3D97 for ; Thu, 30 Apr 2026 15:54:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777564481; 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=4lxMZU+nuzAOCa2YtpS2QGhqgp+RjGpqpK6+qcHeB58=; b=VQZlfEuKXsbOOEr626+Qx0ryVqx7ob7y05zWIa5/qJOg4jzuIiIPldJjK5CNig3drr6ydp Yu1vN6Ibl1g26WEbbJrcZnl/GP3dDofvixS/Mw0JnXrLWY37w/EOIOJ3Gnt2IUH8VtHTTq IHzkIRL6OI5D25K5AkM6Wwxt5XNeK0M4YkkbTiBbb1lsTaF+iAVPKqIOnaItYn66dZRqbM Ybm5uaR57iYm98H7H8D0wRLIYFitMtqAUtdgW1BO6V5dXIUX1y0AqyCGM+EAxml+aitVI7 DhHg5iHC/yMQz26pz/LGr9DtBEjGetZVz0fk3dcuP7CSdXCLcQbUP6h7VGmOTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777564481; a=rsa-sha256; cv=none; b=joiO9TQDpqj4qsIi1y/CFbvBST00LMDIkhBNLO2o/3hu5yWib7QBWjVZ4DaBfwzxabTy5M dHYYRtcZHn+zO3MgjeyoQSjuDyQcA4hc4+3OjSIOorgPCEqxCqMGmraUDjUAKcvCsjbcd8 gqTYq8CZ6R+kInUmuvEBYNmF6j17j9f1JCM7QDDJcltUoNNvWa7Bv+adnbpacnd9BrPK2h OOFeceF5KTuLed7gZ/q5h5Y/PUunglZ/qAWGuURraLDZ7V6bRtACudg2KOQMTa1yLUqgnk QZC2Gv2TlKSlYcfKZy5nVfQnvhTsHmHLjxZ0DlVHooRYLe+R7qzbSrk/5RXVOg== 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=1777564481; 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=4lxMZU+nuzAOCa2YtpS2QGhqgp+RjGpqpK6+qcHeB58=; b=YHt2Wpp8liHmL0XLWo57oq5U1dOSp53i+9CLXUbPJpcf60dxPLDJ0mbwpsmWRSpnM2r+hW bNNzLkZ8YBnH9AQjxxqz7/g0PPYvVrhd5EkSY6di6Qb6uc/A0NNBtT8h+eB68nTtD/pt4S s2WqiMHnYXvP5tXuvc2e+BGUmhG8OewReLTcicaT4KhFHbmRtGYZFVnAJ2PF3KUjPMaW4H jPfRT4dkj8ZQ/SCF2wid9vRykdBUwwO8zz74nOaAv3+NQrwVnoX5vYKo1TWDV/1jmTxPr6 FbKaMKh6fY7nCpoyDjqSeqS0ujfnK9sdRN54mAYWlSYxQLKUakNVcwi5j0tvzw== 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 4g5zJK15S8z3VF for ; Thu, 30 Apr 2026 15:54:41 +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 63UFsfoJ031752 for ; Thu, 30 Apr 2026 15:54:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63UFsfwH031750 for bugs@FreeBSD.org; Thu, 30 Apr 2026 15:54:41 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 294900] Errors during buildworld: C++20 extension Date: Thu, 30 Apr 2026 15:54:41 +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: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: thierry@FreeBSD.org 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 attachments.mimetype attachments.created 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 MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294900 Bug ID: 294900 Summary: Errors during buildworld: C++20 extension Product: Base System Version: 16.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: thierry@FreeBSD.org Attachment #270279 text/plain mime type: Created attachment 270279 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D270279&action= =3Dedit Log of buildworld errors By default buildworld sets -Werror and -Wc++20-extensions, and this causes several compilation errors on -CURRENT at 3b59d6ae2e78..dba24eb6f12d: E.g.: echo libdwarf.so.4.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libelf.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libz.a >> .depend --- dwarf_abbrev.o --- /usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd16.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I. -I/usr/src/contrib/elftoolchain/libdwarf -I/usr/src/contrib/elftoolchain/co= mmon -I/usr/src/contrib/elftoolchain/libelf -g -gz=3Dzlib -MD=20 -MF.depend.dwarf_abbrev.o -MTdwarf_abbrev.o -std=3Dgnu17 -Wno-format-zero-l= ength -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-ali= gn -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Wno-error=3Dcast-function-type-misma= tch=20 -Qunused-arguments -c /usr/src/contrib/elftoolchain/libdwarf/dwarf_abbr= ev.c -o dwarf_abbrev.o --- all_subdir_lib/libdevdctl --- --- consumer.o --- In file included from /usr/src/lib/libdevdctl/consumer.cc:50: In file included from /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/list:205: In file included from /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__algorithm/lexicograph= ical_compare.h:14: In file included from /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__algorithm/mismatch.h:= 15: /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__algorithm/simd_utils.= h:96:50: error: explicit template parameter list for lambdas is a C++20 extension [-Werror,-Wc++20-extensions] 96 | inline constexpr size_t __simd_vector_size_v =3D []() -> size_t { | ^ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__algorithm/simd_utils.= h:114:13: error: explicit template parameter list for lambdas is a C++20 extension [-Werror,-Wc++20-extensions] 114 | return [=3D](index_sequence<_Indices...>) _LIBCPP_ALWAYS_INLINE noexcept { | ^ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__algorithm/simd_utils.= h:129:20: error: explicit template parameter list for lambdas is a C++20 extension [-Werror,-Wc++20-extensions] 129 | auto __impl =3D [&](_MaskT) _LIBCPP_NO_SANITIZE("me= mory") noexcept { | ^ End of log is attached. --=20 You are receiving this mail because: You are the assignee for the bug.=