libstdcxx hangs
Adriaan de Groot <[email protected]>
| Newsgroups | gmane.comp.kde.solaris |
|---|---|
| Message-ID | <[email protected]> |
I've got something weird going on which I haven't figured out: programs using
libstdcxx (and std::cout in particular) hang. If _REENTRANT is defined,
#include <iostream>
int main(int argc, char **argv)
{
std::cout << "Hello! " << argc << std::endl;
return 0;
}
This hangs after the endl; if _REENTRANT is not defined,
__rw::__rw_synchronized::_C_mutex t.o
[Hint: static member __rw::__rw_synchronized::_C_mutex must be defined in the
program]
however, defining that symbol in the program causes SEGVs.
Does anyone have a libstdcxx that works? I must admit I was lax in following
all of Stefan's instructions, so it might be me.
--
These are your friends - Adem
GPG: FEA2 A3FE Adriaan de Groot
___________________________________________________
This message is from the kde-solaris mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBG1Wi/dqzuAf6io/4RAhpHAJ9MWiRF6BmDj4cRD4UVH6HdqUqiFwCgluFG oesKOxgL/He5NNVdMrF/Kb8= =Ozz+ -----END PGP SIGNATURE-----