Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537348 - sys-devel/gcc-4.2.1_p5666-r2: Update libstdc++ to 39 on all platforms
Summary: sys-devel/gcc-4.2.1_p5666-r2: Update libstdc++ to 39 on all platforms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-22 12:33 UTC by Michael Weiser
Modified: 2020-12-13 17:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to make gcc-apple-4.2.1_p5666-r2 use libstdc++-39 on all platforms (gcc-apple-4.2.1_p5666-r2-darwin8and9.patch,4.66 KB, patch)
2015-01-22 12:34 UTC, Michael Weiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weiser 2015-01-22 12:33:58 UTC
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
Comment 1 Michael Weiser 2015-01-22 12:34:35 UTC
Created attachment 394608 [details, diff]
patch to make gcc-apple-4.2.1_p5666-r2 use libstdc++-39 on all platforms
Comment 2 Michael Weiser 2015-08-06 14:35:20 UTC
I would still like to get this in. Is there anything wrong with it?
Comment 3 Fabian Groffen gentoo-dev 2015-08-07 08:01:41 UTC
I think it's ok, it just went off the radar
Comment 4 Michael Weiser 2017-02-15 14:41:12 UTC
Issue has outlived itself.
Comment 5 Fabian Groffen gentoo-dev 2017-02-15 14:52:56 UTC
I think it simplifies, and probably is necessary for ppc-macos, so re-opening, this needs to be applied.
Comment 6 Larry the Git Cow gentoo-dev 2020-12-13 17:25:52 UTC
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(-)