public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Another mainline bootstrap problem
@ 2003-01-24 17:51 Kai Henningsen
  2003-02-22 17:29 ` PING: Patch: mainline bootstrap failure (libobjc) Matthias Klose
  0 siblings, 1 reply; 4+ messages in thread
From: Kai Henningsen @ 2003-01-24 17:51 UTC (permalink / raw)
  To: gcc; +Cc: Kai Henningsen

Debian testing/unstable
Linux khms.westfalen.de 2.4.19+kai.58 #1 Sam Sep 7 14:16:44 CEST 2002 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux
glibc Version: 2.3.1-10

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

Tail of log:

[...]
/Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -I. -I/Partition/gcc/gcc/build/gcc/libobjc -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -I/Partition/gcc/gcc/build/gcc/libobjc/objc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/thr-objc.c -o thr-objc.o
./libtool --mode=link  /Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -o libobjc.la archive.lo class.lo encoding.lo gc.lo hash.lo init.lo linking.lo misc.lo nil_method.lo NXConstStr.lo Object.lo objects.lo Protocol.lo sarray.lo selector.lo sendmsg.lo thr.lo thr-objc.lo \
	-rpath /opt/gcc-head/lib/gcc-lib/i686-pc-linux-gnu/3.4 \
	-version-info 1:0:0
mkdir .libs
ar rc .libs/libobjc.a  archive.o class.o encoding.o gc.o hash.o init.o linking.o misc.o nil_method.o NXConstStr.o Object.o objects.o Protocol.o sarray.o selector.o sendmsg.o thr.o thr-objc.o
ranlib .libs/libobjc.a
creating libobjc.la
(cd .libs && rm -f libobjc.la && ln -s ../libobjc.la libobjc.la)
./libtool --mode=compile /Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c  -o archive_gc.lo -I. -I/Partition/gcc/gcc/build/gcc/libobjc   -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 \
	-I/Partition/gcc/gcc/build/gcc/libobjc/objc  -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/archive.c
/Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -I. -I/Partition/gcc/gcc/build/gcc/libobjc -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 -I/Partition/gcc/gcc/build/gcc/libobjc/objc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/archive.c -o archive_gc.o
./libtool --mode=compile /Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -o class_gc.lo -I. -I/Partition/gcc/gcc/build/gcc/libobjc   -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 \
	-I/Partition/gcc/gcc/build/gcc/libobjc/objc  -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/class.c
/Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -I. -I/Partition/gcc/gcc/build/gcc/libobjc -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 -I/Partition/gcc/gcc/build/gcc/libobjc/objc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/class.c -o class_gc.o
./libtool --mode=compile /Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -o encoding_gc.lo -I. -I/Partition/gcc/gcc/build/gcc/libobjc   -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 \
	-I/Partition/gcc/gcc/build/gcc/libobjc/objc  -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/encoding.c
/Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -I. -I/Partition/gcc/gcc/build/gcc/libobjc -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 -I/Partition/gcc/gcc/build/gcc/libobjc/objc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/encoding.c -o encoding_gc.o
/Partition/gcc/gcc/build/gcc/libobjc/encoding.c:89: warning: `target_flags' defined but not used
./libtool --mode=compile /Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -o gc_gc.lo -I. -I/Partition/gcc/gcc/build/gcc/libobjc   -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 \
	-I/Partition/gcc/gcc/build/gcc/libobjc/objc  -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/gc.c
