The attached ebuilds and patches for sys-devel/binutils-apple:7 restore USE=lto support. It defaults to disabled as earlier. It also fully disables all use of LLVM interfaces via libLTO. This should allow bootstrapping without external dependency on libLTO and llvm-c/lto.h being present. Reproducible: Always
Created attachment 439260 [details] Restore USE=lto support in sys-devel/binutils-apple:7
Created attachment 439726 [details] update to 7.3.1 and fix up nolto support - Add updated ebuilds and patches for 7.3 and 7.3.1 - Make dependency on xar conditional on lto use flag again - Fix a number of things in cctools Makefiles, most notably allowing compilation with make -j
BTW: Apple is starting to replace binutils by their llvm counterparts: nm and size are now symlinks to llvm-{nm,size}. otool already has a wrapper in place that isn't activated yet. This might be good for some funky corner cases down the road, e.g. when updating llvm and suddenly getting different behaviour from what used to and still seems to be binutils.
Thanks, I've pushed them!