From owner-freebsd-toolchain@freebsd.org Sat Oct 13 00:48:53 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 0E4B110D0DD5 for ; Sat, 13 Oct 2018 00:48:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-15.consmr.mail.bf2.yahoo.com (sonic310-15.consmr.mail.bf2.yahoo.com [74.6.135.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A923A7E2E1 for ; Sat, 13 Oct 2018 00:48:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: QbSR9H4VM1mdfhejX.cGklv6KUdbf7RZQwFJTMhAnzgmbKHl1bFAHIOuOUPFSBV RHr2gnrcmtKjETl8fhja4S8U4ULJukKGIsVixQZwCQ1YhQXqcIRN6KmBD346uhid8gnf7ykwRxWp 0J0aGANxdOReJeE2wmNH6X4Q4M.sNi.7.8WawiMGZB_wECzxULVVEuZvY0ihJ3W1ZhCra5ssq425 oRJaYk_Qro.8Bc5YSZlRTuT5TtkGtJcFDGV.M.AlEncHXek0Ab9SXh1PyVV9wLkyCVjakoJMkRtL .q5qKBWjiUbTr7DUVjrRU6v7UAbV.kxZ_FMoZ51JYxL4yFMZoS2Nz_c81jq.ZerWcc9q6.wY7sXG 3uC3oGCZyDgk5eDxQJn5zcdSPxhFxU8fHWvjdoNzUDNazRIfZcUsgDewjSZfeqQ5Lflfwh1GzQBY 5AKyt0kEO_RBTrlgXrhMj328F21O8Dck7wuFqTFbPIlpwkfmgxFdp0_gI0eg.6XyOK8YT1PNz4Ju QJb9cDoKTJHp0L9cxI5QdCLrCyDo2LutQwTXVx4IspkmAyzztP4DnZVkeXQq1Y9f0MY_2c23Z9Nj bE.w2y_S6wOElFLAVXh079uqbHRyFv8dzeQNglIt4X97z5vlz1_heIQ.kvQfZ_20TgiOkVMkyBS2 7Eo72oIxxSFz1CNqu27AZimBK.tRtHYamB54OAYJ3MZ3Ct4QjUgjKZZDAYEfMz00wcRjb07HcIXP 8oA.bq5HgjVwR3jH0dzQdcETctcRMSnayrr4jAP.KUL2qIsbM4BooiYWTosuBALswQ1JhDscnW8J 6yUsA5BYO2CkU9jwPbJV5z5I18Z76K1ADFTAZ2yb9xquaW55r0a5qE0Tr86mQyN4DeM0nCHyfxzy oUafEI1nBNBVGUFa.VdxnvymBWu_sfHRoEyeoGjlv_4TI1LthyiDIjYWZ0DvVvzSncg2Bwt2Knbr aY3LxxhQWwP7ewrxGVtOS8wnTJCYXsDo3HaLhLQkQHqC_Gntvxd6luH0e9npyDHOZsgnwdG35CZ1 HVYZMGvl5k.ZfSTrEwCzydq_N2pES2z2rA0vI93O5oRUVoVj17fZ20q8fBgkCFdyfHljEgyGuxW1 C.IyrQiE- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Sat, 13 Oct 2018 00:48:46 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp401.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 72eefb673feb346b9e4c85f6cd9796a7; Sat, 13 Oct 2018 00:48:43 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: "base/binutils should not be pulling in any other ports at all"? (That confuses me.) From: Mark Millard In-Reply-To: <3c10995e-2c84-a140-ed4d-449ce61d3d05@FreeBSD.org> Date: Fri, 12 Oct 2018 17:48:41 -0700 Cc: FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: References: <4C338B84-1179-4569-A964-CA18A22AF1D7@yahoo.com> <3c10995e-2c84-a140-ed4d-449ce61d3d05@FreeBSD.org> To: John Baldwin X-Mailer: Apple Mail (2.3445.9.1) 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: Sat, 13 Oct 2018 00:48:53 -0000 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=3D. . . >> 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.] >=20 > 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? (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.) The following may not be complete but is suggestive. Build dependencies: math/gmp: print/texinfo devel/bison: devel/m4 print/texinfo devel/gettext-tools lang/perl5.* devel/m4: print/texinfo misc/help2man: devel/p5-Locale-gettext devel/gmake devel/gettext-tools = lang/perl5.* devel/p5-Locale-gettext: devel/gettext-tools lang/perl5.* print/texinfo: misc/help2man devel/gmake devel/gettext-tools = lang/perl5.* So removing multiple listings: (some runtime and library dependencies not covered yet) math/gmp math/mpfr devel/bison devel/gmake devel/m4 misc/help2man devel/p5-Locale-gettext devel/gettext-tools print/texinfo lang/perl5.* (I'm not explicit about which perl5 version.) Runtime dependencies: math/gmp: print/indexinfo math/mpfr: print/indexinfo devel/gmake: print/indexinfo devel/m4: print/indexinfo misc/help2man: devel/p5-Locale-gettext lang/perl5.* print/indexinfo devel/p5-Locale-gettext: lang/perl5.* devel/gettext-tools: print/indexinfo print/texinfo: lang/perl5.* print/indexinfo So this adds, removing multiple listings: print/indexinfo Library dependencies: math/mpfr: math/gmp devel/bison: devel/m4 print/indexinfo devel/gmake: devel/gettext-runtime misc/help2man: devel/gettext-runtime devel/p5-Locale-gettext: devel/gettext-runtime devel/gettext-tools: devel/gettext-runtime converters/libiconv print/texinfo: converters/libiconv devel/gettext-runtime devel/gettext-runtime: converters/libiconv So this adds, removing multiple listings: devel/gettext-runtime converters/libiconv Putting the 3 lists together I get that all the following are used in building any 6.4 or so version of binutils that is in ports: math/gmp math/mpfr devel/bison devel/gmake devel/m4 misc/help2man devel/p5-Locale-gettext devel/gettext-tools print/texinfo lang/perl5.* print/indexinfo devel/gettext-runtime converters/libiconv > Everytime I've > built it it has had no other dependencies beyond pkg. I expect the dependencies were already satisfied at the time of the attempted build of make/binutils and so caused no additional build activity at the time. My environment tends to have somewhat less than normal installed for development-environment type ports. The ones that I listed above that I did not have trouble with are exactly the ones that were in place beforehand. The ones I had trouble with are exactly the ones that were not in place beforehand. > As far as I'm aware,=20 > the only ports which work with CROSS_TOOLCHAIN and CROSS_SYSROOT are > ports-mgmt/pkg, base/gcc, and base/binutils. Good to know. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)