Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420687 - emerge --info should include CC, CXX variables and ld type
Summary: emerge --info should include CC, CXX variables and ld type
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 12:53 UTC by Mark
Modified: 2022-03-16 01:45 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 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.