On 2018-Oct-10, at 3:13 PM, John Baldwin <jhb at FreeBSD.org> 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? (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, > the only ports which work with CROSS_TOOLCHAIN and CROSS_SYSROOT are > ports-mgmt/pkg, base/gcc, and base/binutils. Good to know. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"