[Bug 223551] for external toolchain support, X prefix is not setting build utils for make buildworld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 11 01:08:44 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223551

--- Comment #9 from sid at bsdmail.com ---
This error message:
 /usr/local/bin/clang40: basename: not found
 /usr/local/bin/clang40: /usr/local/llvm40/bin/:Permission denied

went away by using these settings for compiling and installing world (and
kernel):
 CC=     /usr/local/llvm40/bin/clang
 XCC=    /usr/local/llvm40/bin/clang
 CXX=    /usr/local/llvm40/bin/clang++
 XCXX=   /usr/local/llvm40/bin/clang++
 CPP=    /usr/local/llvm40/bin/clang-cpp
 XCPP=   /usr/local/llvm40/bin/clang-cpp

Still, after rebuilding kernel and world together, I had to use a backup kernel
to boot, then recompile the kernel again. This part, I believe this is an error
specific to my settings, and not a bug.

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


More information about the freebsd-toolchain mailing list