Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - __cxa_guard_*: Page 1 of 5 (5 Items)
   
__cxa_guard_*  
When linking a C++ program with 4.2.1 the linker complains that __cxa_guard_* are undefined behavior.  I try forcing it 
to link with libstdc++.  That solved the link issue ( but I don't think that's right)

First libstdc++.so.6 cannot be found at run time because they are no link to it in /usr/lib.

Once I copied the libstdc++.so.x to /usr/lib the program would crash before main().

For now I got around the problem by using -fno-threadsafe-statics.  Program doesn't use thread, for now.