🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59383

Re: More GCC trouble..

#59383
From: David Nugent
Date: Thu, 01 Feb 1996 00:00
37 lines
2006 bytes
In article <4ep37r$8f8@ngriffin.itc.gu.edu.au>,
	Tony Nugent <T.Nugent@sct.gu.edu.au> writes:
>davidn@sdev.blaze.net.au (David Nugent) writes:
>
>>In article <310EB9CB.3B92@flex.com.au>,
>>	David Khoury <dave@flex.com.au> writes:
>>>If you're compiling with gcc 2.7.2, you also need to be aware
>>>of a bug in the optimisation routines enabled by the -O2 flag.
>
>>This bug applies to any version of gcc in the 2.6.x and 2.7.x series
>>on ANY intel platform (not just 2.7.2).
>
>True.  If you use -fno-strength-reduce the bug can be "avoided".  It
>can also be put into your /usr/lib/gcc-lib/i486-linux/2.7.0/specs
>file...

FWIW, Slackware 3.0 comes distributed that way. New versions of 2.7.x,
however, don't.

>But someome has made a 2.7.2 version with this bug (apparently) fixed:
>
>ftp://tsx-11.mit.edu:/pub/linux/packages/GCC/gcc272-no-sr-bug.lbin.tgz

Well, that's good news - hopefully Cygnus now know about it.

BTW, can you shed more light on the problem with 2.7.2? The C compiler
seems to work fine, but C++ is not so good so far as iostreams was
concerned. iostreams is incorporated into libc since C/C++ stdio have
the same code base, but some symbols seem to not have exported, making
it unusable to the point of not being able to compile the simplest
"hello.cc".


-- 
David Nugent: davidn@blaze.net.au, davidn@unique.blaze.net.au
Unix/Linux/DOS/Win/Os2 Microsystem Technical Support [FOR HIRE!]
http://www.blaze.net.au/~davidn
Technical Details
Message-ID: <DM34to.2p3@blaze.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4ei89r$qm7@news.mel.aone.net.au> <310EB9CB.3B92@flex.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,6f91b91757d8e6b7
X-Google-Attributes: gid102983,public
From: davidn@sdev.blaze.net.au (David Nugent)
Subject: Re: More GCC trouble..
Date: 1996/02/01
Message-ID: <DM34to.2p3@blaze.net.au>
X-Deja-AN: 137810414
x-nntp-posting-host: sdev.blaze.net.au
sender: news@blaze.net.au (news)
references: <4ei89r$qm7@news.mel.aone.net.au> <310EB9CB.3B92@flex.com.au>
organization: Artel Computer Pty Ltd, Melbourne, Australia
newsgroups: aus.computers.linux