http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58104
barto at visionpro dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58104
--- Comment #6 from barto at visionpro dot com ---
Compiling the code listed in the original bug report with gcc4.8 using the
-pthread flag the program fails to complete execution due to a segmentation
fault while attempting to acquire a std
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58104
--- Comment #4 from barto at visionpro dot com ---
Adding the -pthread flag allows the code to compile and execute on Linux.
MacOS still fails to execute.
: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: barto at visionpro dot com
When using std::call_once the code on Linux(gcc 4.7.0) or MacOS (gcc 4.7.3 or
4.8.1) fails to execute
562_ /opt/local/bin/gcc-mp-4.8 -v
Using built-in specs.
COLLECT_GCC=/opt/local/bin/gcc-mp