Red Hat Linux SMP code fails

Red Hat Linux SMP code fails

book

Article ID: KB0086108

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
Multithreaded programs may fail on Red Hat Linux systems, because Red Hat's libstdc++ does not have a suitable SMP string implementation prior to Red Hat 8.0.

libstdc++ for Red Hat Linux 7.1, 7.2, and 7.3 does not have an SMP-capable implementation for std::string. See bugzilla #61486 at http://bugzilla.redhat.com for more information. Any multithreaded program that uses C++ strings on an SMP ia32 system may crash as a result of unlocked accesses to the string reference counter. DataSynapse has confirmed this bug, and as a result we are shipping a patched libstdc++ shared library with the Linux engine and cppdriver packages.

Until RedHat releases a bugfix, if you are writing C++ application programs for Linux SMP ia32 we recommend that you apply the patch from bugzilla (or DataSynapse's version) to the gcc SRPM and use that libstdc++ and libdstdc++-devel on your systems.

Issue/Introduction

Red Hat Linux SMP code fails