[gnu.g++.bug] minor compilation problems with 1.36.3

whitcomb@VIVALDI.BERKELEY.EDU (Gregg Whitcomb) (01/12/90)

machine: decstation 3100
description: 1. obstract_free is undefined with cc1plus is linked.  recompiling
	     obstack.c with gcc fixed this, probably because gcc/obstack.c was 
	     originally compiled using cc (since cc -O is probably better
	     than gcc -O on the pmax... has anybody verified this?).  __STD_C__
	     isn't defined with decstation cc.

             2. collect doesn't link. (this may have already been reported,
	     but it hasn't been fixed yet).

gcc -DGATHER_STATISTICS -O -DUSE_COLLECT -DEXTENDED_COFF -DESKIT  -o cc1plus las
tfile.o cplus-tab.o cplus-decl.o cplus-decl2.o cplus-typeck.o cplus-type2.o  cpl
us-tree.o cplus-lex.o cplus-class.o cplus-init.o cplus-except.o  cplus-method.o
cplus-cvt.o cplus-search.o cplus-ptree.o toplev.o version.o tree.o print-tree.o
stor-layout.o fold-const.o  rtl.o rtlanal.o expr.o stmt.o case.o expmed.o explow
.o optabs.o varasm.o  symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o  integra
te.o jump.o cse.o loop.o flow.o stupid.o combine.o  regclass.o local-alloc.o glo
bal-alloc.o reload.o reload1.o caller-save.o  insn-peep.o final.o recog.o insn-r
ecog.o insn-extract.o insn-output.o obstack.o  malloc.o
ld:
Undefined:
obstack_free





COLLECT_LIBS="-lld";  if cmp -s tm.h config/tm-encore.h; then   COLLECT_OPTIONS=
'-DUMAX';  else         COLLECT_OPTIONS='';  fi;  gcc -o collect  $COLLECT_OPTIO
NS -DGATHER_STATISTICS -O -DUSE_COLLECT -DEXTENDED_COFF -DESKIT -I./config  -lg
-lc $COLLECT_LIBS
*** Error code 1

Stop.


-Gregg (whitcomb@vivaldi.berkeley.edu)