delorie.com/archives/browse.cgi | search |
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: | <Pine DOT GSO DOT 4 DOT 05 DOT 9907261231500 DOT 10311-100000 AT elektron DOT elka DOT pw DOT edu DOT pl> |
Mime-Version: | 1.0 |
In-Reply-To: | <Pine.GSO.4.05.9907261231500.10311-100000@elektron.elka.pw.edu.pl>; 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 <pcg AT goof DOT com> |
Reply-To: | pgcc AT delorie DOT com |
X-Mailing-List: | pgcc AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
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 | |
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |