Date: Mon, 26 Jul 1999 21:33:14 +0200 To: pgcc AT delorie DOT com Subject: Re: Segmentation fault in C++ programs Message-ID: <19990726213314.C1938@cerebro.laendle> Mail-Followup-To: pgcc AT delorie DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Piotr Wasiewicz on Mon, Jul 26, 1999 at 12:54:47PM +0200 X-Operating-System: Linux version 2.2.10 (root AT cerebro) (gcc driver version egcs-2.91.66 19990314 (egcs-1.1.2 release) executing gcc version 2.7.2.3) From: Marc Lehmann Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, Jul 26, 1999 at 12:54:47PM +0200, Piotr Wasiewicz wrote: > files with gcc and all is all right even with -O6 -mk6, but when I try to > compile C++ files with g++ (even without any parameters) then obtained > programs give "Segmentation fault" what is for me strange. > After some debugging I noticed errors within file genops.c > from distribution with IO_FILE data (some overflows and other errors). The most probable cause is that you are using some old (and incompatible) libstdc++. Check for an old version of this library. redhat, btw, just *loves* to deliver broken libraries or packages. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |