[gnu.g++.bug] libg++ on Ultrix 2.2

jec@iuvax.cs.indiana.edu (10/05/88)

	I am having trouble compiling libg++-1.25 using gcc/g++-1.27 on a
VAX8800 running Ultrix 2.2.  The things I've changed from the distribution
are:

	Makefile:		bindir is set to /usr/local/bin
	g++-include/stdio.h:	sprintf returns char *.

	Here is the results of the attempted compile (actually, I guess it
>DOES< compile, but something else is in error since test0 fails):

------------------------------------------------------------------------------
Script started on Tue Oct  4 14:07:20 1988
[root@iuvax:1]make installincl
cp -r g++-include /usr/local/lib
cp -r g++-proto /usr/local/lib
install -c -m 755 genclass /usr/local/bin
[root@iuvax:2]make test0
g++ -c -g -O -fchar-charconst  dummylibg++.cc
ar r dummylibg++.a dummylibg++.o
install -c dummylibg++.a /usr/local/lib/libg++.a
ranlib /usr/local/lib/libg++.a
g++ test.hello.o -o test0
please run test0 and follow instructions
[root@iuvax:3]./test0
Bus error (core dumped)
[root@iuvax:4]gdb+ test0
GDB 2.8.0 (GNU C++ 1.27.0 compatible), Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /u3/install/gnu/libg++-1.25.0/test0...done.
Type "help" for a list of commands.
(gdb+) run
Starting program: /u3/install/gnu/libg++-1.25.0/test0 

Program received signal 10, Bus error
0x238c in fclose (0)
(gdb+) where
#0  0x238c in fclose (0)
(gdb+) quit
The program is running.  Quit anyway? (y or n) y
[root@iuvax:5]

script done on Tue Oct  4 14:08:42 1988
------------------------------------------------------------------------------

	If anyone has any ideas, please let me know.  If you've managed to 
get libg++ up and running on an Ultrix machine, I'd really like to get your
diff set.


    III			Usenet:     iuvax!jec
UUU  I  UUU		ARPANet:    jec@iuvax.cs.indiana.edu
 U   I   U		Phone:      (812) 335-7729
 U   I   U		U.S. Mail:  Indiana University
 U   I   U			    Dept. of Computer Science
  UUUIUUU			    021-E Lindley Hall
     I				    Bloomington, IN. 47405
    III (Home of Bob Knight and the Indiana Hoosiers)