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

Bug 420687

Summary: emerge --info should include CC, CXX variables and ld type
Product: Portage Development Reporter: Mark <mark.morschhaeuser>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: kensington, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=780477
https://bugs.gentoo.org/show_bug.cgi?id=722456
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark 2012-06-11 12:53:39 UTC
GNU Gold is a replacement for the Bfd linker and included in binutils. I found some issues with the gold linker when bfd worked, but emerge --info does not print the exact linker profile, only which binutils version is used.

Proposal: include information of ld -v, which prints GNU gold or GNU ld, or whatever linker is used.

Also: Since clang 3.1 is able to compile many, many packages and some people try to use it as system compiler as much as possible, printing only gcc information is not enough in emerge --info when someone set CC=clang and CXX=clang++ in his make.conf, where this information is missing.

With this enhanced output the gentoo developers can see if someone uses a non default or unsupported toolchain.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-16 01:15:15 UTC
We added CC/CXX a while ago and ld mentions whether gold or not now.