Date: Wed, 23 Apr 2025 19:38:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 286154] WITHOUT_CLANG overrides WITH_CLANG_BOOTSTRAP Message-ID: <bug-286154-227-vmwHse0Zkb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-286154-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286154 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3f68c3e9c138824024d5a588827381ed85d7230c commit 3f68c3e9c138824024d5a588827381ed85d7230c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-04-18 10:55:36 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2025-04-23 19:36:00 +0000 Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG When WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG are both set, the cross-tools stage does not build a cross clang binary. This is because the Makefile in usr.bin/clang checks for WITHOUT_CLANG, and skips building the binary. To fix this, ensure that WITH_CLANG is set for the cross-tools phase whenever WITH_CLANG_BOOTSTRAP is set. While here, skip using the Makefile in usr.bin/clang, and directly use the Makefile in usr.bin/clang/clang instead. PR: 286154 Reported by: avg Reviewed by: avg, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D49886 (cherry picked from commit ea231471d024e93279dc2196d6d5d87e199ad55b) Makefile.inc1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286154-227-vmwHse0Zkb>
