Boost logo

Boost-Build :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2005-11-23 13:05:04


On 11/19/05, ianfasel <ianfasel_at_[hidden]> wrote:
>
> Sorry, that example output was after I had removed the "-s" from gcc.jam.
>
> The following were commented out:
> flags $(toolset).link ST_OPTIONS $(condition)/<debug-symbols>off :
> -s
> : unchecked ;
>
> Normally it uses -s in the link stage and this causes the lazy symbol
> binding problem.
>
>
I believe this is a known Apple bug: -s corrupts executables. We have
patched our local copy of bbv2 to avoid -s. Instead we call strip manually.
It would be nice if bbv2 could call strip instead, but I don't know enough
to implement this.

- Mat
 ------=_Part_9908_16108201.1132769104102 Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 11/19/05, <b class="gmail_sendername">ianfasel</b> &lt;<a href="mailto:ianfasel_at_[hidden]">ianfasel_at_[hidden]</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry, that example output was after I had removed the &quot;-s&quot; from gcc.jam.<br><br>The following were commented out:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flags $(toolset).link ST_OPTIONS $(condition)/&lt;debug-symbols&gt;off : -s<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: unchecked ;
<br><br>Normally it uses -s in the link stage and this causes the lazy symbol binding problem.<br><br>
</blockquote></div><br>
I believe this is a known Apple bug: -s corrupts executables. We have
patched our local copy of bbv2 to avoid -s. Instead we call strip
manually. It would be nice if bbv2 could call strip instead, but I
don't know enough to implement this.<br>
<br>
&nbsp;- Mat<br>
 ------=_Part_9908_16108201.1132769104102--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk