Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498160 - dev-util/ccache: please support versioned ${CHOST}-gcc-${PV} and friends, possibly integrate with sys-devel/gcc-config
Summary: dev-util/ccache: please support versioned ${CHOST}-gcc-${PV} and friends, pos...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 568120 610658 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-15 11:17 UTC by Michał Górny
Modified: 2017-12-02 19:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-01-15 11:17:04 UTC
For gcc-4.8.2, gcc-config creates the following files:

/usr/bin/x86_64-pc-linux-gnu-c++
/usr/bin/x86_64-pc-linux-gnu-c++-4.8.2
/usr/bin/x86_64-pc-linux-gnu-g++
/usr/bin/x86_64-pc-linux-gnu-g++-4.8.2
/usr/bin/x86_64-pc-linux-gnu-gcc
/usr/bin/x86_64-pc-linux-gnu-gcc-4.8.2

I'd really appreciate if ccache-config would create symlinks for the versioned variants as well. I'm using those as CC & CXX to enforce version match for distcc.
Comment 1 SpanKY gentoo-dev 2014-01-15 15:17:48 UTC
i wonder if we should integrate this with gcc-config.  otherwise, ccache symlinks will constantly be out of date.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-01-15 17:58:43 UTC
I'd even go for symlinking all available versions, possibly with update in pkg_postinst().

We should also consider distcc that needs to do something similar, though it also symlinks current $CC and $CXX which solves the intermediate issue for me.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-12-02 16:59:57 UTC
*** Bug 568120 has been marked as a duplicate of this bug. ***
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-12-02 17:23:26 UTC
*** Bug 610658 has been marked as a duplicate of this bug. ***
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-12-02 19:47:22 UTC
This is fixed since dev-util/shadowman handles symlink updates.