/Partition/gcc/gcc/build/build/gcc/xgcc -B/Partition/gcc/gcc/build/build/gcc/ -B/opt/gcc-head/i686-pc-linux-gnu/bin/ -B/opt/gcc-head/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-head/i686-pc-linux-gnu/include -c -I. -I/Partition/gcc/gcc/build/gcc/libobjc -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 -I/Partition/gcc/gcc/build/gcc/libobjc/objc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../gcc/config -I../../gcc -I/Partition/gcc/gcc/build/gcc/libobjc/../include /Partition/gcc/gcc/build/gcc/libobjc/gc.c -o gc_gc.o
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:37:16: gc.h: No such file or directory
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:40: error: parse error before "word"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:40: warning: type defaults to `int' in declaration of `word'
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:40: warning: data definition has no type or storage class
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:41: error: parse error before "signed_word"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:41: warning: type defaults to `int' in declaration of `signed_word'
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:41: warning: data definition has no type or storage class
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:55:22: gc_typed.h: No such file or directory
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:69: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:69: warning: function declaration isn't a prototype
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:71: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:71: warning: function declaration isn't a prototype
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:75: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:76: warning: function declaration isn't a prototype
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: In function `__objc_gc_setup_array':
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:77: warning: implicit declaration of function `atoi'
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:77: error: `type' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:77: error: (Each undeclared identifier is reported only once
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:77: error: for each function it appears in.)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:85: error: `mask' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:85: error: `offset' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: At top level:
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:104: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:105: warning: function declaration isn't a prototype
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: In function `__objc_gc_setup_struct':
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:110: error: `type' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:132: error: `offset' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:142: warning: implicit declaration of function `GC_set_bit'
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:142: error: `mask' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: At top level:
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:164: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:165: warning: function declaration isn't a prototype
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: In function `__objc_gc_setup_union':
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:172: error: `type' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:181: error: `offset' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:181: warning: type defaults to `int' in declaration of `__v'
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:184: error: `mask' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: At top level:
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:193: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:194: warning: function declaration isn't a prototype
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: In function `__objc_gc_type_description_from_type':
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:199: error: `type' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:227: error: `mask' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c: In function `__objc_generate_gc_type_description':
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:300: error: `GC_bitmap' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:300: error: parse error before "mask"
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:316: error: `BITS_PER_WORD' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:316: warning: type defaults to `int' in declaration of `__a'
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:317: error: `mask' undeclared (first use in this function)
/Partition/gcc/gcc/build/gcc/libobjc/gc.c:345: warning: implicit declaration of function `GC_make_descriptor'
make[2]: *** [gc_gc.lo] Fehler 1
make[2]: Leaving directory `/Partition/gcc/gcc/build/build/i686-pc-linux-gnu/libobjc'
make[1]: *** [all-target-libobjc] Fehler 2
make[1]: Leaving directory `/Partition/gcc/gcc/build/build'
make: *** [bootstrap] Fehler 2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PING: Patch: mainline bootstrap failure (libobjc)
  2003-01-24 17:51 Another mainline bootstrap problem Kai Henningsen
@ 2003-02-22 17:29 ` Matthias Klose
  2003-02-24 20:11   ` Kai Henningsen
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Klose @ 2003-02-22 17:29 UTC (permalink / raw)
  To: Kai Henningsen; +Cc: gcc, gcc-patches

The first part of the patch is wrong or at least incomplete. Adding
-I$(srcdir)/$(MULTISRCTOP)../boehm-gc/include helps for compilation
only, it misses linking of the boehm-gc and installation of headers
and libraries.

If using the included boehm-gc is correct at all, is another
question. See the thread starting at

	http://gcc.gnu.org/ml/gcc/2001-01/msg01019.html

The patch to libobjc/gc.c seems to be a workaround. At least it seems
to fix the errors seen in

	http://gcc.gnu.org/ml/gcc/2003-01/msg00007.html

Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PING: Patch: mainline bootstrap failure (libobjc)
  2003-02-22 17:29 ` PING: Patch: mainline bootstrap failure (libobjc) Matthias Klose
@ 2003-02-24 20:11   ` Kai Henningsen
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Henningsen @ 2003-02-24 20:11 UTC (permalink / raw)
  To: gcc; +Cc: gcc-patches

doko@cs.tu-berlin.de (Matthias Klose)  wrote on 22.02.03 in <15959.40912.737545.113842@gargle.gargle.HOWL>:

> The first part of the patch is wrong or at least incomplete. Adding
> -I$(srcdir)/$(MULTISRCTOP)../boehm-gc/include helps for compilation
> only, it misses linking of the boehm-gc and installation of headers
> and libraries.
>
> If using the included boehm-gc is correct at all, is another
> question. See the thread starting at
>
> 	http://gcc.gnu.org/ml/gcc/2001-01/msg01019.html

Well, *that* change
1. needs more knowledge about gcc's build machinery *and* boehm-gc than I  
currently have
2. seems as if it would certainly need an assignment from the patch author

so I can't do that one, at least not right now.

In the mean time, the current patch *does* at least help the compilation.

> The patch to libobjc/gc.c seems to be a workaround. At least it seems
> to fix the errors seen in
>
> 	http://gcc.gnu.org/ml/gcc/2003-01/msg00007.html

That's what it's for. It's entirely along the same lines as a similar  
patch by Zack a while back ... ah yes, thread starting with
http://gcc.gnu.org/ml/gcc/2002-12/msg00023.html; I believe any fix for  
that one should also fix this one. From readinmg that thread, it seems gcc  
needs to have a way to pass down some properties of the target to the  
library. It currently hasn't, thus the workaround.

All this makes me wonder how --with-objc-gc ever made it into gcc. It  
seems rather untested.

MfG Kai

^ permalink raw reply	[flat|nested] 4+ messages in thread

* PING: Patch: mainline bootstrap failure (libobjc)
@ 2003-02-22 15:03 Kai Henningsen
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Henningsen @ 2003-02-22 15:03 UTC (permalink / raw)
  To: gcc-patches; +Cc: gcc

Bootstrap failure: http://gcc.gnu.org/ml/gcc/2003-01/msg01128.html
Patch to fix it:   http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02061.html

I believe the problem is actually present on all branches.

Any kind of feedback that gets this closer to resolution is welcome.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-24 20:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-24 17:51 Another mainline bootstrap problem Kai Henningsen
2003-02-22 17:29 ` PING: Patch: mainline bootstrap failure (libobjc) Matthias Klose
2003-02-24 20:11   ` Kai Henningsen
2003-02-22 15:03 Kai Henningsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).