[gnu.g++.lib.bug] Trouble installing libg++-1.36.3

tony@whoozle.softlab.se (Tony Olsson) (02/08/90)

	Hi!

I'm trying to install libg++-1.36.3 but I have run into some troubles
which I don't know causes it. My environment is

	Sun 3/280	(hardware(
	SunOS 4.0.3
	gcc 1.36
	g++ 1.36.3

I have also installed gas-1.34 as gcc-as under /usr/local/lib (there
gcc and g++ also have their programs). I don't know if gas is used or
not by g++ but I think so (if I understod the documentation right). I
didn't have gas when I compiled g++.

The following warnings are reported when I run 'make src' (libg++):

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  builtin.cc   
In file included from /home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include/osfcn.h:4, from builtin.cc:788:
/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include/time.h:60: warning: type declaration of timezone shadowed
builtin.cc:872: warning: structure has no data members

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  regex.cc
regex.cc: In function void re_compile_fastmap (struct re_pattern_buffer *):
regex.cc:947: warning: enumerated value `notsyntaxspec' not handled in switch
regex.cc:947: warning: enumerated value `syntaxspec' not handled in switch
regex.cc:947: warning: enumerated value `unused' not handled in switch
regex.cc: In function int re_match_2 (struct re_pattern_buffer *, unsigned char *, int, unsigned char *, int, int, struct re_registers *, int):
regex.cc:1586: warning: enumerated value `notsyntaxspec' not handled in switch
regex.cc:1586: warning: enumerated value `syntaxspec' not handled in switch
regex.cc:1586: warning: enumerated value `after_dot' not handled in switch
regex.cc:1586: warning: enumerated value `at_dot' not handled in switch
regex.cc:1586: warning: enumerated value `before_dot' not handled in switch
regex.cc:1586: warning: enumerated value `unused' not handled in switch

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  String.cc
String.cc: In method void String::error (char *)const :
String.cc:40: warning: `volatile' function does return

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  Integer.cc
Integer.cc: In method void Integer::error (char *)const :
Integer.cc:2239: warning: `volatile' function does return

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  Rational.cc
Rational.cc: In method void Rational::error (char *)const :
Rational.cc:33: warning: `volatile' function does return

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  BitSet.cc
BitSet.cc: In method void BitSet::error (char *)const :
BitSet.cc:37: warning: `volatile' function does return

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  BitString.cc
BitString.cc: In method void BitString::error (char *)const :
BitString.cc:37: warning: `volatile' function does return

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  RNG.cc
RNG.cc: In method RNG::RNG ():
RNG.cc:21: warning: statement with no effect

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  ACG.cc
ACG.cc: In method void ACG::reset ():
ACG.cc:230: warning: statement with no effect

gcc -I/usr/local/lib/gcc-include -I/usr/include -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce -fdelayed-branch  -Wall  -pipe  -sun3 -c  gnulib3.c
gnulib3.c: In function __main:
gnulib3.c:69: warning: control reaches end of non-void function

The following warnings are reported when I run 'make tests (libg++):

g++ -c -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -DLDXX=\"/usr/local/lib/gcc-ld\" -DCRT1X=\"/usr/local/lib/crt1+.o\" test.bye.cc -o test.bye
test.bye.cc:2: warning: structure has no data members

g++ -c -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -DLDXX=\"/usr/local/lib/gcc-ld\" -DCRT1X=\"/usr/local/lib/crt1+.o\" test.bye2.cc -o test.bye2
test.bye2.cc:2: warning: structure has no data members

g++ -c -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -DLDXX=\"/usr/local/lib/gcc-ld\" -DCRT1X=\"/usr/local/lib/crt1+.o\" test.shell.cc -o test.shell
test.shell.cc:2: warning: structure has no data members

g++ -I/home/heffa/common/local.share/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  -pipe -c  twrapper.cc
twrapper.cc: In function class ostream &operator << (class ostream &, class MemoizedIntegerElem &):
twrapper.cc:58: ambiguous type conversion requested for method `operator <<'
twrapper.cc:59: ambiguous type conversion requested for method `operator <<'
twrapper.cc: In method class Integer MemoizedInteger::()MemoizedInteger (int, auto class Integer (class MemoizedInteger ::*)(class Integer ,class Integer ), class Integer, class Integer):
twrapper.cc:234: warning: cannot pass objects of type `Integer' through `...'
twrapper.cc: In function int main (int, char **):
twrapper.cc:296: ambiguous type conversion requested for method `operator <<'
*** Error code 1
make: Fatal error: Command failed for target `twrapper.o'
Current working directory /home/heffa/common/local.share/gnu/libg++-1.36.3/tests
*** Error code 1
make: Fatal error: Command failed for target `tests'

This last error is rather fatal for the test However, when I run test0
(which compiles successfully despite) it seem to run allright.

I would be VERY happy if you could send me a reply as soon as you can!

	/Tony


<<< Tony Olsson, SoftLab ab	Phone : +46 13 21 24 70			>>>
<<< Teknikringen 14		Fax   : +46 13 21 33 14			>>>
<<< S-583 30 Linkoping		Email : tony@softlab.se			>>>
<<< SWEDEN			UUCP  : uunet!mcvax!sunic!heffa!tony	>>>