<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 27, 2015 at 11:49 AM, Rick Troth <span dir="ltr"><<a href="mailto:rmt@casita.net" target="_blank">rmt@casita.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":7q1" class="" style="overflow:hidden">Why would PIC not be the default?<br>
Or why would autoconfig/automake not figure out that "-fPIC" is needed?<br>
<br></div></blockquote></div><div class="gmail_extra"><br></div>I can't remember the x86 addressing modes (or their implementations), but relative-mode addressing can add overhead in some architectures. Take a peek at <a href="http://stackoverflow.com/questions/813980/why-isnt-all-code-compiled-position-independent">http://stackoverflow.com/questions/813980/why-isnt-all-code-compiled-position-independent</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">As to knowing if -fPIC is needed -- that's not known until you try to build the dependent, right?</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Jeff<br><br></div></div>