public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
To: mckelvey@maskull.com, cygwin@cygwin.com
Subject: Re: Segmentation faults with g++ 4.0
Date: Sun, 12 Dec 2004 23:21:00 -0000	[thread overview]
Message-ID: <6.2.0.14.0.20041212181227.04b11ca8@pop.prospeed.net> (raw)
In-Reply-To: <04121215103100.28169@alpha1>

At 06:10 PM 12/12/2004, you wrote:
>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.


Rerun 'setup.exe', choose the "Exp" radio button above the package list, 
and then click the "View" button until it shows "Partial".  This will 
give you a list of the packages that you have installed that have 
"Experimental" versions available.  "g++" and friends should be in that
list with a "3.4.1-1" version option.  Cycle those packages you don't want
to change to "Keep".  Leave "g++" and friend as is and click "Next" to 
upgrade.  

This is likely much easier than building your own version and tracking 
down bugs in your configuration.

HTH,


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/

  reply	other threads:[~2004-12-12 23:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-12 23:12 James W. McKelvey
2004-12-12 23:21 ` Larry Hall [this message]
2004-12-13  0:00 Danny Smith
2004-12-13  1:15 ` James W. McKelvey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6.2.0.14.0.20041212181227.04b11ca8@pop.prospeed.net \
    --to=lh-no-personal-replies-please@cygwin.com \
    --cc=cygwin@cygwin.com \
    --cc=mckelvey@maskull.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).