🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2162

minor compilation problems with 1.36.3-

#2162
From: Gregg Whitcomb
Date: Thu, 11 Jan 1990 19:21
38 lines
1998 bytes
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)
Technical Details
Message-ID: <9001111921.AA22159@vivaldi.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!VIVALDI.BERKELEY.EDU!whitcomb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!VIVALDI.BERKELEY.EDU!whitcomb
From: whitcomb@VIVALDI.BERKELEY.EDU (Gregg Whitcomb)
Newsgroups: gnu.g++.bug
Subject: minor compilation problems with 1.36.3-
Message-ID: <9001111921.AA22159@vivaldi.Berkeley.EDU>
Date: 11 Jan 90 19:21:38 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 38