Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134514 - [binutils] Add '-z lazy' to ld
Summary: [binutils] Add '-z lazy' to ld
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL: http://sourceware.org/ml/binutils/200...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-27 05:42 UTC by Kevin F. Quinn (RETIRED)
Modified: 2006-06-29 23:39 UTC (History)
2 users (show)

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


Attachments
Add '-z nonow' support to ld (binutils-2.16.1-znonow.patch,495 bytes, patch)
2006-05-27 05:45 UTC, Kevin F. Quinn (RETIRED)
Details | Diff
Patch accepted upstream against HEAD (binutils-060613-zlazy.patch,2.23 KB, patch)
2006-06-13 23:36 UTC, Kevin F. Quinn (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn (RETIRED) gentoo-dev 2006-05-27 05:42:52 UTC
Had trouble getting autotools to accept '-nonow' and pass it to gcc when linking the .so - it gets passed when generating the .la but not the .so.  However it does pass '-Wl,<blah>' properly, so I figured it'd be easier to add '-z nonow' to ld.
Patch to follow.
Comment 1 solar (RETIRED) gentoo-dev 2006-05-27 05:44:03 UTC
I had a patch todo this at one point but I lost it. Lets see if yours is better ;)
Comment 2 Kevin F. Quinn (RETIRED) gentoo-dev 2006-05-27 05:45:47 UTC
Created attachment 87638 [details, diff]
Add '-z nonow' support to ld
Comment 3 solar (RETIRED) gentoo-dev 2006-05-27 06:14:57 UTC
Looks good. md5sum even probably matched what I had before.
This should probably be sent upstream also as it just makes sense.
Comment 4 SpanKY gentoo-dev 2006-06-03 22:22:21 UTC
yes, please get this added upstream before our binutils
Comment 5 Michal Suchanek 2006-06-13 05:36:53 UTC
please, add the patch to allow building the X server on hadrened.
Comment 6 Kevin F. Quinn (RETIRED) gentoo-dev 2006-06-13 23:33:18 UTC
Woohoo :)  Upstream accepted the change, with a modification; the option is '-z lazy' not '-z nonow'.
Comment 7 Kevin F. Quinn (RETIRED) gentoo-dev 2006-06-13 23:36:20 UTC
Created attachment 89116 [details, diff]
Patch accepted upstream against HEAD

This is the patch that was accepted.  It may well apply with fuzz to older versions but I'll check and supply a patch against 2.16.1 if necessary.
Comment 8 SpanKY gentoo-dev 2006-06-14 21:57:52 UTC
added to 2.16.94

i'll just wait until the next cvs snapshot for the 2.17.xx ebuilds
Comment 9 SpanKY gentoo-dev 2006-06-29 20:12:10 UTC
2.16.1-r3 in portage now too with the patch so solar will get off my back
Comment 10 solar (RETIRED) gentoo-dev 2006-06-29 23:39:25 UTC
I'm not done with you yet.. You forgot to upload the patchball :p