pthread + libstdc++ = segfault

Lars Gullik Bjønnes larsbj@birdstep.com
Thu Dec 14 05:06:00 GMT 2000


Richard Andrews <richarda@ixla.com.au> writes:

| HELP!!
| 
| I can't link libpthread into any C++ programs (in particular libsigc).
| 
| eg. test.cpp
| 
| int main(int argc , char * argv [] )
| {
| 	return 0;
| }
| 
| ----
| 
| If I build it with 
| 
| c++ -o test -fhonor-std test.cpp -lpthread
| 
| I get a segfault after return 0;

I see the same thing wih cvs gcc and RH7.0

        Lgb


More information about the Libstdc++ mailing list