Bug 21298 - Objc does not bootstrap
Summary: Objc does not bootstrap
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: objc (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-30 17:21 UTC by Erik Schnetter
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Schnetter 2005-04-30 17:21:31 UTC
I got the sources from CVS today (2005-04-30) and configured with  
  
~/src/gcc/configure --prefix=$HOME  
--enable-languages=c,ada,c++,f95,java,objc,obj-c++,treelang  
  
The following make command  
  
make bootstrap  
  
aborts and produces the error messages  
  
stage1/xgcc -Bstage1/ -B/home/eschnett/i686-pc-linux-gnu/bin/ -c   -O2 -g 
-fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros 
-Wold-style-definition -Werror -DOBJCPLUS -I/home/eschnett/src/gcc/gcc/objc 
-I/home/eschnett/src/gcc/gcc/cp -fno-common   -DHAVE_CONFIG_H    -I. -Iobjcp 
-I/home/eschnett/src/gcc/gcc -I/home/eschnett/src/gcc/gcc/objcp 
-I/home/eschnett/src/gcc/gcc/../include 
-I/home/eschnett/src/gcc/gcc/../libcpp/include  /home/eschnett/src/gcc/gcc/objc/objc-act.c 
-o objcp/objcp-act.o 
cc1: warnings being treated as errors 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'objc_types_compatible_p': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:856: warning: implicit declaration 
of function 'cxx_types_compatible_p' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 'objc_comptypes': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:895: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:896: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:971: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:998: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1039: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1071: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1143: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1144: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1154: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1155: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1160: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1160: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'objc_get_protocol_qualified_type': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1239: error: 
'ALLOC_OBJC_TYPE_LANG_SPECIFIC' undeclared (first use in this function) 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1239: error: (Each undeclared 
identifier is reported only once 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1239: error: for each function it 
appears in.) 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:1239: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 'objc_declare_class': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:2715: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:2726: error: 
'ALLOC_OBJC_TYPE_LANG_SPECIFIC' undeclared (first use in this function) 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:2726: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:2726: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'objc_begin_catch_clause': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:3275: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'build_private_template': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:3556: error: 
'ALLOC_OBJC_TYPE_LANG_SPECIFIC' undeclared (first use in this function) 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:3556: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:3556: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'adjust_type_for_id_default': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:5170: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'objc_finish_message_expr': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:5625: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:5666: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 'objc_is_public': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:6408: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 'encode_pointer': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:7076: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 
'objc_types_are_equivalent': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:7575: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:7578: error: 'struct lang_type' has 
no member named 'objc_info' 
/home/eschnett/src/gcc/gcc/objc/objc-act.c: In function 'gen_type_name_0': 
/home/eschnett/src/gcc/gcc/objc/objc-act.c:8053: error: 'struct lang_type' has 
no member named 'objc_info' 
make[2]: *** [objcp/objcp-act.o] Error 1 
make[2]: Leaving directory `/home/eschnett/src/gcc-build/gcc' 
make[1]: *** [stage2_build] Error 2 
make[1]: Leaving directory `/home/eschnett/src/gcc-build/gcc' 
make: *** [bootstrap] Error 2
Comment 1 Andrew Pinski 2005-04-30 17:24:20 UTC
It is objc-C++ which does not bootstrap and that is known.