<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 8:46 PM, Andy Stormont <span dir="ltr"><<a href="mailto:andyjstormont@gmail.com" target="_blank">andyjstormont@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi Peter.<div><br></div><div>What problems are you using LD_ALTEXEC to sidestep?  In my experience gnu ld will quite happily generate binaries which are broken, and while the illumos linker does like to complain a lot - most of the time it has a good reason.</div>
</div></blockquote></div><br></div><div class="gmail_extra">Thanks for chiming in.<br><br></div><div class="gmail_extra">It doesn't work without :-(<br><br></div>Bits of the build (which is some private build system that seems very<br>
complex and hard to get into the guts of to fix things) keep sending<br>gnu-specific flags. It takes a few seconds to give up with<br><div><div class="gmail_extra"><br>[build LNK] Executable/cpp<br>ld: fatal: unrecognized option '-O'<br>
ld: fatal: unrecognized option '-1'<br>ld: fatal: use the -z help option for usage information<br>collect2: error: ld returned 1 exit status<br><br></div><div class="gmail_extra">not to mention things like<br><br>
[build DEP] LNK:CppunitTest/libtest_basic_vba.so<br><br></div><div class="gmail_extra">But it's been a while. I've been bashing at this for 6 months on<br></div><div class="gmail_extra">and off, certainly LibreOffice 4 is far cleaner than LibreOffice 3<br>
ever was (thanks largely to some of the early efforts by Jonathan<br>Adams and others) so it's possible that some of these options might<br>be easier to work around now. I think that particular usage comes from<br><br>
solenv/gbuild/platform/<a href="http://solaris.mk">solaris.mk</a><br><br></div><div class="gmail_extra">so let me see what the build looks like now.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">(One thing I didn't mention - I've tried using gcc both with the<br>
illumos as and the gnu as, and that doesn't make any difference.)<br clear="all"></div><div class="gmail_extra"><br>-- <br>-Peter Tribble<br><a href="http://www.petertribble.co.uk/">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/">http://ptribble.blogspot.com/</a>
</div></div></div>