Date: Fri, 10 Nov 2017 22:32:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 223551] for external toolchain support, X prefix is not setting build utils for make buildworld Message-ID: <bug-223551-29464-HDAlb3oI8T@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223551-29464@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223551 --- Comment #8 from sid@bsdmail.com --- Whenever installing world with clang from ports, the error message /usr/local/bin/clang40: basename: not found /usr/local/bin/clang40: /usr/local/llvm40/bin/:Permission denied would pop up, and a back up kernel has to be chosen to reboot. Rebuilding the kernel again, fixes that. (This has always been an issue with llvm40 and llvm50 from ports) Now I will try this, hoping it will take care of when the compiler looks for a specific file or permission: 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 COMPILER_TYPE= clang X_COMPILER_TYPE=clang CROSS_BINUTILS_PREFIX=/var/empty LD= /usr/local/llvm40/bin/ld.lld XLD= /usr/local/llvm40/bin/ld.lld NM= /usr/local/llvm40/bin/llvm-nm XNM= /usr/local/llvm40/bin/llvm-nm OBJECTDUMP= /usr/local/llvm40/bin/llvm-objdump XOBJECTDUMP= /usr/local/llvm40/bin/llvm-objdump STRINGS= /usr/local/llvm40/bin/llvm-strings XSTRINGS= /usr/local/llvm40/bin/llvm-strings This may cause a problem for when adding the filename without a full directory, but it needs to be tried. XAS, XAR and XRANLIB don't work at the moment. Also, CC, XCC, and others with and without the X prefix affect the compiler and the compiler's directory for kernel build. The X prefix seems to be supplementary for all builds: kernel, world, and ports. -- 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-223551-29464-HDAlb3oI8T>
