Subject: Re: build.sh failure
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 02/18/2003 17:26:04
On Tue, 18 Feb 2003, Emmanuel Dreyfus wrote:

: Doing a build.sh -m mac68k tools on a sgimips, after a fresh cvs update:
:
: cc -DCROSS_COMPILE -DIN_GCC    -O   -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 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 m68k.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
: toplev.o: In function `get_run_time':
: /cvs/src/tools/toolchain/../../gnu/dist/toolchain/gcc/toplev.c(.text+0x1
: 58): undefined reference to `__times13'
:
: Is this a known problem? Is there a well known workaround?

Looks like the host machine's libc.so doesn't have __times13(), a
version-renamed function defined by a later version of a .h file in
/usr/include.  Make sure your libc.so on the sgimips machine is at least as
new as the files in /usr/include.

-- 
-- Todd Vierling <tv@pobox.com>