I tried the good old combined-tree approach (which some call ubertree), and was bitten by bfd not depending on zlib *in the gcc version of toplevel Makefile.in*. So, I did a partial sync to include the particular commit from the binutils-gdb git and committed as obvious after a auccessful build of mmix-knuth-mmixware.
(Test-results however are abysmal, likely due to a single ld bug causing segfault with -flto.) Committed: Sync with src: 2015-03-30 H.J. Lu <hongjiu...@intel.com> * Makefile.def (dependencies): Add all-zlib to all-bfd. * Makefile.in: Regenerated. Index: Makefile.def =================================================================== --- Makefile.def (revision 225768) +++ Makefile.def (working copy) @@ -402,6 +402,7 @@ dependencies = { module=configure-bfd; on=configure-intl; }; dependencies = { module=all-bfd; on=all-libiberty; }; dependencies = { module=all-bfd; on=all-intl; }; +dependencies = { module=all-bfd; on=all-zlib; }; dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; }; dependencies = { module=all-opcodes; on=all-libiberty; }; Index: Makefile.in =================================================================== --- Makefile.in (revision 225768) +++ Makefile.in (working copy) @@ -49977,6 +49977,14 @@ all-stage4-bfd: maybe-all-stage4-intl all-stageprofile-bfd: maybe-all-stageprofile-intl all-stagefeedback-bfd: maybe-all-stagefeedback-intl +all-bfd: maybe-all-zlib + +all-stage1-bfd: maybe-all-stage1-zlib +all-stage2-bfd: maybe-all-stage2-zlib +all-stage3-bfd: maybe-all-stage3-zlib +all-stage4-bfd: maybe-all-stage4-zlib +all-stageprofile-bfd: maybe-all-stageprofile-zlib +all-stagefeedback-bfd: maybe-all-stagefeedback-zlib configure-opcodes: configure-libiberty configure-stage1-opcodes: configure-stage1-libiberty