From owner-freebsd-toolchain@freebsd.org Fri Nov 10 22:32:57 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB449E52A8B for ; Fri, 10 Nov 2017 22:32:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 986016666E for ; Fri, 10 Nov 2017 22:32:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAAMWvgm066277 for ; Fri, 10 Nov 2017 22:32:57 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Fri, 10 Nov 2017 22:32:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sid@bsdmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 22:32:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223551 --- 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 t= he kernel again, fixes that. (This has always been an issue with llvm40 and ll= vm50 from ports) Now I will try this, hoping it will take care of when the compiler looks fo= r a specific file or permission: CC=3D /usr/local/llvm40/bin/clang XCC=3D /usr/local/llvm40/bin/clang CXX=3D /usr/local/llvm40/bin/clang++ XCXX=3D /usr/local/llvm40/bin/clang++ CPP=3D /usr/local/llvm40/bin/clang-cpp XCPP=3D /usr/local/llvm40/bin/clang-cpp COMPILER_TYPE=3D clang X_COMPILER_TYPE=3Dclang CROSS_BINUTILS_PREFIX=3D/var/empty LD=3D /usr/local/llvm40/bin/ld.lld XLD=3D /usr/local/llvm40/bin/ld.lld NM=3D /usr/local/llvm40/bin/llvm-nm XNM=3D /usr/local/llvm40/bin/llvm-nm OBJECTDUMP=3D /usr/local/llvm40/bin/llvm-objdump XOBJECTDUMP=3D /usr/local/llvm40/bin/llvm-objdump STRINGS=3D /usr/local/llvm40/bin/llvm-strings XSTRINGS=3D /usr/local/llvm40/bin/llvm-strings This may cause a problem for when adding the filename without a full direct= ory, 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. --=20 You are receiving this mail because: You are the assignee for the bug.=