www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/26/10:37:19

Date: Mon, 26 Jul 1999 10:32:42 -0400
From: Igor Schein <igor AT txc DOT com>
To: pgcc AT delorie DOT com
Cc: pwas AT ise DOT pw DOT edu DOT pl
Subject: Re: Segmentation fault in C++ programs
Message-Id: <19990726103242.X28626@oberon.txc.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
X-Mailer: Mutt 0.95.6us
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
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:
> Hello,
> 	I used the latest Red Hat Linux 6.0 with updates and the pgcc
> compiler (first I uninstall egcs) from Foyer rpm packages. I compiled
> 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).
> 	What should I do?

From my experience with pgcc, if you have AMD K6, you must always use
-mk6 flag.  So try -mk6 -O0 for starters ( it's not clear from your message
whether you have already tried it or not ).

Igor

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019