Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-266274-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266274

--- Comment #1 from Oleh Vinichenko <moonlapse81@gmail.com> ---
I also stepped into this issue by running make delete-old, which then remov=
es
"cc". What i expected, that /usr/share/toolchains/llvm14.mk ( which is crea=
ted
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 informati=
on
WITHOUT_TOOLCHAIN and potential danger steps user can make.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266274-227-PWNT16RNsq>