delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | "Dylan Cuthbert" <dylan AT nospamq-games DOT com> |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: RE: input stream crash with gcc 3.1 |
Date: | Tue, 19 Mar 2002 14:02:34 +0900 |
Lines: | 102 |
Message-ID: | <a76gn8$g39$1@main.gmane.org> |
References: | <FAC87D7C874EAB46A847604DA4FD5A640346C9 AT crtsmail DOT corp DOT riotinto DOT org> |
NNTP-Posting-Host: | pppa228.kyoto-ip.dti.ne.jp |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1016514089 16489 210.159.246.228 (19 Mar 2002 05:01:29 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Tue, 19 Mar 2002 05:01:29 +0000 (UTC) |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Hmm.. I noticed some talk on a mailing list somewhere about problems with locales... could it be to do with input streams trying to look up locale info and getting null ptrs as a result? I'll try compiling libstdc++-v3 with -g and -O0 and see how far I can get - does gdb 5.1 work ok with gcc 3.1 output? Regards --------------------------------- Q-Games, Dylan Cuthbert. http://www.q-games.com "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com> wrote in message news:FAC87D7C874EAB46A847604DA4FD5A640346C9 AT crtsmail DOT corp DOT riotinto DOT org... I just tried this too. Same result. I have been chasing (without success) some libstdc++-v3 testsuite failures that are similar. That discusion is on the libstdc++ mailing list. The advice was to try recompiling libtsdc++-v3 with CXXFLAGS="-g -O0" and use the debugger. This got me a little further into the code. -----Original Message----- From: Dylan Cuthbert [mailto:dylan AT q-games DOT com] Sent: Tuesday, 19 March 2002 2:11 Subject: Re: RE: input stream crash with gcc 3.1 I tried this #define (in the newlib bits directory - cygwin uses newlib right?), reconfigured and recompiled gcc 3.1, but the same problem occurs - segmentation fault on the simplest bit of code that uses cin or ifstream or stringstream. ( cout etc. works fine by the way). I'll repeat the code snippet for clarification: main() { std::string frog; std::cin >> frog; assert( 0 ); } (it doesn't get to the assert and segment faults) Any other ideas? :-/ --------------------------------- Q-Games, Dylan Cuthbert. http://www.q-games.com/personal/utils ----- Original Message ----- From: "Danny Smith" <danny_r_smith_2001 AT yahoo DOT co DOT nz> Sent: Tuesday, March 19, 2002 8:08 AM Subject: Fwd: RE: input stream crash with gcc 3.1 > > From: Danny Smith <danny_r_smith_2001 AT yahoo DOT co DOT nz> > > Subject: RE: input stream crash with gcc 3.1 > > To: dylan AT nospamq-games DOT com > > CC: cygwin AT cygwin DOT com > > > > > I have recently compiled the latest 3.1 branch (grabbed directly via > > cvs) > > > for cygwin (1.3.9) and am having problems when using anything related > > at > > > all > > > to input streams. > > > > See this: > > http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00841.html > > then try rebuilding libstdc++ with > > > > #define _GLIBCPP_AVOID_FSEEK > > added to /libstdc++-v3/config/os/newlib/bits/os_defines.h > > > > Danny > > > > http://movies.yahoo.com.au - Yahoo! Movies > > - Vote for your nominees in our online Oscars pool. > > > > http://movies.yahoo.com.au - Yahoo! Movies > - Vote for your nominees in our online Oscars pool. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |