atm emerge --info shows something like CC/CXX. Since it is possible to use alternative toolchain components, like clang/llvm, I guess would be great add those variables (like AR/LD and so on). It will help in situations like this: https://bugs.gentoo.org/722090#c4
https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/info_vars Probably not controversial to add AR and LD here. If unsure, you may ask on gentoo-dev mailing list.
I suppose you'd have to make a list first.
I suggest adding at least: AR AS CPP FC LD NM RANLIB And maybe also: OBJCOPY OBJDUMP READELF STRIP
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3) > I suggest adding at least: Since it does not hurt add all variables, I'd suggest to keep what toolchain-funcs.eclass offers. This is my full list: ADDR2LINE AR AS CC CPP CXXFILT CXX DWP FC GCOV LD NM OBJCOPY OBJDUMP RANLIB READELF SIZE STRINGS STRIP See also: https://bugs.gentoo.org/728456
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
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dcc3c0a1834ceb92f8db8e09b5d38afd51adac4 commit 6dcc3c0a1834ceb92f8db8e09b5d38afd51adac4 Author: Alessandro Barbieri <lssndrbarbieri@gmail.com> AuthorDate: 2021-05-13 18:53:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-14 05:09:40 +0000 profiles: info_vars add more variables, sorting Bug: https://bugs.gentoo.org/722456 Closes: https://bugs.gentoo.org/780477 Closes: https://github.com/gentoo/gentoo/pull/20797 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> profiles/info_vars | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-)
I've also added to --info: - LLVM and Clang: https://github.com/gentoo/gentoo/commit/009ba7c96b78c0b2b98dffcc3dac717d8d733e50 - systemd: https://github.com/gentoo/gentoo/commit/8bd471778421cbd6e6510f4561f57511055fd3cf - binutils-config: https://github.com/gentoo/gentoo/commit/12cc28800b9b05379a3749ee7a4a8dd7ccebe267 - meson: https://github.com/gentoo/gentoo/commit/fed72e13407ce8a75aecb931543b7c6148460f9c
(In reply to Sam James from comment #7) > I've also added to --info: > - LLVM and Clang: > https://github.com/gentoo/gentoo/commit/ > 009ba7c96b78c0b2b98dffcc3dac717d8d733e50 > - systemd: > https://github.com/gentoo/gentoo/commit/ > 8bd471778421cbd6e6510f4561f57511055fd3cf > - binutils-config: > https://github.com/gentoo/gentoo/commit/ > 12cc28800b9b05379a3749ee7a4a8dd7ccebe267 > - meson: > https://github.com/gentoo/gentoo/commit/ > fed72e13407ce8a75aecb931543b7c6148460f9c ... and lld: https://github.com/gentoo/gentoo/commit/ae3423244db949bc90a67f7bb7fe53e2652a78d2