🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59373

Re: More GCC trouble..

#59373
From: Tony Nugent
Date: Thu, 01 Feb 1996 00:00
48 lines
2038 bytes
davidn@sdev.blaze.net.au (David Nugent) writes:

[Oh, g'day david! :-]

>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...

....
*cpp:
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__}
%%{!m386:-D__i486__} %{posix:-D_POSIX_SOURCE}

*cc1:
-fno-strength-reduce

*cc1plus:
-fno-strength-reduce

*endfile:
....

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

Apparently you need to install at least ld.so-1.7.14 and one of the
more recent libc-5.x.x's.

Just my 0.05c worth :)

Cheers
Tony
           __                                              __
        __/\_\       .             Tony Nugent            /_/\__
     __/\_\/_/   _--_|\        Griffith University        \_\/_/\__
    /\_\/_/\_\  /     *\ Brisbane, Queensland, Australia  /_/\_\/_/\
    \/_/\_\/_/  \_.--._/   tnugent@gucis.cit.gu.edu.au    \_\/_/\_\/
       \/_/\_\        v       T.Nugent@sct.gu.edu.au      /_/\_\/
          \/_/                                            \_\/
Technical Details
Message-ID: <4ep37r$8f8@ngriffin.itc.gu.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4ei89r$qm7@news.mel.aone.net.au> <310EB9CB.3B92@flex.com.au> <DM0z2H.42E@blaze.net.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: Tony Nugent <T.Nugent@sct.gu.edu.au>
Subject: Re: More GCC trouble..
Date: 1996/02/01
Message-ID: <4ep37r$8f8@ngriffin.itc.gu.edu.au>
X-Deja-AN: 137609231
references: <4ei89r$qm7@news.mel.aone.net.au> <310EB9CB.3B92@flex.com.au> <DM0z2H.42E@blaze.net.au>
organization: Griffith University Brisbane Queensland Australia
reply-to: T.Nugent@sct.gu.edu.au
newsgroups: aus.computers.linux