This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mainline bootstrap: problems with gengtype.c change


I think this change:

Fri Jan 24 23:44:12 CET 2003  Jan Hubicka  <jh@suse.cz>

	* emit-rtl.c (reg_attrs_htab): New static variable.
	(reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
	functions.
	(reg_rtx): Do not maintain regno_decl.
	(gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
	set_mem_attrs_from_reg): New global function.
	(init_emit): Do not initialize regno_decl.
	(init_emit_once): initialize reg_attrs_htab.
	* final.c (alter_subreg): Do not replace REG by SUBREG.
	(gen_mem_expr_from_op): Improve output.
	(output_asm_operands): Likewise.
	* function.c (assign_params): Do not set REGNO_DECL.
	* function.h (struct function): Kill regno_decl.
	(REGNO_DECL): Kill.
	* gengtype.c (adjust_field_rtx_def): Handle new field of reg.
	* print_rtl.c (print_rtx): Output REG information.
	* regclass.c (reg_scan_mark_refs): Update attrs.
	* reload1.c (alter_reg): Likewise.
	* simplify_rtx.c (simplify_subreg): Likewise.
	* stmt.c (expand_decl): Likewise.
	* rtl.def (REG): Add new field.
	* rtl.h (struct reg_attrs): New.
	(rtunion_def): At rtreg.
	(X0MEMATTR): Add checking.
	(X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
	(set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
	Declare.
	* tree.h (SET_DECL_RTL): Call set_decl_rtl.


Just hosed my builds....

%make
make[1]: Enterin%make
make[1]: Entering directory `/mnt/hd/bld/bld-x86-gcc/libiberty'
make[2]: Entering directory `/mnt/hd/bld/bld-x86-gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/hd/bld/bld-x86-gcc/libiberty/testsuite'
make[1]: Leaving directory `/mnt/hd/bld/bld-x86-gcc/libiberty'
make[1]: Entering directory `/mnt/hd/bld/bld-x86-gcc/gcc'
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common    -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/mnt/hd/src/gcc/gcc -I/mnt/hd/src/gcc/gcc/. -I/mnt/hd/src/gcc/gcc/config -I/mnt/hd/src/gcc/gcc/../include /mnt/hd/src/gcc/gcc/genflags.c -o genflags.o
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common    -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o gengtype \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
gengtype.o(.text+0x90d): In function `adjust_field_rtx_def':
/mnt/hd/src/gcc/gcc/gengtype.c:432: undefined reference to `lexer_line'
gengtype.o(.text+0xb24):/mnt/hd/src/gcc/gcc/gengtype.c:476: undefined reference
to `lexer_line'
gengtype.o(.text+0xd79):/mnt/hd/src/gcc/gcc/gengtype.c:535: undefined reference
to `lexer_line'
gengtype.o(.text+0xe1d):/mnt/hd/src/gcc/gcc/gengtype.c:578: undefined reference
to `lexer_line'
gengtype.o(.text+0xf67):/mnt/hd/src/gcc/gcc/gengtype.c:617: undefined reference
to `lexer_line'
gengtype.o(.text+0x1046):/mnt/hd/src/gcc/gcc/gengtype.c:630: more undefined references to `lexer_line' follow
gengtype.o(.text+0x5f96): In function `main':
/mnt/hd/src/gcc/gcc/gengtype.c:3016: undefined reference to `parse_file'
gengtype-yacc.o(.text+0x25e): In function `yyparse':
/usr/share/bison/bison.simple:573: undefined reference to `yylex'
gengtype-yacc.o(.text+0x41a): In function `yyparse':
/mnt/hd/src/gcc/gcc/gengtype-yacc.y:72: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x47f):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:74: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x49e):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:75: undefined reference to `lexer_toplevel_done'
gengtype-yacc.o(.text+0x4c1):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:81: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x524):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:83: undefined reference to `lexer_toplevel_done'
gengtype-yacc.o(.text+0x532):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:91: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x571):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:96: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x5b0):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:101: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x605):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:109: undefined
reference to `lexer_toplevel_done'
gengtype-yacc.o(.text+0x621):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:121: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x7dd):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:164: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x7e3):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:164: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x874):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:175: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x87a):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:175: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x971):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:192: more undefined references to `lexer_line' follow
gengtype-yacc.o(.text+0x1164): In function `yyparse':
/usr/share/bison/bison.simple:791: undefined reference to `yyerror'
gengtype-yacc.o(.text+0x1176):/usr/share/bison/bison.simple:795: undefined reference to `yyerror'
gengtype-yacc.o(.text+0x1188):/usr/share/bison/bison.simple:799: undefined reference to `yyerror'
gengtype-yacc.o(.text+0x12c3):/usr/share/bison/bison.simple:924: undefined reference to `yyerror'
collect2: ld returned 1 exit status
make[1]: *** [gengtype] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/mnt/hd/bld/bld-x86-gcc/gcc'
make: *** [all-gcc] Error 2
<bkoz@lincoln> /mnt/hd/bld/bld-x86-gcc
%g directory `/mnt/hd/bld/bld-x86-gcc/libiberty'
make[2]: Entering directory `/mnt/hd/bld/bld-x86-gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/hd/bld/bld-x86-gcc/libiberty/testsuite'
make[1]: Leaving directory `/mnt/hd/bld/bld-x86-gcc/libiberty'
make[1]: Entering directory `/mnt/hd/bld/bld-x86-gcc/gcc'
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common    -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/mnt/hd/src/gcc/gcc -I/mnt/hd/src/gcc/gcc/. -I/mnt/hd/src/gcc/gcc/config -I/mnt/hd/src/gcc/gcc/../include /mnt/hd/src/gcc/gcc/genflags.c -o genflags.o
gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common    -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o gengtype \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
gengtype.o(.text+0x90d): In function `adjust_field_rtx_def':
/mnt/hd/src/gcc/gcc/gengtype.c:432: undefined reference to `lexer_line'
gengtype.o(.text+0xb24):/mnt/hd/src/gcc/gcc/gengtype.c:476: undefined reference
to `lexer_line'
gengtype.o(.text+0xd79):/mnt/hd/src/gcc/gcc/gengtype.c:535: undefined reference
to `lexer_line'
gengtype.o(.text+0xe1d):/mnt/hd/src/gcc/gcc/gengtype.c:578: undefined reference
to `lexer_line'
gengtype.o(.text+0xf67):/mnt/hd/src/gcc/gcc/gengtype.c:617: undefined reference
to `lexer_line'
gengtype.o(.text+0x1046):/mnt/hd/src/gcc/gcc/gengtype.c:630: more undefined references to `lexer_line' follow
gengtype.o(.text+0x5f96): In function `main':
/mnt/hd/src/gcc/gcc/gengtype.c:3016: undefined reference to `parse_file'
gengtype-yacc.o(.text+0x25e): In function `yyparse':
/usr/share/bison/bison.simple:573: undefined reference to `yylex'
gengtype-yacc.o(.text+0x41a): In function `yyparse':
/mnt/hd/src/gcc/gcc/gengtype-yacc.y:72: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x47f):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:74: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x49e):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:75: undefined reference to `lexer_toplevel_done'
gengtype-yacc.o(.text+0x4c1):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:81: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x524):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:83: undefined reference to `lexer_toplevel_done'
gengtype-yacc.o(.text+0x532):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:91: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x571):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:96: undefined reference to `lexer_line'
gengtype-yacc.o(.text+0x5b0):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:101: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x605):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:109: undefined
reference to `lexer_toplevel_done'
gengtype-yacc.o(.text+0x621):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:121: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x7dd):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:164: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x7e3):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:164: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x874):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:175: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x87a):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:175: undefined
reference to `lexer_line'
gengtype-yacc.o(.text+0x971):/mnt/hd/src/gcc/gcc/gengtype-yacc.y:192: more undefined references to `lexer_line' follow
gengtype-yacc.o(.text+0x1164): In function `yyparse':
/usr/share/bison/bison.simple:791: undefined reference to `yyerror'
gengtype-yacc.o(.text+0x1176):/usr/share/bison/bison.simple:795: undefined reference to `yyerror'
gengtype-yacc.o(.text+0x1188):/usr/share/bison/bison.simple:799: undefined reference to `yyerror'
gengtype-yacc.o(.text+0x12c3):/usr/share/bison/bison.simple:924: undefined reference to `yyerror'
collect2: ld returned 1 exit status
make[1]: *** [gengtype] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/mnt/hd/bld/bld-x86-gcc/gcc'
make: *** [all-gcc] Error 2
<bkoz@lincoln> /mnt/hd/bld/bld-x86-gcc
%


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]