www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/27/10:07:16

Date: Tue, 27 Jul 1999 16:03:53 +0200 (MET DST)
From: Piotr Wasiewicz <pwasiewi AT elka DOT pw DOT edu DOT pl>
To: Igor Schein <igor AT txc DOT com>
cc: pgcc AT delorie DOT com
Subject: Segmentation fault in C++ programs(2)
In-Reply-To: <19990726103242.X28626@oberon.txc.com>
Message-ID: <Pine.GSO.4.05.9907271553390.22352-100000@elektron.elka.pw.edu.pl>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hello,
	These files from Foyer seems to be corrupt. G++ always (even with
-mk6) has segmentation faults. I have to patched rpm egcs package from
updated RedHat 6.0 to pgcc-1.1.3. After compiling new egcs with original
egcs with options -O6 -mpentium every compiled program goes without
problems, but I can't rid of i386 (change it to i586). I changed it in
Makefile.in, in all rpmrc's, add --buildarch i586 and at the and I have
error messages with I can'i find strip /var/../i386*/../cc1 and so on.
	Do you know how to change this egcs with i386 (ancient) to pgcc (I
think a lot of changes?!) with i586 or i686? And how to get rid of old
i386 every where in this Red Hat? Maybe it is a simple way to do it...

With best regards,
	Peter Wasiewicz
 

X//N\\XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
///|\\\ Piotr Wasiewicz http://tichy.ise.pw.edu.pl/~pwas
///A\\\ Ph. D. Student from GAIR http://tichy.ise.pw.edu.pl/~gair
G-A*I-R   Inst. of Electronic Systems at the Warsaw Univ. of Tech.
\\\L///   00-665 Warsaw, Nowowiejska 15/19, Poland; pwas AT ise DOT pw DOT edu DOT pl
\\\|///   home phone: (+4822)6670827; fax: (+4822)8252300       
X\\M//XXXXMy UIN: 10145599 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

On Mon, 26 Jul 1999, Igor Schein wrote:

> 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