This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2003-06-24T12:02:01Z.
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-regression at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Cc: jh at suse dot cz, konqueror at gmx dot de
- Date: Tue, 24 Jun 2003 15:31:48 +0200
- Subject: Re: GCC build failed for native with your patch on 2003-06-24T12:02:01Z.
- References: <200306241307.h5OD7aoJ026510@gcc-regress.apple.com>
> stage1/xgcc -Bstage1/ -B/Users/regress/tbox/objs/powerpc-apple-darwin6.3/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -Werror -fno-common -DHAVE_CONFIG_H -I. -Icp -I/Users/regress/tbox/cvs-gcc/gcc/gcc -I/Users/regress/tbox/cvs-gcc/gcc/gcc/cp -I/Users/regress/tbox/cvs-gcc/gcc/gcc/config -I/Users/regress/tbox/cvs-gcc/gcc/gcc/../include /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/method.c -o cp/method.o
> gt-cp-method.h:30: error: `thunk_labelno' undeclared here (not in a function)
> gt-cp-method.h:30: error: initializer element is not constant
> gt-cp-method.h:30: error: (near initialization for `gt_pch_rs_gt_cp_method_h[0].base')
I am commiting this as obvious. Hope that the chain of failures these
days is getting to the end.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3453
diff -c -3 -p -r1.3453 ChangeLog
*** ChangeLog 24 Jun 2003 11:53:56 -0000 1.3453
--- ChangeLog 24 Jun 2003 13:30:43 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ Tue Jun 24 15:30:05 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * method.c (thunk_labelno): Move outside ifdef block to make garbage
+ collector happy.
+
Tue Jun 24 13:52:34 CEST 2003 Jan Hubicka <jh@suse.cz>
* class.c (build_vtable): Make vtables.
Index: method.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/method.c,v
retrieving revision 1.255
diff -c -3 -p -r1.255 method.c
*** method.c 24 Jun 2003 05:44:45 -0000 1.255
--- method.c 24 Jun 2003 13:30:43 -0000
*************** thunk_adjust (tree ptr, bool this_adjust
*** 354,361 ****
return ptr;
}
! #ifdef ASM_OUTPUT_DEF
static GTY (()) int thunk_labelno;
/* Create a static alias to function. */
--- 354,363 ----
return ptr;
}
! /* Garbage collector tables contains thunk_labelno even when places
! inside ifdef block. */
static GTY (()) int thunk_labelno;
+ #ifdef ASM_OUTPUT_DEF
/* Create a static alias to function. */