Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: norbert@gia.rwth-aachen.de (Norbert Berzen)
Subject: Re: gcc 2.7.2, ld warnings on Digital UNIX v3.2
Date: 1996/04/17	[thread overview]
Message-ID: <norbert.829738648@dune.gia.rwth-aachen.de> (raw)
In-Reply-To: 317443FF.213B@wlv.iipo.gtegsc.com

"Allen M. Cohen" <amc@wlv.iipo.gtegsc.com> writes:

>Murray S. Kucherawy wrote:
>> 
>> In article <4ktph9$o2n@odo.amherst.com>,
>> Carm Frascatore <cjf@odo.amherst.com> wrote:
>> >I am trying to build gcc 2.7.2 on an Alpha running Digital UNIX v3.2.
>> >I am able to build stage1 of the compiler ok, but when I use 'stage1/xgcc'
>> >to compile the next stage, I get the following warning:
>> >
>> >/usr/bin/ld:
>> >Warning: Linking some objects which contain exception information sections
>> >        and some which do not. This may cause fatal runtime exception handling
>> >        problems (last obj encountered without exceptions was version.o).
>> >

>> I only get this when compiling .c files that contain static data but no code,
>> like (as you cited) a source file which just contains a char[] definition,
>> like an RCSid.

>I get this Warning whatever I build -- It's rather annoying!
>If you find a fix, let me know!

Hello, 

enclosed is a  uuencoded, gnuzip'ped and tar'ed archive, which
contains the necessary stuff to modify gcc-2.7.2 not to
issue the warning(s) mentioned above.

You may apply it as follows by the following assumptions:
a) The uunecoded arcchive resides in a file named "xxx.uu"
b) The gcc source directory is "/usr/local/src/GNU/GCC/gcc-2.7.2"

Now do the following ...
decode the archive

	$ uudecode < xxx.uu

This produces the file "gcc-2.7.2-decAlpha3.2d.tar.gz" in your
current directory. Copy this file into the >> parent directory <<
of the gcc source directory.

	$ cp gcc-2.7.2-decAlpha3.2d.tar.gz /usr/local/src/GNU/GCC

Change into that directory:

	$ cd /usr/local/src/GNU/GCC 

Unpack the archive:

	$ gunzip <gcc-2.7.2-decAlpha3.2d.tar.gz | tar xvf -

This generates two files
1) "gcc-2.7.2/config/alpha/osf32.h"
2) "./gcc-2.7.2-decAlpha3.2d.patch"

Now, apply the patch file:

	$ patch <./gcc-2.7.2-decAlpha3.2d.patch

This patches two files:
2) gcc-2.7.2/ChangeLog
1) gcc-2.7.2/configure

After having done this you can re-build gcc/g++ the usual way ...

	$ cd gcc-2.7.2
	$ ./configure
	$ make bootstrap

After having done you must re-build and install the
library "libg++.a" using the newly made g++.

Here is the uu-stuff:

--- cut here --- cut here --- cut here --- cut here --- cut here ---

begin 644 gcc-2.7.2-decAlpha3.2d.tar.gz
<uuencoded_portion_removed>
'1/W[`"@``&]`
`
end

--- cut here --- cut here --- cut here --- cut here --- cut here ---


Hope this helps

Norbert

P.S. I would be appreciated if you could drop me a few lines
     telling if all went good.


--
Norbert [norbert@dune.gia.rwth-aachen.de  (134.130.159.38)]

N. Berzen, Geod. Inst. der RWTH-Aachen, Templergraben 55, 52056 Aachen

--
Norbert [norbert@dune.gia.rwth-aachen.de  (134.130.159.38)]

N. Berzen, Geod. Inst. der RWTH-Aachen, Templergraben 55, 52056 Aachen



  reply	other threads:[~1996-04-17  4:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-15  4:00 gcc 2.7.2, ld warnings on Digital UNIX v3.2 Carm Frascatore
1996-04-15  4:00 ` Murray S. Kucherawy
1996-04-17  4:00   ` Allen M. Cohen
1996-04-17  4:00     ` Norbert Berzen [this message]
1996-04-25  4:00       ` Radenko Kalajdzic
1996-05-01  4:00         ` Phil Edwards
1996-04-18  4:00     ` Tim Lucia
1996-05-01  4:00   ` Dale Hagglund
1996-05-01  4:00   ` Daniel S. Riley
1996-05-08  4:00   ` Jason Merrill
1996-05-08  4:00   ` Phil Edwards
1996-05-09  4:00   ` Gary Holt
1996-04-18  4:00 ` John C. Fowler
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox