www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/08/26/20:11:52

Sender: steve AT home DOT com
Message-Id: <37C53A7A.781F6773@home.com>
Date: Thu, 26 Aug 1999 08:00:42 -0500
From: Steve Snyder <swsnyder AT home DOT com>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.11 i586)
X-Accept-Language: en
Mime-Version: 1.0
To: pgcc AT delorie DOT com
Cc: erhan AT altay DOT adm DOT deu DOT edu DOT tr
Subject: ICE in pgcc v2.95.1 with -O3 or greater
References: <37C1C15D DOT BF6C1A AT netplus DOT net> <19990824214057 DOT D5486 AT cerebro DOT laendle> <37C39977 DOT 647AD260 AT netplus DOT net>
Reply-To: pgcc AT delorie DOT com

After downloading the pgcc v2.95.1 SRPMS from Erhan Bilgili's site
(ftp://ftp.deu.edu.tr/pub/linux/PentiumGCC/SRPM/pgcc-2.95.1-1.src.rpm),
I attempted to build it on my RedHat 6.0 (with v2.2.11 kernel) system.

I initially attempted to build the SRPM with the switches "-mcpu=i585 -O3"
(this is the value of the RPM_OPT_FLAGS used in the spec file).  Doing so
caused an internal compiler error (ICE) when the 2nd stage of the build
process began.  I backed it down to "-mcpu=i585 -O2" and the compiler
built successfully.

After installing the newly-built pgcc binaries, I attempted to rebuild the
glibc libraries (in the form of glibc-2.1.1-7.src.rpm).  Again I found
that "-mcpu=i585 -O3" whould cause an ICE, where "-mcpu=i585 -O2" would
not.

Has anyone else seen this problem?

One thing I should note: I am using binutils v2.9.1.0.23, as provided by
RH 6.0, where v2.9.1.0.25 is recommended.  Could this be a factor in my
inability to go above -O2 optimization?  Where can a find a (S)RPM of
binutils v2.9.1.0.25?

Thank you.


- Raw text -


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