🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.apps
Article #45

Re: Need help compiling gcc-2.3.3

#45
From: Yongqi Yang
Date: Tue, 12 Jan 1993 05:07
33 lines
2093 bytes
In article <SIMON.93Jan10140537@liasg2.epfl.ch> simon@lia.di.epfl.ch (Simon Leinen) writes:
>In article <1iku9vINNlls@gazette.bcm.tmc.edu>
>mahmud@cephalo.neusc.bcm.tmc.edu (Mahmud Haque) writes:
>
>   I am trying to compile gcc-2.3.3 on a Indigo 4000, compilation
>   works fine but stage2/stage3 cc1plus dumps core. Please help...
>
>   Here is the test file:
>
>Your cc1plus (when compiled using GCC 2.3.3) dumps core for every
>input whatsoever.  A bug report has already been filed.  One possible
>workaround is to recompile cp-lex.c *without* the -O switch, and
>relink cc1plus.  Some part of cp-lex.c that calls a couple of inline
>functions in a row seems to be misoptimized by GCC 2.3.3.
>-- 
>Simon.

I posted an article to gnu.gcc.help group about a week ago to ask about
this and didn't get any reply. The interesting thing is, I built 2.3.2
early Decemember and it works just fine, both C and C++. I updated to
2.3.3. later and cc1plus dumped core, I posted the question to the net,
no response. So I went back to 2.3.2, you know what 2.3.2's cc1plus could
not compile either. I removed the whole old gcc-lib dir and bin dir and
got the same core dump. I don't know where I skewed up. 

I built the same thing for a Sun Sparc station, both 2.3.2. and 2.3.3
work fine, but not SGI machine. 

I wonder if it is really a bug, when they gonna fix it. 
-- 
 Yongqi Yang                yyang@nosy.chem.wsu.edu

**************************************************************
Technical Details
Message-ID: <1993Jan12.050755.26502@serval.net.wsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!NOSY.chem.wsu.edu!yyang
References: <1iku9vINNlls@gazette.bcm.tmc.edu> <SIMON.93Jan10140537@liasg2.epfl.ch>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!NOSY.chem.wsu.edu!yyang
From: yyang@NOSY.chem.wsu.edu (Yongqi Yang)
Newsgroups: comp.sys.sgi.apps
Subject: Re: Need help compiling gcc-2.3.3
Message-ID: <1993Jan12.050755.26502@serval.net.wsu.edu>
Date: 12 Jan 93 05:07:55 GMT
Article-I.D.: serval.1993Jan12.050755.26502
References: <1iku9vINNlls@gazette.bcm.tmc.edu> <SIMON.93Jan10140537@liasg2.epfl.ch>
Sender: news@serval.net.wsu.edu (USENET News System)
Distribution: na
Organization: Washington State University
Lines: 33