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]

Compile errors for gcc 2.95.3 and gcc 3.0 on SunOS 4.1.4



Hi,

i'm trying to compile gcc 2.95.3 and 3.0 on a SunOS 4.1.4
machine - ss10/612 sun4m.

2.95.3 compile dies with an error in:

Bootstrapping the compiler
make CC="cc" libdir=/opt/local/stow/gcc-2.95.3/lib LANGUAGES="c"
(cd intl && make all)
cc -c  -DIN_GCC -DHAIFA   -g   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include function.c
function.c: 7030: missing #endif
*** Error code 2
make: Fatal error: Command failed for target `function.o'


if i add an extra #endif to the file, it'll compile fine, but
then it won't link properly, with this error:

(cd intl && make all)
cc -c  -DIN_GCC -DHAIFA   -g   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include function.c
cc  -DIN_GCC -DHAIFA   -g   -DHAVE_CONFIG_H  -o cc1 toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o  function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o  intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o  dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.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 reload1.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  profile.o insn-attrtab.o sparc.o getpwd.o  convert.o  mbchar.o dyn-string.o splay-tree.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        ../libiberty/libiberty.a
ld: Undefined symbol
   _reposition_prologue_and_epilogue_notes
*** Error code 2
make: Fatal error: Command failed for target `cc1'



gcc 3.0 doesn't compile with the following error:

(cd po && make all)
cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -I. -I. -I./.  -I./config -I./../include c-decl.c -o c-decl.o
"c-decl.c", line 1898: operands of : have incompatible types
*** Error code 1
make: Fatal error: Command failed for target `c-decl.o'


i'm not on this list, so if there's a fix a direct reply would be appreciated.

cheers,

-jason


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