Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 724980

Summary: Provide a stable directory for unqualified symlinks for current compiler. Usefile for USE=-native-symlinks.
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-24 10:04:12 UTC
USE=-native-symlinks ( provides a way to hide unqualified tools from toolchain to ease detection of hardcoded tools.

It is still useful to have an easy way to run './configure && make' as a user when developing local projects.

PATH="$(gcc-config -B):$PATH" has a few limitations:
- it lacks certain links, like /usr/bin/cc (bug #713214).
- it does not update automatically for current processes when gcc-config swiitches to another profile.

In this bug gcc-config and binutils-config can maintain complete set of symlinks to have native toolchain working that can be usable in PATH.

Something like:
CCACHE story around those paths TBD.