Segmentation faults with g++ 4.0
James W. McKelvey
mckelvey@maskull.com
Sun Dec 12 23:12:00 GMT 2004
I installed CYGWIN_NT-5.1 a few days ago and then built g++ from the latest
CVS. Simple programs like the one below will compile and link, but then get
segmentation faults in pthread_specific on execution:
#include <locale>
#include <iostream>
static const std::locale l;
//static std::ostream& o = std::cerr;
int main(const int,
const char * const * const)
{
return 0;
}
Is this a known bug? The c++ that comes with Cygwin is way too old to compile
my code; I need at least 3.4.
Details are in the attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log2.bz2
Type: application/x-bzip2
Size: 8405 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041212/7ed3e839/attachment.bz2>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list