This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pthread + libstdc++ = segfault


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]