From nobody Tue Jul 28 07:26:55 2026 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 4h8RqN11FNz6ml9k for ; Tue, 28 Jul 2026 07:26:56 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h8RqN05NBz4LR1 for ; Tue, 28 Jul 2026 07:26:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785223616; 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=EaH6dgJXVrXi5O1MaHDCdQDUI2pVi18RMpg/TRDpYBU=; b=dW+x4hKHbf/q9hnnzHKD0KMh8fzZ4MgeoSkylyFll3+ZpjruXx7d4+wk/1M2wyBbzWShCs ccWpEs5Ig6V6VLunNcfdY8ILOgH7EyRvtfTNQYxP1eT6FQDyszaVAuM6oUNd0yVQ+lhzBK DjayB2oCwbeBpmB6FpMpi7utZv2R7t3rMOLQr3ZqsShtoKDcFIVwb+cdQmH+tMOqwe3Jng 2lh/ew/nMY9o3ip4ALmzXErt36WrvZYxjY5DGnCMTt3jrohR9B/NTAStYn9Z0cnE1XenCW fDvEcV7CMPW+Kzi6AbymLJVKBy8ScRANsKmY7k1Kgl3zG89QuClNq/2/vTgscQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785223616; a=rsa-sha256; cv=none; b=U8R6YWk3o6Mz2w3jCxRDeP78+4qxyir4G2cPlVhCQkQV5FI0Qy4f7hBiQsF+i0z32DaDPZ tGWj9R5BxcCpBIu5F4Llp9CNwoChBexn39EmiarqU29CoVfN58znT0Zy/VtoAD1Sh7Vk8W eRJv8ggy+ysTmwicnt+mCUFbv1pC61i0WEyOvwPRwu78t/j6553x9LAqecYDR13ssp1bx7 +HoF+fkVLgrMj29EDRU3dY4nGd1YkpGLzs6iWPzLj+eqmgOej6DJSXfgxJ205zWBguRiCF N/J9DDwcU0FZLaNLxV1par44tPYhF5afLolPairk4/UwgEek+ZaB1fa1pyf6Vw== 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=1785223616; 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=EaH6dgJXVrXi5O1MaHDCdQDUI2pVi18RMpg/TRDpYBU=; b=MocIyE1Gppp/zIpLFDa4maOlENi6IwTA/Lg0b96+woCUv6VlUONadz0H5m+PtTFvbO2YCw pK3WDm/yResyI/4PmpIjeqMNEg+c7OVJqDgDEtpbmKhuRLVD2HdBpJTnyAGuRmYZRT1vK8 t01tQYvMj/T7PMb2nBkVFHgkbJuCV5Ure0qQvd0xgVZn3fBrXiYXyq7jPq1KuJqJ04winj T58K6k/slnAM2U/2ZBGO44tC1smECQbBzRq5f4HGMS2/+iiCTwKHwlWx1k6jYEcsVVcGea gytSKnjd8KuQlsm1Mf653/nSoe4vaShDlcRDb/wsfBL+4Vk4Z02bQnrOIair0w== 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 4h8RqM5d0bzTKS for ; Tue, 28 Jul 2026 07:26:55 +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 66S7QtMF043039 for ; Tue, 28 Jul 2026 07:26:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 66S7QtAF043038 for toolchain@FreeBSD.org; Tue, 28 Jul 2026 07:26:55 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 230184] clang++ failed to include standard header files if '-stdlib=libstdc++' option is specified Date: Tue, 28 Jul 2026 07:26:55 +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 Some People X-Bugzilla-Who: vedran@miletic.net X-Bugzilla-Status: Open 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-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 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=3D230184 Vedran Miletic changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vedran@miletic.net --- Comment #5 from Vedran Miletic --- (In reply to Mark Millard from comment #1) It is possible, with some patching on the GCC side, to use LLVM versions fr= om Ports with libstdc++ from a GCC version from Ports. There are some issues t= hat require additional trickery with CLI flags with Clang 16-20, including syst= em Clang, but Clang 12-15 and 21-22 work reasonably well. With LLVM 21 landing (bug 292067) it should be easier. I can share my findings if there is interest. --=20 You are receiving this mail because: You are the assignee for the bug.=