Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!tut.cis.ohio-state.edu!lanl.gov!dwf%hope From: dwf%hope@lanl.gov (David W. Forslund) Newsgroups: gnu.g++.bug Subject: Problem with libg++ and latest g++1.36.0- Message-ID: <8910161825.AA14715@hope.lanl.gov> Date: 16 Oct 89 18:25:07 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 27 I've tried compiling the 1.36.0- version of libg++ on a Sun3 running OS4.0.3 and have had troubles. First, sun3 isn't defined by the compiler so that EH.cc fails in setjmp.h. This is easy to fix with -Dsun3, but it shouldn't be necessary. Second, I'm getting duplicate definition of symbols: ___do_global_cleanup ___do_global_init in crt0.c and gnulib3.c. crt0+.o was not installed by g++. If I don't install it, I get an error message of not being able to find crt0+.o. If I install it I get the error message of duplicate definitions. Where did gnulib3.c come from? I don't see it anywhere. Why are the compile and install of crt0+.o commented out in the Makefile? I also had to install gas in /usr/local/lib/gcc-as to get things to assemble with -pipe. This needs to be better documented, particularly as to where to install gas. David Forslund MS E531 Los Alamos National Laboratory Los Alamos, NM 87545 (505) 665-1907 (dwf@lanl.gov)