|
09/19/2007 2:57 PM
post1423
|
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.
|
|
|
|
|