[gnu.g++.lib.bug] trouble building libg++

fkuhl@AMADEUS.MITRE.ORG (F. S. Kuhl) (05/31/89)

Forgive me if this isn't the place to send this message.  I'm stuck.  I'm
trying to install the g++ library on a Sun 3 running OS 4.0.1.  gcc and the
g++ compilers appear to be installed correctly (version 1.34 each).  I can
compile simple C++ code.  However, when I go to build libg++ I get the
following:

/home/amadeus/fkuhl/gnu/dist-libg++>make libg++.a
(cd src; make GXX=g++ CC=gcc)
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  builtin.cc
as: error (/tmp/cca03102.s:1168): Invalid operand
as: error (/tmp/cca03102.s:1185): Invalid operand
*** Error code 1
make: Fatal error: Command failed for target `builtin.o'
Current working directory /home/amadeus/fkuhl/gnu/dist-libg++/src
*** Error code 1
make: Fatal error: Command failed for target `libg++.a'

Any ideas?

pkn@cs.utexas.edu (Kay Nettle) (12/13/89)

Has anyone gotten libg++ to build on a sequent balance running dynix
3.0.4?  I had no problems building gcc-1.36 nor g++-1.36.  I can
compile the library files using gas, ar give no errors, but when I run
ranlib on libg++.a I get these errors:

ar: failure reading header of libg++.a(builtin.o)
ar: failure reading header of libg++.a(File.o)
ar: failure reading header of libg++.a(stream.o)
ar: failure reading header of libg++.a(streambuf.o)
ar: failure reading header of libg++.a(PlotFile.o)
etc.

This is using the gnu version of ar and ranlib.  If you have any hints
I'd be grateful.

Kay Nettle
Dept. of Computer Sciences		pkn@cs.utexas.edu
University of Texas at Austin

-- 
Kay Nettle
University of Texas at Austin
Department of Computer Sciences, Tay 2.124, Austin, Texas 78712
pkn@cs.utexas.edu		{harvard,gatech,uunet}!cs.utexas.edu!pkn