From: Adrian Hoe <adrianhoe@nowhere.com>
Subject: Re: gcc/gnat 3.3
Date: Thu, 06 Nov 2003 13:20:57 +0800
Date: 2003-11-06T13:20:57+08:00 [thread overview]
Message-ID: <3FA9DA39.3090607@nowhere.com> (raw)
In-Reply-To: 3FA9D6D1.9050803@nowhere.com
Adrian Hoe wrote:
> Andreas Almroth wrote:
>
>>
>> I only say: Use GNU make.
>> The Makefiles are in some cases using gmake only contructs. I believe it
>> is also mentioned in the build documentation...
>>
>> Godd luck building it! Should not be hard now, as the configure script
>> found ada.
>>
>
>
>
> Argh! I mixed up both "make" and "gmake". I was so used to "make".
>
>
> Now it began to compile but not for long. I encountered the following
> problems:
>
> rm -rf libbackend.a
> ar rc libbackend.a alias.o bb-reorder.o bitmap.o builtins.o
> caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o
> cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o
> cselib.o dbxout.o debug.o df.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 gtype-desc.o haifa-sched.o hashtable.o
> hooks.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
> langhooks.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 ra.o ra-build.o
> ra-colorize.o ra-debug.o ra-rewrite.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 rtl-error.o sbitmap.o sched-deps.o sched-ebb.o
> sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o
> ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o
> tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o
> version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o sparc.o
> ranlib libbackend.a
> /opt/sfw/bin/gnat/gcc -g -DIN_GCC -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -DHAVE_CONFIG_H
> -o cc1 \
> c-parse.o c-lang.o c-pretty-print.o attribs.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-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a
> main.o libbackend.a ./intl/libintl.a ../libiberty/libiberty.a
> Undefined first referenced
> symbol in file
> fibheap_delete_node libbackend.a(tracer.o)
> physmem_total libbackend.a(ggc-common.o)
> fibheap_empty libbackend.a(tracer.o)
> htab_hash_string libbackend.a(dwarf2out.o)
> fibheap_insert libbackend.a(tracer.o)
> fibheap_new libbackend.a(tracer.o)
> htab_create_alloc libbackend.a(cselib.o)
> lbasename libcpp.a(cppfiles.o)
> fibheap_delete libbackend.a(tracer.o)
> fibheap_extract_min libbackend.a(tracer.o)
> reconcat c-aux-info.o
> ld: fatal: Symbol referencing errors. No output written to cc1
> gmake[1]: *** [cc1] Error 1
> gmake[1]: Leaving directory `/home/byhoe/download/gcc-3.3.2/gcc-3.3.2/obj'
> gmake: *** [stage1_build] Error 2
>
>
> Do you have any idea how to solve this? I see that I am close but not so
> close yet. :(
>
>
> Thanks. :)
These undefined symbols can be found in the C source files under the
directory gcc-3.3.2/libiberty
When I did gmake bootstrap, it gave me an error for missing libiberty.a.
So I copied the file from one of the system lib directory. It seems like
gcc bootstrap needs to compile those files in gcc-3.3.2/libiberty to
produce libiberty.a. Is my assumption correct? If yes, how do I make
libiberty? The Makefile does not have the lines to make libiberty.a
How?--
Adrian Hoe
m a i l b o x AT a d r i a n h o e . c o m
next prev parent reply other threads:[~2003-11-06 5:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-17 14:45 gcc/gnat 3.3 Adrian Hoe
2003-10-17 21:12 ` Jeff C,
2003-10-17 21:48 ` GCC 5.01p (was: Re: gcc/gnat 3.3) Ludovic Brenta
2003-10-17 22:01 ` Jeff C,
2003-10-20 19:04 ` gcc/gnat 3.3 Andreas Almroth
2003-10-24 9:13 ` Adrian Hoe
2003-10-28 4:19 ` Adrian Hoe
2003-10-28 4:26 ` Jeff C,
2003-10-28 15:36 ` Adrian Hoe
2003-10-29 0:24 ` Jeff C,
2003-11-01 5:51 ` Adrian Hoe
2003-11-01 14:22 ` Jeff C,
2003-11-01 14:28 ` Jeff C,
2003-11-01 14:52 ` Ludovic Brenta
2003-11-03 9:36 ` Adrian Hoe
2003-11-05 18:35 ` Andreas Almroth
2003-11-06 5:06 ` Adrian Hoe
2003-11-06 5:20 ` Adrian Hoe [this message]
2003-11-06 6:19 ` Andreas Almroth
2003-11-06 6:52 ` Adrian Hoe
2003-11-06 8:54 ` Andreas Almroth
2003-11-06 11:17 ` Adrian Hoe
2003-11-06 13:55 ` Andreas Almroth
2003-11-07 4:09 ` Adrian Hoe
2003-11-07 6:50 ` Andreas Almroth
2003-11-19 8:10 ` Adrian Hoe
2003-11-07 4:15 ` Adrian Hoe
2003-11-07 7:00 ` Andreas Almroth
2003-11-07 7:15 ` Adrian Hoe
2003-11-07 17:05 ` Andreas Almroth
2003-11-06 6:33 ` Adrian Hoe
2003-10-28 14:48 ` Steve
2003-11-01 16:29 ` Andreas Almroth
2003-11-03 3:49 ` Adrian Hoe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox