This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 2.95.2 compile problem with Compaq Tru64 UNIX 5.0a


I cannot get gcc 2.95.2 to compile under Compaq Tru64 UNIX 5.0A (OSF/1).

I did "CC=/bin/cc ./configure" then tried make and also tried make bootstrap

Machine is a Compaq AlphaServer DS20...This is a new machine, so there 
isn't much else on it.  Though I did install GNU make previous to trying to 
install GCC.

[root@narnia gcc-2.95.2]# uname -a
OSF1 narnia V5.0 1094 alpha
[root@narnia gcc-2.95.2]# sizer -c
cpu             "DEC6600"
[root@narnia gcc-2.95.2]# sizer -implver
EV6

Here is the error on make:
./include c-typeck.c
/bin/cc -c  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./.
./include c-convert.c
/bin/cc -c  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./.
./include c-aux-info.c
/bin/cc -c  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./.
./include c-common.c
/bin/cc -c  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./.
./include c-iterate.c
/bin/cc  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H  -o cc1 toplev.o 
version.o tre
e.o print-tree.o stor-layout.o fold-const.o  function.o stmt.o except.o 
expr.o c
alls.o expmed.o explow.o optabs.o  intl.o varasm.o rtl.o print-rtl.o 
rtlanal.o e
mit-rtl.o genrtl.o real.o  dbxout.o sdbout.o dwarfout.o dwarf2out.o 
xcoffout.o b
itmap.o alias.o gcse.o  integrate.o jump.o cse.o loop.o unroll.o flow.o 
stupid.o
 combine.o varray.o  regclass.o regmove.o local-alloc.o global.o reload.o 
reload
1.o caller-save.o  insn-peep.o reorg.o haifa-sched.o final.o recog.o 
reg-stack.o
  insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o 
pro
file.o insn-attrtab.o alpha.o getpwd.o  convert.o  mbchar.o dyn-string.o 
splay-t
ree.o graph.o sbitmap.o resource.o hash.o c-parse.o c-lang.o c-lex.o 
c-pragma.o
c-decl.o c-typeck.o c-convert.o  c-aux-info.o c-common.o c-iterate.o 
obstack.o
      -lmld ../libiberty/libiberty.a
ld:
Unresolved:
ASM_FILE_START
*** Exit 1
Stop.
*** Exit 1
Stop.

And the error on make bootstrap:
/bin/cc -g  -o mips-tfile mips-tfile.o version.o obstack.o       -lmld 
../libibe
rty/libiberty.a
/bin/cc -c  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./.
./include mips-tdump.c
cc: Warning: mips-tdump.c, line 61: In this declaration, "fatal" is 
declared wit
h both internal and external linkage.  The previous declaration is at line 
numbe
r 394 in file system.h. (mixlinkage)
fatal(s)
^
cc: Warning: mips-tdump.c, line 61: In this declaration, function types 
differ b
ecause one has no argument information and the other has an ellipsis. 
(funcredec
l)
fatal(s)
^
/bin/cc -g  -o mips-tdump mips-tdump.o version.o obstack.o       -lmld 
../libibe
rty/libiberty.a
/bin/cc  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./../i
nclude   -DTARGET_MACHINE=\"alphaev6-dec-osf5.0\" -DUSE_COLLECT2  -c `echo 
./col
lect2.c | sed 's,^\./,,'`
/bin/cc -c  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./.
./include tlink.c
/bin/sh ./genmultilib  "mieee"  "ieee"  ""  ""  "" > tmp-mlib.h
./move-if-change tmp-mlib.h multilib.h
touch s-mlib
/bin/cc  -DIN_GCC -DHAIFA    -g   -DHAVE_CONFIG_H    -I. -I. -I./config 
-I./../i
nclude  -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" 
-DSTANDARD_EXEC_PREFIX=
\"/usr/local/lib/gcc-lib/\"  -DDEFAULT_TARGET_VERSION=\"2.95.2\" 
-DDEFAULT_TARG
ET_MACHINE=\"alphaev6-dec-osf5.0\"  -DTOOLDIR_BASE_PREFIX=\"/usr/local/\" 
-c `e
cho ./gcc.c | sed 's,^\./,,'`
cc: Error: gcc.c, line 474: In the initializer for cpp_predefines, 
"CPP_PREDEFIN
ES" is not declared. (undeclared)
static char *cpp_predefines = CPP_PREDEFINES;
------------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

Michael Long
Systems Analyst
Info Avenue Internet Services, LLC

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]