Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: OSF/1 3.2D --- g++-2.7.2 --- libg++-2.7.1
@ 1996-02-27  5:00 Norbert Berzen
  1996-02-28  5:00 ` John C. Fowler
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Berzen @ 1996-02-27  5:00 UTC (permalink / raw)


Hello all,

a few days ago I posted some lines about gcc/libg++ problems
which occurred after upgrading my machine to DEC-Unix 3.2D
I got some private mail from people which have the same problems.
In the meanwhile I have fixed the problems as follows:


1st Problem:

   Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a
            GLOBAL FUNC

Solution:

   I use a patched version of "libm.so" which resides in
   "/usr/local/lib/libm.so". It has the symbol `clog'
   patched out, since "clog" is not of any use it C/C++
   because the return type "double_complex" is not defined.



2nd Problem:

   /usr/ucb/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 
        /usr/local/lib/libstdc++.a).

Solution:

   I slightly changed the gcc sources (~/gcc-2.7.2/config/alpha/*)
   to place the symbols "gcc2_compiled." and "__gnu_compiled_c" in
   the ".rconst" section. I compiled gcc and libg++ again, and all
   went good.


Now, all works fine :-).

Greetings Norbert

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

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



^ permalink raw reply	[flat|nested] 4+ messages in thread
* OSF/1 3.2D --- g++-2.7.2 --- libg++-2.7.1
@ 1996-02-20  5:00 Norbert Berzen
  0 siblings, 0 replies; 4+ messages in thread
From: Norbert Berzen @ 1996-02-20  5:00 UTC (permalink / raw)


Hello DEC Unix users,

a few days ago I upgraded my DEC3000/400 from OSF-1.2
to DEC-Unix-3.2(D). When having finished the upgrade
I installed gcc-2.7.2 along with libg++-2.7.1.

To my surprise the compilation of the following program ...

	#include <iostream.h>

	void
	main ()
	{
	  cout << "hello world" << endl;
	}

... and compiling it with ...

	g++ -o hello hello.cc

... produced the following output:

/usr/ucb/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 /usr/local/lib/libstdc++.a).
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC

... but the executable `hello' just works fine!

I do know the cause of the second warning (clog ...):
It's because there are two symbols with identical names
"clog" defined;

1st) The "clog" instance of class `ostream_withassign'
     which is defined in the C++ iostream library as GLOBAL DATA.
2nd) The "clog" complex logarithm function,
     which is defined in the math library as GLOBAL FUNC.

And now, here are my questions (concerning the first warning):

1) Does anyone of you know the cause of the 1st warning?

2) Did I do something wrong when bootstrapping/installing gcc/libg++?

3) What can I do to make the things work right?

Many thanks in advance

Norbert





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

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-03-01  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-27  5:00 OSF/1 3.2D --- g++-2.7.2 --- libg++-2.7.1 Norbert Berzen
1996-02-28  5:00 ` John C. Fowler
     [not found]   ` <norbert.825586806@dune.gia.rwth-aachen.de>
1996-03-01  5:00     ` John C. Fowler
  -- strict thread matches above, loose matches on Subject: below --
1996-02-20  5:00 Norbert Berzen

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