|
Boost Users : |
Subject: Re: [Boost-users] linking to boost thread exposes static initialisation order fiasco in ublas?
From: David Philp (david.philp_at_[hidden])
Date: 2008-09-21 19:14:49
On 20/09/2008, at 3:31 PM, Zeljko Vrba wrote:
> On Fri, Sep 19, 2008 at 04:20:25PM +1000, David Philp wrote:
>>
>> strip has no -g option on OS X. Unfortunately I don't understand
>> what
>>
> It seems that -S is the correct option to use on OS X:
>
> -S Remove the debugging symbol table entries (those created by
> the -g
> option to cc(1) and other compilers).
> -x Remove all local symbols (saving only global symbols).
>
> Try running first strip -S, and then strip -S -x, and see whether it
> has
> any effect on the working of your program. (Strip -S -x will remove
> more
> than just -S).
I ran these on the debug binary, and both versions work, and produce
working binaries.
I have added a comment about these to trac. This seems to be a likely
solution to the problem.
Thanks everyone for your help.
D
==================================
David J Philp
Postdoctoral Fellow
National Centre for Epidemiology and Population Health
Building 62, cnr Mills Rd & Eggleston Rd
The Australian National University
Canberra ACT 0200 Australia
T: +61 2 6125 8260
F: +61 2 6125 0740
M: 0423 535 397
W: http://nceph.anu.edu.au/
CRICOS Provider #00120C
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net