tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* GCC 2.8.1
@ 1998-03-18 15:24 S.Hergeth
  0 siblings, 0 replies; 2+ messages in thread
From: S.Hergeth @ 1998-03-18 15:24 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------446B794B15FB", Size: 1771 bytes --]

This is a multi-part message in MIME format.

--------------446B794B15FB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi DU-Managers,

I have installed gcc 2.8.1 and libstdc++ 2.8.1 on our
alpha-systems (V4.0b). Maybe it is a bug of gcc or I have
made a fault.

When I try to compile the attached program vector.cc I get the 
following errors

 c++ vector.cc

/usr/ucb/ld:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/libgcc.a(exception.o):
__cp_exception_info: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/libgcc.a(exception.o):
__cp_pop_exception: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/libgcc.a(exception.o):
__uncatch_exception: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/libgcc.a(_eh.o):
__terminate: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/libgcc.a(_eh.o):
__get_dynamic_handler_chain: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.1/libgcc.a(_eh.o):
__sjthrow: multiply defined

When I compile it with -lstdc++ or -lgcc it works fine.

 c++ vector.cc -lstdc++

With gcc v2.7.2.3 everything worked fine.

Any ideas ?
-- 
Stefan Hergeth, Fachhochschule Muenchen, Fachbereich
Informatik/Mathematik 
Lothstrasse 34 , D-80323 Muenchen  
Tel.:089/1265-1628 Fax:089/1265-1643 
email: S.Hergeth@informatik.fh-muenchen.de

--------------446B794B15FB
Content-Type: text/plain; charset=us-ascii; name="vector.cc"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="vector.cc"

#include <vector>
#include <iostream.h>

int main()
{
        vector<int> v(10);

        cout << v.back() << endl;

        v.insert(v.end(), 2);
        
        cout << v.back() << endl;
        return 0;
}


--------------446B794B15FB--

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

* gcc 2.8.1
@ 1998-10-09 21:03 Adrian Rollett
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Rollett @ 1998-10-09 21:03 UTC (permalink / raw)
  To: tru64-unix-managers

Has anyone had success building 2.8.1 with DU 4.0?
Everything works fine except this error:

gmake[1]: Entering directory `/usr/local/gcc-2.7.2/objc'
/usr/local/gcc-2.7.2/xgcc -B/usr/local/gcc-2.7.2/ -O \
        -c -DIN_GCC   -g -I./include -I. -I.. -I/usr/local/gcc-2.7.2
-I/usr/local/gcc-2.7.2/config hash.c
as0: Warning: /tmp/ccaaslja.s, line 1: extraneous values on version
stamp ignored
      .verstamp 3 11 2 7 2
mips-tfile:hash.o: No such file or directory
gmake[1]: *** [hash.o] Error 1
gmake[1]: Leaving directory `/usr/local/gcc-2.7.2/objc'
gmake: *** [libobjc.a] Error 2

It appears that it's failing because it can't find the file it's
supposed to be compiling, I honestly am quite stumped.

I'd appreciate it if I could be kept in the CC, as I am not subscribed
to the managers mailing list...

Thanks!!!

Adrian

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

end of thread, other threads:[~1998-10-09 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-18 15:24 GCC 2.8.1 S.Hergeth
  -- strict thread matches above, loose matches on Subject: below --
1998-10-09 21:03 gcc 2.8.1 Adrian Rollett

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