[Bug 266274] building -HEAD on an install with no compiler in /usr/bin, but using CROSS_TOOLCHAIN fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Nov 2022 08:27:13 UTC

--- 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.