This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Recent CVS; Next 3.3; stage 1 build error
- To: mckelvey at maskull dot com
- Subject: Re: Recent CVS; Next 3.3; stage 1 build error
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: 16 Jun 2001 00:48:52 -0400
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200106160406.VAA04407@maskull.com>
James McKelvey <mckelvey@maskull.com> writes:
gen_internal_sym is defined in dwarf2out.c.
It was last modified by me (I didn't create it, it's been there since
the dwarf2 elimination stuff was introduced months ago) 05-18-01.
It has both a prototype, and a definition.
libbackend.a below is including dwarf2out.c, so i'm not sure what to
tell you.
Something is miscompiling, using the wrong files and you have an old
dwarf2out or libbackend.a that it's picking up for some reason, or
just flat out wrong.
> Undefined symbol _gen_internal_sym building cc1:
>
> /NextDeveloper/Headers/bsd/sys/signal.h:144: warning: function declaration
> isn't a prototype
> rm -rf libbackend.a
> ar rc libbackend.a alias.o bb-reorder.o bitmap.o builtins.o caller-save.o
> calls.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o dce.o
> dependence.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o
> dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o
> fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o
> haifa-sched.o hash.o hashtable.o ifcvt.o insn-attrtab.o insn-emit.o
> insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o
> integrate.o intl.o jump.o lcm.o lists.o local-alloc.o loop.o mbchar.o
> optabs.o params.o predict.o print-rtl.o print-tree.o profile.o real.o recog.o
> reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o
> resource.o rtl.o rtlanal.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o
> sched-vis.o sdbout.o sibcall.o simplify-rtx.o splay-tree.o ssa.o stmt.o
> stor-layout.o stringpool.o timevar.o toplev.o tree.o unroll.o varasm.o
> varray.o version.o xcoffout.o ggc-page.o m68k.o nextstep.o
> ranlib libbackend.a
> cc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -DHAVE_CONFIG_H -o cc1 \
> c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
> c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-dump.o
> libcpp.a main.o libbackend.a obstack.o ./intl/libintl.a
> ../libiberty/libiberty.a
> ld: Undefined symbols:
> _gen_internal_sym
> gmake[2]: *** [cc1] Error 1
> gmake[2]: Leaving directory `/SmaugC/Sources2/gcc-obj/gcc'
> gmake[1]: *** [stage1_build] Error 2
> gmake[1]: Leaving directory `/SmaugC/Sources2/gcc-obj/gcc'
> gmake: *** [bootstrap] Error 2
> maskull:/SmaugC/Sources2/gcc-obj>
>
> ---
> The only thing necessary for the triumph of good is
> for evil men to do nothing.
>
> Jim McKelvey mckelvey@maskull.com
--
"I'm writing an unauthorized autobiography.
"-Steven Wright