Date: Tue, 08 Nov 2022 08:27:13 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266274] building -HEAD on an install with no compiler in /usr/bin, but using CROSS_TOOLCHAIN fails Message-ID: <bug-266274-227-PWNT16RNsq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266274-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=266274 --- Comment #1 from Oleh Vinichenko <moonlapse81@gmail.com> --- I also stepped into this issue by running make delete-old, which then removes "cc". What i expected, that /usr/share/toolchains/llvm14.mk ( which is created after pkg install llvm14 ) is, then, correctly exported and used during CROSS_TOOLCHAIN but it doesn't. The only way to use external toolchain is to explicitly set CC, CXX, LD, AR, AS, OBJDUMP ( and all other ) with corresponding PATH, installed by llvm pkg, in /etc/make.conf. I am not sure whether it is expected, works as intended, but it looks that more information WITHOUT_TOOLCHAIN and potential danger steps user can make. -- 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-266274-227-PWNT16RNsq>
