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

Bug 108407

Summary: ld-is-gnu function
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal CC: alt
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: toolchain-funcs-ld.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-07 10:21:29 UTC
I'd like to ask toolchain herd a review of the attached patch to toolchain  
eclass.. it adds an extra functions that check if the selected linker is a GNU  
ld. This will allow Gentoo/ALT to define a wrapper to apply -Wl,-z,now (that  
does not work when the linker is not GNU ld) working on all Gentoo/ALT  
systems.  
  
The code is the same used by autoconf to recognize GNU ld.  
  
Thanks,  
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-07 10:27:20 UTC
Created attachment 70102 [details, diff]
toolchain-funcs-ld.patch

That was toolchain-funcs eclass, of course.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-08 11:52:12 UTC
I'll handle all of this on portability eclass, so that your toolchain-funcs 
don't get all full of this.