From owner-freebsd-toolchain@freebsd.org Mon Oct 15 16:20:07 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 273CD10C1015 for ; Mon, 15 Oct 2018 16:20:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1F1E7A94C for ; Mon, 15 Oct 2018 16:20:06 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 1898710AFCD; Mon, 15 Oct 2018 12:20:06 -0400 (EDT) Subject: Re: "base/binutils should not be pulling in any other ports at all"? (That confuses me.) To: Mark Millard References: <4C338B84-1179-4569-A964-CA18A22AF1D7@yahoo.com> <3c10995e-2c84-a140-ed4d-449ce61d3d05@FreeBSD.org> Cc: FreeBSD Toolchain From: John Baldwin Message-ID: Date: Mon, 15 Oct 2018 09:20:03 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Mon, 15 Oct 2018 12:20:06 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 16:20:07 -0000 On 10/12/18 5:48 PM, Mark Millard wrote: > On 2018-Oct-10, at 3:13 PM, John Baldwin wrote: > >> On 10/6/18 12:22 PM, Mark Millard via freebsd-toolchain wrote: >>> [Actually devel/gettext-tools is a build time dependency: it should not be using >>> libtool: link: /usr/local/bin/powerpc64-unknown-freebsd12.0-gcc --sysroot=. . . >>> It looks like the /usr/local/lib references are correct but the wrong linker was >>> being used. About 5 other ports have a similar status for making base/binutils >>> as a cross build.] >> >> base/binutils should not be pulling in any other ports at all. > > That last quote confuses me still. May be it means > it is all to be manually managed instead of automatic? No, it means it doesn't work as you ran into. :) > (The actual build using things link devel/bison on > the host if base/binutils is to build at all.) > > All versions of binutils have direct build dependencies on: > > math/gmp > math/mpfr > devel/bison > devel/gmake > > as far as I know. Some of those in turn have more > build dependencies. Some of all that have Runtime > dependencies and/or library dependencies as well. > (Host context of usage.) For the purposes of the instructions we only need to provide the top-level "leaf" packages as a list of things to install before trying to build. -- John Baldwin