Date: Fri, 09 Dec 2022 18:50:10 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 267871] /usr/bin/rs compile fails after udate to c++ Message-ID: <bug-267871-227-X4uqPswjRm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267871-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=267871 John Baldwin <jhb@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjg@FreeBSD.org --- Comment #6 from John Baldwin <jhb@FreeBSD.org> --- (In reply to devel from comment #5) Doing a fresh git clone doesn't ensure that /usr/obj is empty. The only way make(1) could possibly know to look for rs.c is if it found a generated .depend file in /usr/obj that contained a reference to rs.c. One question though is if you are using meta mode by chance? I don't know if somehow the implicit SRCS breaks. bsd.prog.mk has logic to assume <foo>.cc instead of <foo>.c for the default value of SRCS if PROG_CXX is used instead of PROG. I see a somewhat dubious check for PROG_CXX (seems like it should be checking something else?) in local.dirdeps.mk, but aside from that I can't see any way that make would think the implicit source was rs.c instead of rs.cc. -- 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-267871-227-X4uqPswjRm>
