Problem with gcc4.7 and call_once

Jeremy Huddleston Sequoia jeremyhu at
Thu Aug 8 14:00:51 PDT 2013

On Aug 8, 2013, at 13:53, Jeremy Huddleston Sequoia <jeremyhu at> wrote:

> On Aug 8, 2013, at 12:58, David Barto <DBarto at> wrote:
>> It appears that the following is missing from the configuration for libstdc++.
>> --enable-libstdcxx-threads
>> Enable C++11 threads support. If not explicitly specified, the configure process enables it if possible. It defaults to 'off' on Solaris 9, where it would break symbol versioning. This option can change the library ABI.
>> Yes, it changes the ABI, however for std::call_once to work, I think it is required. I don't think that the configuration process is setting it by default.
> What makes you say that?  It looks like it is to me:


> Is your _GLIBCXX_HAS_GTHREADS undefined for some reason?  That doesn't make sense...

Yeah, it looks fine to me:

libstdc++-v3/config.log:#define _GLIBCXX_HAS_GTHREADS 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list