From: sumit@galileo.eng.wayne.edu (DPR)
Date: Sun, 2 Jun 96 12:59:44 EDT
Subject: Re: install baseparsuif
Message-Id: <9606021659.AA06970@galileo.NIS.galileo>
Hi,
I have patched baseparsuif to get it to compile with gcc-2.7.2 and libg++-2.7.0
for a sun-sparc-solaris2.4. I could make the patch-file available to anyone
interested. It seems to work for my test program (Matrix multiplication :-)).
Sumit
sumit@galileo.eng.wayne.edu
From: sri@cc.gatech.edu (Sri Doddapaneni)
Date: Sun, 2 Jun 1996 04:26:03 -0400 (EDT)
Subject: Re: install baseparsuif
Message-Id: <199606020826.EAA07852@cleon.cc.gatech.edu>
Hi,
I am trying to install baseparsuif version 1.0.0.beta.1
on SGI Irix 5.3. I am running in to a problem similar the one
reported earlier by Lee Haw-Jaw. Several modules failed
(pgen, predep, reduction, skweel, nsharlit moo).
I am using gcc 2.6.3 and libg++ 2.6.2 for building
baseparsuif-1.0.0.beta.1. Before this basesuif-1.1.2 and
suifbuilder-1.0.0.beta.1 are successfully built with gcc 2.7.2.
The environment setting are as follows:
SUIFHOME=/users/s/sri/sys/basesuif-1.1.2
MACHINE=mips-sgi-irix5.3
COMPILER_NAME=gcc
LD_LIBRARY_PATH=/users/s/sri/sys/basesuif-1.1.2/mips-sgi-irix5.3/solib
BUILD_PS=
Here is the install.log for pgen module.
----------------------------------------------
gmake[2]: Entering directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
if test -d RCS ; then \
rm -rf /users/s/sri/sys/basesuif-1.1.2/src/baseparsuif/pgen ; \
else : ; \
fi
gmake[2]: Leaving directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
gmake[2]: Entering directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
if test -d RCS ; then \
mkdir /users/s/sri/sys/basesuif-1.1.2/src/baseparsuif/pgen ; \
chmod 775 /users/s/sri/sys/basesuif-1.1.2/src/baseparsuif/pgen ; \
else : ; \
fi
gmake[2]: Leaving directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
gmake[2]: Entering directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
/users/s/sri/sys/basesuif-1.1.2/Makefile.sub:101: Makefile.deps: No such file or directory
gmake depend
g++ -M -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE sched.cc parent.cc task.cc par_region.cc pgen.cc main.cc >> Makefile.deps
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE sched.cc
cc1plus: warning: `-g' option not supported on this version of GCC
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE parent.cc
cc1plus: warning: `-g' option not supported on this version of GCC
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE task.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h: In method `named_lin_ineq::named_lin_ineq(int, int)':
In file included from /users/s/sri/sys/basesuif-1.1.2/include/suifmath.h:36,
from /users/s/sri/sys/basesuif-1.1.2/include/dependence.h:22,
from task.cc:19:
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h:161: warning: member initializers for `class name_table named_lin_ineq::nt'
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h:162: warning: and `class lin_ineq named_lin_ineq::lq'
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h:168: warning: will be re-ordered to match declaration order
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE par_region.cc
cc1plus: warning: `-g' option not supported on this version of GCC
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE pgen.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h: In method `named_lin_ineq::named_lin_ineq(int, int)':
In file included from /users/s/sri/sys/basesuif-1.1.2/include/suifmath.h:36,
from /users/s/sri/sys/basesuif-1.1.2/include/transform/bexpr.h:20,
from /users/s/sri/sys/basesuif-1.1.2/include/transform.h:23,
from pgen.cc:22:
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h:161: warning: member initializers for `class name_table named_lin_ineq::nt'
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h:162: warning: and `class lin_ineq named_lin_ineq::lq'
/users/s/sri/sys/basesuif-1.1.2/include/suifmath/named_lin_ineq.h:168: warning: will be re-ordered to match declaration order
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE main.cc
cc1plus: warning: `-g' option not supported on this version of GCC
g++ -c -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE suif_init.cc
cc1plus: warning: `-g' option not supported on this version of GCC
g++ -o pgen -g -Wall -Wno-unused -I/users/s/sri/sys/basesuif-1.1.2/include -DDEAL_WITH_GCC_BRAIN_DAMAGE sched.o parent.o task.o par_region.o pgen.o main.o suif_init.o \
-L/users/s/sri/sys/basesuif-1.1.2/mips-sgi-irix5.3/solib -L/users/s/sri/sys/basesuif-1.1.2/mips-sgi-irix5.3/lib -ltransform -ldependence -lsuifmath -lbuilder -lipmath -list -luseful -lsuif -lm prog_ver.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/usr/bin/../lib/ld:
Unresolved:
_._7operand
__mi__5blockRT0
dobinop__5block9binary_opRT0
__ml__5blockRT0
__dv__5blockRT0
__pl__5blockRT0
_._5block
_7builder.B_NOOP
CALL__5blockRT0N12_1
__as__5blockRT0
insert_before__19tree_node_list_basePT0P16tree_node_list_e
__lt__5blockRT0
IF__5blockRT0N21
add_child__11base_symtabPT0
IF__5blockRT0T1
is_ancestor__11base_symtabPT0
statement_append__5blockRT0
push__19tree_node_list_basePT0
_._5dlist
_._10immed_list
__eq__C5immedRT0
__eq__5blockRT0
append__19tree_node_list_basePT0
append__16annote_list_basePT0
_._11annote_list
_._12replacements
_._9i_integer
_._6annote
__md__5blockRT0
__le__5blockRT0
__ne__5blockRT0
_._13sym_node_list
remove_child__11base_symtabPT0
_._8file_set
collect2: ld returned 1 exit status
gmake[4]: *** [pgen] Error 1
gmake[3]: *** [pgen] Error 2
gmake[2]: *** [reinstall-keep-src] Error 2
gmake[2]: Leaving directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
gmake[2]: Entering directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
gmake[2]: Nothing to be done for `install-verdata'.
gmake[2]: Leaving directory `/tmp_mnt/net/students2/general/sri/sys/basesuif-1.1.2/src/baseparsuif-1.0.0.beta.1/pgen'
------------------------------------------------------------
There was some mention one of the messages that mixing .a files from
different versions of gcc may result in complications. Is this
the case here?
Your help is much appreciated.
Thanks,
-Sri