From nobody Mon Nov 29 15:24:26 2021 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 4E18F18B4BCC for ; Mon, 29 Nov 2021 15:24:26 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J2pzs6KhBz4hxV for ; Mon, 29 Nov 2021 15:24:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B9EC224BC3 for ; Mon, 29 Nov 2021 15:24:25 +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 1ATFOPG5069160 for ; Mon, 29 Nov 2021 15:24:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1ATFOP2q069159 for bugs@FreeBSD.org; Mon, 29 Nov 2021 15:24:25 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 260097] MFC WITHOUT_CXX fix Date: Mon, 29 Nov 2021 15:24:26 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638199465; 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=fcm6CJBxe52T2KjNT3h2ZUXmIdaYCPkc4MUi8Ra0S8k=; b=SpUTjXp6SRuuvQw55OBJh2Yb6ViaX8b9b2NXVrHRpO81cQS89pExsEMm07w2GDkkhnzB69 dmnhvffVk2awPPc6mVh3EVG+Iwqs/x9b7aDB8q0vbqiY0U+ZNY95wBApcCtBFmqx58h1AP CJskLy+mgtHQyXQzjybwD5IVV7UqLmyVlXedkvrT4PTEjVVQwRIwOCVZw0bGjzbOQyFmzg RNhM53TCRtQ1XyTfbT60R6xNpRaoow/bnSnQZP5FTSKLSZi3Y2Pl9J83R8Mw2djP601MHH lnq6MkTyEfnm+TaNB6tsb4JZXZQvmJEDqw+tJWTC1iqKa9msKdzgefxwcSl9XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638199465; a=rsa-sha256; cv=none; b=OHMowzvzlg/XHg/ZbsaQ/VNDv7t6PNbCBeDvCPOigjJEdMFoKX2DXab5oDbmqKk4ZBlzDG nZLg2dgeq9lqxO8cueji8FEk2rzb5iLfaeZQeDZg2IqzdtxajQBVtxP0AMT0zLLkb3Wr8l 0iHrb6EtvlPGyiNbw51J9m/2u/4+UhlAiNoB168sde+LHDSRYQJTrqL1BheM4LQaNLWq5z V+U+mtYwHvc99ELt4MM8EZ8VNcIN/s/liX7yI7I7LotQ9RZ1w+DKf5t419zdf6GnFWp+b3 EZypqN4miP1g4KKS+ycUaVzQl1MPCa19hjKNsJo9o7lnFYRU5Sf7lFgoMkkwOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260097 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org Resolution|--- |FIXED Status|New |Closed --- Comment #1 from Ed Maste --- Merged: commit 7cc6e39cb6a934dea99a6aff336b353e938fbc58 Author: Ed Maste Date: Thu Oct 28 23:01:21 2021 -0400 Do not build libatf-c++ when WITHOUT_CXX libatf-c++ requires C++ support. From jrtc27: bit slightly odd this isn't gated by MK_TESTS (which itself depends on MK_CXX), but this makes sense given the current behaviour. Reported by: Michael Dexter, Build Option Survey Reviewed by: imp, jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32732 (cherry picked from commit 6ce99625ca7acecaa64723f0440007eb3f60f53d) commit 8bb7b159b5b892ab8bf597203690434309691860 Author: Ed Maste Date: Thu Oct 28 21:43:33 2021 -0400 src.opts.mk: Add WITHOUT_CXX dependencies OFED, OPENMP, and PMC depend on C++ support. Force them off when building WITHOUT_CXX. Reported by: Michael Dexter, Build Option Survey Reviewed by: imp, jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32730 (cherry picked from commit 0e1c864898c1803835b1be0d59342ca761051db8) commit 8f02234dbd1d578740b08afb4a0d6b877432adc9 Author: Ed Maste Date: Thu Oct 28 20:49:12 2021 -0400 Don't build sanitizer runtimes under WITHOUT_CXX In the past we built the sanitizer runtimes when building Clang (and using Clang as the compiler) but 7676b388adbc changed this to be conditional only on using Clang, to make the runtimes available for external Clang. They fail to build when WITHOUT_CXX is set though, so add MK_CXX as part of the condition. Reported by: Michael Dexter, Build Option Survey Reviewed by: imp, jrtc27 Fixes: 7676b388adbc ("Always build the sanitizer runtimes...") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32731 (cherry picked from commit ad09e2c8cfbc2cf6f2b8826c121d6de8b3bfe96d) --=20 You are receiving this mail because: You are the assignee for the bug.=