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.
I had a patch todo this at one point but I lost it. Lets see if yours is better ;)
Created attachment 87638 [details, diff] Add '-z nonow' support to ld
Looks good. md5sum even probably matched what I had before. This should probably be sent upstream also as it just makes sense.
yes, please get this added upstream before our binutils
please, add the patch to allow building the X server on hadrened.
Woohoo :) Upstream accepted the change, with a modification; the option is '-z lazy' not '-z nonow'.
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.
added to 2.16.94 i'll just wait until the next cvs snapshot for the 2.17.xx ebuilds
2.16.1-r3 in portage now too with the patch so solar will get off my back
I'm not done with you yet.. You forgot to upload the patchball :p