Bring the build logic for binutils-apple 4.2 and 4.3 in sync with 5.1 and 6.1. Improves the same details as in 5.1/6.1 (testsuite, version information, disable some warnings, OS X support back to 10.4, build with and without clang++, choose between libstdc++ and libc++). Additionally: 4.3: - backport support for OS X 10.10 from 5.1/6.1 (would otherwise think it was on 10.1 and look for a crt1.o with dyld_stub_binding_helper in it) Tested on: Intel 32bit 64bit 10.4 fine N/A 10.5 fine fine 10.6 fine fine 10.7 fine fine 10.8 fine1 fine1 10.9 fine1 fine1 10.10 N/A fine1 4.2: - support 10.4 PPC Tested on: Intel PPC 32bit 64bit 32bit 10.4 fine N/A fine2 10.5 fine fine fine2 10.6 fine fine N/A 10.7 fine fine N/A 10.8 fine1 fine1 N/A 10.9 fine1 fine1 N/A 10.10 N/A fine N/A fine: compiles and installs and can be used to compile another USE flag combination of itself with gcc-apple and clang -stdlib=libc++ fine1: does not work with clang because clang expects it to find main entry start without crt1.o glue object which it doesn't support - use binutils-apple-5.1/6.1 instead fine2: not tested with clang (yet) Rationale: 4.2 is the last version with PPC support. 4.3 was in use for a long time and should remain available and working for comparison with the new tools. It would however stop working when the masking of 10.10 to 10.9 is dropped. BTW: ${FILESDIR}/cctools-839-lto.patch can be removed. It's not used. Already existing patches should of course be identical. The only new patches are: binutils-apple-4.2-globals-extern.patch ld64-127.2-Makefile ld64-127.2-extraneous-headers.patch ld64-127.2-thread_state.patch ld64-128.2-1010.patch ld64-128.2-Makefile-2 Reproducible: Always
Created attachment 395280 [details] ebuilds for binutils-apple 4.2-r1 and 4.3-r1
I've added the files from your tar.gz.gz :)
Thanks and sorry. Dunno how I managed .gz.gz.