Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108407 - ld-is-gnu function
Summary: ld-is-gnu function
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 10:21 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-10-08 11:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
toolchain-funcs-ld.patch (toolchain-funcs-ld.patch,616 bytes, patch)
2005-10-07 10:27 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.