This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Merge from pch branch; call for testers
> Cc: gcc@gcc.gnu.org
> From: Andreas Schwab <schwab@suse.de>
> Date: Fri, 24 May 2002 23:35:03 +0200
> Geoff Keating <geoffk@geoffk.org> writes:
>
> |> Can you try again without Ada? I don't have either an ia64 box
> |> available nor an Ada compiler to bootstrap with, and it'd be helpful
> |> to know which one I need.
>
> Without Ada I get this error:
>
> gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \
> c-parse.o c-lang.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-format.o c-semantics.o c-objc-common.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a
> libbackend.a(gtype-desc.o):RESX/gtype-desc.c:45: undefined reference to `insn_addresses_'
Aargh, it's inside an ifdef. Try this, tell me if it works.
The Ada problems are going to be difficult. Does anyone have an Ada
compiler I can bootstrap with? Ideally something that runs on
x86-linux and that I'm not going to have too much trouble installing.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>
===File ~/patches/cygnus/pchbranch-insnaddrs.patch==========
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.12690.2.45
diff -p -u -p -r1.12690.2.45 ChangeLog
--- ChangeLog 23 May 2002 19:28:07 -0000 1.12690.2.45
+++ ChangeLog 24 May 2002 21:47:54 -0000
@@ -1,3 +1,7 @@
+2002-05-24 Geoffrey Keating <geoffk@redhat.com>
+
+ * final.c (insn_addresses_): Move out of ifdef.
+
2002-05-23 Geoffrey Keating <geoffk@redhat.com>
* varray.c (uses_ggc): Make more varray kinds GCable.
Index: final.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/final.c,v
retrieving revision 1.238.4.4
diff -p -u -p -r1.238.4.4 final.c
--- final.c 20 May 2002 22:33:04 -0000 1.238.4.4
+++ final.c 24 May 2002 21:47:54 -0000
@@ -579,9 +579,7 @@ dbr_sequence_length ()
static int *insn_lengths;
-#ifdef HAVE_ATTR_length
varray_type insn_addresses_;
-#endif
/* Max uid for which the above arrays are valid. */
static int insn_lengths_max_uid;
============================================================