libstdc++ is too old to compile binutils-apple from https://bugs.gentoo.org/show_bug.cgi?id=473068 (errors about const qualifiers being lost). Instead of fiddling with binutils, I had a look at gcc-apple and found that the reason it's not used on x86_64 10.5 and <= 10.4 is missing dtrace support. dtrace support can however be patched out of libstdc++-39 using a patch supplied by Apple in the source archive. Doing that, gcc-apple compiles fine on x86_64-apple-darwin9 and *86*-apple-darwin8 (the latter with an updated dsymutil patch that never worked for p5666 anyway). Reproducible: Always
Created attachment 394608 [details, diff] patch to make gcc-apple-4.2.1_p5666-r2 use libstdc++-39 on all platforms
I would still like to get this in. Is there anything wrong with it?
I think it's ok, it just went off the radar
Issue has outlived itself.
I think it simplifies, and probably is necessary for ppc-macos, so re-opening, this needs to be applied.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94e98717f0e11808f27b2731c7542a5c3b371eb commit f94e98717f0e11808f27b2731c7542a5c3b371eb Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2020-12-13 17:25:44 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2020-12-13 17:25:44 +0000 sys-devel/gcc-apple-4.2.1_p5666-r2: drop depend on libstdc++-16 Closes: https://bugs.gentoo.org/537348 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> sys-devel/gcc-apple/Manifest | 1 - .../files/gcc-apple-4.2.1_p5666-darwin8.patch | 13 ++++++++++ .../files/gcc-apple-4.2.1_p5666-dsymutil.patch | 20 +++++++++++++++ .../gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild | 30 ++++++++-------------- 4 files changed, 43 insertions(+), 21 deletions(-)