On Jan 6, 2012, at 12:29 AM, Iain Sandoe wrote: >> I think something is wrong in the configure. Indeed, on apple-darwin10.8.0, >> weak ref works but it is configure as "no". >> I guess it should not try to run it but only compile it (or the symbol >> should exists). > > Which tool-chain are you using ? (XCode version) - the problem is tool-chain > related. > thanks
3.2.6 on x86_64-apple-darwin10.8.0 works for me with either -m32 or -m64. If you have an older Xcode 3.2.x, try updating.