Ping: solves a libobjc gc bootstrap failure (mainline, probably all br

Kai Henningsen kaih@khms.westfalen.de
Thu Jan 30 19:26:00 GMT 2003


kaih@khms.westfalen.de (Kai Henningsen)  wrote on 26.01.03 in <8e$fR1r1w-B@khms.westfalen.de>:

> kai@qualify.domain.khms.westfalen.de (Kai Henningsen)  wrote on 24.01.03 in
> <20030124163431.GA5068@khms.westfalen.de+2>:
>
> [...]
> > Configure options:
> > --prefix=/opt/gcc-head --enable-multilib --enable-checking
> > --enable-c-mbchar --enable-threads --enable-objc-gc --enable-nls
> > --enable-version-specific-runtime-libs --enable-languages=all
> [...]
>
> This patch solves the problem (it's so small and unoriginal it shouldn't
> need an assignment) - could someone please check it in?
>
> Index: libobjc/Makefile.in
> ===================================================================
> RCS file: /Partition/gcc/gcc/gcc-cvs/gcc/libobjc/Makefile.in,v
> retrieving revision 1.23
> diff -u -r1.23 Makefile.in
> --- libobjc/Makefile.in	9 Jan 2003 08:08:29 -0000	1.23
> +++ libobjc/Makefile.in	26 Jan 2003 14:18:14 -0000
> @@ -97,7 +97,7 @@
>
>  INCLUDES = -I$(srcdir)/objc  -I$(srcdir)/$(MULTISRCTOP)../gcc \
>    -I$(srcdir)/$(MULTISRCTOP)../gcc/config -I$(MULTIBUILDTOP)../../gcc \
> -  -I$(srcdir)/$(MULTISRCTOP)../include
> +  -I$(srcdir)/$(MULTISRCTOP)../include
> -I$(srcdir)/$(MULTISRCTOP)../boehm-gc/include
>
>  OBJC_GCFLAGS=-DOBJC_WITH_GC=1
>  OBJC_THREAD_FILE=thr-objc
> Index: libobjc/gc.c
> ===================================================================
> RCS file: /Partition/gcc/gcc/gcc-cvs/gcc/libobjc/gc.c,v
> retrieving revision 1.5
> diff -u -r1.5 gc.c
> --- libobjc/gc.c	2 Jul 2002 19:42:23 -0000	1.5
> +++ libobjc/gc.c	26 Jan 2003 17:52:01 -0000
> @@ -25,7 +25,11 @@
>     This exception does not however invalidate any other reasons why
>     the executable file might be covered by the GNU General Public License.
> */
>
> +/* FIXME: This file has no business including tm.h.  */
> +
>  #include "tconfig.h"
> +#include "coretypes.h"
> +#include "tm.h"
>  #include "objc.h"
>  #include "encoding.h"
>
>
> MfG Kai


MfG Kai



More information about the Gcc-patches mailing list