Subject: Re: EGCS 1.1 UPDATE rev. 2 / mac68k
To: Todd Vierling <tv@pobox.com>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: tech-toolchain
Date: 08/18/1998 07:31:32
On Mon, Aug 17, 1998 at 10:51:05PM -0400, Todd Vierling wrote:
> 
> This status report reflects the state as it sits in NetBSD-current as of
> this message, so it may be until the next supscan for all sources to be
> available via sup.

> - m68k: Set up but not yet tested.  I need volunteer(s).

The following is the output from a 'make -k' in egcs after yesterdays SUP, i.e.
it does not have all Todds later changes. The problems may already be fixed,
but here your are ....

I guess that the link problems may all  be consequential errors after the first
compilation error with the MIN/MAX redefinitions. I have not had the time to
try to solve the problems, so I decided to just report them as they showed up.

regards
Erik Bertelsen

cd /home/src/gnu/usr.bin/egcs/
make -k 
all ===> common
cc -O  -Werror  -I/home/src/gnu/usr.bin/egcs/common/../arch  -I/home/src/gnu/usr.bin/egcs/common/../arch/m68k  -I/home/src/gnu/usr.bin/egcs/common/obj.mac68k  -I/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc  -I/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config  -DIN_GCC -DNETBSD_NATIVE -DHAVE_CONFIG_H -DPREFIX=\"/usr\"  -DDEFAULT_TARGET_VERSION=\"egcs-2.91.54\"  -DDEFAULT_TARGET_MACHINE=\"m68k-netbsd\"  -DSTANDARD_STARTFILE_PREFIX=\"/usr/lib/\"  -DSTANDARD_EXEC_PREFIX=\"/usr/libexec/\"  -DTOOLDIR_BASE_PREFIX=\"/usr/libexec/\" -DTARGET_NAME=\"m68k-netbsd\" -c -fPIC -DPIC /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/m68k/m68k.c -o m68k.so
In file included from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/system.h:101,
                 from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/varray.h:34,
                 from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/regs.h:22,
                 from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/m68k/m68k.c:27:
