From owner-freebsd-toolchain@freebsd.org Thu Nov 9 19:20:13 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 71EE1E593B6 for ; Thu, 9 Nov 2017 19:20:13 +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 5F79574226 for ; Thu, 9 Nov 2017 19:20:13 +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 vA9JKC2a056679 for ; Thu, 9 Nov 2017 19:20:13 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: Thu, 09 Nov 2017 19:20:13 +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: Thu, 09 Nov 2017 19:20:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223551 --- Comment #3 from sid@bsdmail.com --- (In reply to Mark Millard from comment #2) You're saying the X prefix doesn't replace buildworld compilers and utils in make.conf settings, it supplements them. If this is the case, perhaps this = is an incorrect bug report. My intent was to replace binutils with either elfutils or llvm's utils. It = was in part for purposes of not having to build/install utils and compilers twi= ce (from the base system, then again from ports), and for modularity and efficiency of utils and compilers. As far as I'm aware, all of binutil's replacements are not completed. Down the road it will be better for testing= , if there is a false sense that the package/ports compiler and utils are used, = when base components are used. llvm40 and llvm50 work much the same. I used llvm50, because I thought perh= aps it's binutils' replacements were more developed. Here's a sample of my src.conf to use clang/llvm from packages. #WITHOUT_TOOLCHAIN=3Dyes #binutils is needed WITH_BINUTILS=3Dyes WITH_BINUTILS_BOOTSTRAP=3Dyes WITHOUT_CLANG=3Dyes WITHOUT_CLANG_BOOTSTRAP=3Dyes WITHOUT_CPP=3Dyes # uncertain about WITHOUT_CXX=3Dyes # needed for devd, gperf and c++ libraries # will use llv= m40/50 WITH_LLVM_LIBUNWIND=3Dyes WITH_LLD_BOOTSTRAP=3Dyes WITH_LLD_IS_LD=3Dyes WITH_LLVM_LIBUNWIND=3Dyes WITHOUT_CROSS_COMPILER=3Dyes WITHOUT_GCC=3Dyes WITHOUT_GCC_BOOTSTRAP=3Dyes WITHOUT_GDB=3Dyes WITHOUT_GPL_DTC=3Dyes WITHOUT_GNU=3Dyes WITHOUT_GNUCXX=3Dyes WITHOUT_GNU_SUPPORT=3Dyes WITH_LLVM_LIBUNWIND=3Dyes With your information, I will adjust my src.conf and make.conf and see if t= hat works for the linker and utils. Thank you. --=20 You are receiving this mail because: You are the assignee for the bug.=