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

Bug 728456

Summary: toolchain-funcs.eclass: misses functions to get variables
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2020-06-16 12:33:11 UTC
Filed this bug according to slyfox

From what I can see we are missing:
SIZE
ADDR2LINE
CXXFILT
DWP
GCOV
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-06-24 01:29:49 UTC
Other tools provided by sys-devel/binutils unconditionally:

>   Tool   | Variable
> elfedit  | ELFEDIT
> gprof    | GPROF

Some tools are provided by sys-devel/binutils only on some targets or with USE="multitarget":

>   Tool   | Variable | Targets
> ---------+----------+----------
> coffdump | COFFDUMP | *-*-hms*
> dlltool  | DLLTOOL  | arm-wince-pe* arm-*-wince arm*-*-cegcc* arm*-*-mingw32ce* arm-*-pe* x86_64-*-mingw* x86_64-*-cygwin* i[3-7]86-*-pe* i[3-7]86-*-cygwin* i[3-7]86-*-mingw32** i[3-7]86-*-netbsdpe* i[3-7]86-*-interix powerpc*-*-pe* powerpc*-*-cygwin* sh*-*-pe mips*-*-pe mcore-*-pe mcore-*-elf
> dllwrap  | DLLWRAP  | x86_64-*-mingw* x86_64-*-cygwin* i[3-7]86-*-pe* i[3-7]86-*-cygwin* i[3-7]86-*-mingw32** i[3-7]86-*-netbsdpe*
> srconv   | SRCONV   | *-*-hms*
> sysdump  | SYSDUMP  | *-*-hms*
> windmc   | WINDMC   | arm-wince-pe* arm-*-wince arm*-*-cegcc* arm*-*-mingw32ce* arm-*-pe* x86_64-*-mingw* x86_64-*-cygwin* i[3-7]86-*-pe* i[3-7]86-*-cygwin* i[3-7]86-*-mingw32** i[3-7]86-*-netbsdpe* powerpc*-*-pe* powerpc*-*-cygwin* sh*-*-pe mips*-*-pe mcore-*-pe 
> windres  | WINDRES  | arm-wince-pe* arm-*-wince arm*-*-cegcc* arm*-*-mingw32ce* arm-*-pe* x86_64-*-mingw* x86_64-*-cygwin* i[3-7]86-*-pe* i[3-7]86-*-cygwin* i[3-7]86-*-mingw32** i[3-7]86-*-netbsdpe* powerpc*-*-pe* powerpc*-*-cygwin* sh*-*-pe mips*-*-pe mcore-*-pe
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-04 11:40:28 UTC
It makes sense to all wrappers to all of them eventually. I'd prefer to add the wrappers against needed use if possible.

If you have an ebuild that needs one please link it and I'll try to add the wrapper.