/usr/include/sys/param.h:222: warning: `MIN' redefined
/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/machmode.h:36: warning: this is the location of the previous definition
/usr/include/sys/param.h:223: warning: `MAX' redefined
/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/machmode.h:37: warning: this is the location of the previous definition
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> cc1
cc   -o cc1 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 c-parse.o c-lang.o -L/home/src/gnu/usr.bin/egcs/common/obj.mac68k -lcc1 -lgnumalloc
c-decl.o: Undefined symbol `_merge_machine_decl_attributes' referenced from text segment
c-decl.o: Undefined symbol `_set_sizetype' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_lang_get_alias_set' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_merge_machine_type_attributes' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: More undefined symbol _size_int_wide refs follow
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: More undefined symbol _sizetype_tab refs follow
c-iterate.o: Undefined symbol `_const_int_rtx' referenced from text segment
c-iterate.o: Undefined symbol `_const_int_rtx' referenced from text segment
c-iterate.o: Undefined symbol `_const_int_rtx' referenced from text segment
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> cc1plus
cc   -o cc1plus c-common.o c-pragma.o call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o xref.o repo.o -L/home/src/gnu/usr.bin/egcs/common/obj.mac68k -lcc1 -lgnumalloc
c-common.o: Undefined symbol `_size_int_wide' referenced from text segment
c-common.o: Undefined symbol `_sizetype_tab' referenced from data segment
c-common.o: Undefined symbol `_sizetype_tab' referenced from data segment
c-common.o: Undefined symbol `_sizetype_tab' referenced from data segment
c-common.o: Undefined symbol `_sizetype_tab' referenced from data segment
c-common.o: Undefined symbol `_sizetype_tab' referenced from data segment
c-common.o: Undefined symbol `_sizetype_tab' referenced from data segment
call.o: Undefined symbol `_const_int_rtx' referenced from text segment
call.o: Undefined symbol `_sizetype_tab' referenced from text segment
decl.o: Undefined symbol `_merge_machine_decl_attributes' referenced from text segment
decl.o: Undefined symbol `_set_sizetype' referenced from text segment
decl.o: Undefined symbol `_size_int_wide' referenced from text segment
decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
decl.o: Undefined symbol `_lang_get_alias_set' referenced from text segment
decl.o: Undefined symbol `_current_function_cannot_inline' referenced from text segment
decl.o: More undefined symbol _sizetype_tab refs follow
expr.o: Undefined symbol `_const_int_rtx' referenced from text segment
expr.o: Undefined symbol `_const_int_rtx' referenced from text segment
expr.o: Undefined symbol `_gen_rtx_REG' referenced from text segment
pt.o: Undefined symbol `_first_rtl_op' referenced from text segment
class.o: Undefined symbol `_size_int_wide' referenced from text segment
class.o: Undefined symbol `_ssize_binop' referenced from text segment
class.o: Undefined symbol `_ssize_binop' referenced from text segment
class.o: Undefined symbol `_ssize_binop' referenced from text segment
class.o: Undefined symbol `_ssize_binop' referenced from text segment
class.o: Undefined symbol `_size_int_wide' referenced from text segment
class.o: Undefined symbol `_size_int_wide' referenced from text segment
class.o: Undefined symbol `_size_int_wide' referenced from text segment
decl2.o: Undefined symbol `_const_int_rtx' referenced from text segment
rtti.o: Undefined symbol `_size_int_wide' referenced from text segment
rtti.o: Undefined symbol `_size_int_wide' referenced from text segment
typeck.o: Undefined symbol `_merge_machine_type_attributes' referenced from text segment
typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
typeck.o: More undefined symbol _size_int_wide refs follow
typeck.o: Undefined symbol `_const_int_rtx' referenced from text segment
typeck.o: Undefined symbol `_const_int_rtx' referenced from text segment
except.o: Undefined symbol `_set_exception_lang_code' referenced from text segment
except.o: Undefined symbol `_set_exception_version_code' referenced from text segment
except.o: Undefined symbol `_find_all_handler_type_matches' referenced from text segment
except.o: Undefined symbol `_const_int_rtx' referenced from text segment
except.o: Undefined symbol `_flag_new_exceptions' referenced from text segment
except.o: Undefined symbol `_const_int_rtx' referenced from text segment
except.o: Undefined symbol `_const_int_rtx' referenced from text segment
except.o: Undefined symbol `_start_catch_handler' referenced from text segment
except.o: Undefined symbol `_start_catch_handler' referenced from text segment
except.o: More undefined symbol _const_int_rtx refs follow
except.o: Undefined symbol `_flag_new_exceptions' referenced from text segment
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> cc1obj
cc   -o cc1obj 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 objc-parse.o objc-act.o -L/home/src/gnu/usr.bin/egcs/common/obj.mac68k -lcc1 -lgnumalloc
c-decl.o: Undefined symbol `_merge_machine_decl_attributes' referenced from text segment
c-decl.o: Undefined symbol `_set_sizetype' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-decl.o: Undefined symbol `_lang_get_alias_set' referenced from text segment
c-decl.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_merge_machine_type_attributes' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: Undefined symbol `_size_int_wide' referenced from text segment
c-typeck.o: More undefined symbol _size_int_wide refs follow
c-typeck.o: Undefined symbol `_sizetype_tab' referenced from text segment
c-typeck.o: More undefined symbol _sizetype_tab refs follow
c-iterate.o: Undefined symbol `_const_int_rtx' referenced from text segment
c-iterate.o: Undefined symbol `_const_int_rtx' referenced from text segment
c-iterate.o: Undefined symbol `_const_int_rtx' referenced from text segment
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> f771
cc   -o f771 bad.o bit.o bld.o com.o data.o equiv.o expr.o global.o implic.o info.o intrin.o lab.o lex.o malloc.o name.o parse.o proj.o src.o st.o sta.o stb.o stc.o std.o ste.o storag.o stp.o str.o sts.o stt.o stu.o stv.o stw.o symbol.o target.o top.o type.o version.o where.o -L/home/src/gnu/usr.bin/egcs/common/obj.mac68k -lcc1 -lgnumalloc
com.o: Undefined symbol `_sizetype_tab' referenced from text segment
com.o: Undefined symbol `_sizetype_tab' referenced from text segment
com.o: Undefined symbol `_sizetype_tab' referenced from text segment
com.o: Undefined symbol `_size_int_wide' referenced from text segment
com.o: Undefined symbol `_size_int_wide' referenced from text segment
com.o: Undefined symbol `_size_int_wide' referenced from text segment
com.o: Undefined symbol `_size_int_wide' referenced from text segment
com.o: Undefined symbol `_size_int_wide' referenced from text segment
com.o: Undefined symbol `_sizetype_tab' referenced from text segment
com.o: Undefined symbol `_sizetype_tab' referenced from text segment
com.o: Undefined symbol `_sizetype_tab' referenced from text segment
ste.o: Undefined symbol `_size_int_wide' referenced from text segment
ste.o: Undefined symbol `_size_int_wide' referenced from text segment
ste.o: Undefined symbol `_size_int_wide' referenced from text segment
ste.o: Undefined symbol `_size_int_wide' referenced from text segment
ste.o: More undefined symbol _size_int_wide refs follow
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> cc
make: don't know how to make /home/src/gnu/usr.bin/egcs/cc/multilib.h(continuing)
make: don't know how to make /home/src/gnu/usr.bin/egcs/cc/specs.h(continuing)
`all' not remade because of errors.
all ===> cpp
all ===> collect2
all ===> g++
all ===> g77

Compilation finished at Tue Aug 18 07:23:28