Message-ID: <36F96937.8A182EE7@lycosmail.com> Date: Wed, 24 Mar 1999 17:37:43 -0500 From: Adam Schrotenboer X-Mailer: Mozilla 4.51 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: pgcc AT delorie DOT com Subject: Re: EGCS Optimizations break ZLIB 1.1.3 References: <19990324154651 DOT 16303 DOT qmail AT www0j DOT netaddress DOT usa DOT net> <19990324195036 DOT A24996 AT win DOT tue DOT nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: pgcc AT delorie DOT com Why is -fno-risc not doc'd in the GCC info file??? I can't find it. And thank you, it worked. Ronald de Man wrote: > On Wed, Mar 24, 1999 at 10:46:51AM -0500, ADAM SCHROTENBOER wrote: > > When I build zlib 1.1.3 w/ optimzations set to 3 or higher, it breaks zlib. > > > > The example program crashes w/ a SIGSEGV in __djmove_data+37 > > > > I don't have the full stack trace here, but I do have it at home. > > > > With 06, the stack trace has 2 entries, w/ 03, it has something like 6, but > > both GPF in the same function. > > I remember zlib failing with pgcc (might have been 1.0.2) and -O6. > Adding -fno-risc worked for me. That was probably with older versions > of both zlib and pgcc than you are using, but you might give '-O6 -fno-risc' > a try. > > Ronald