This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bootstrap failure compiling config/pa/pa.c on hppa2.0-hp-hpux10.20 3.1 MonOct 22 22:46:06 UTC 2001
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Bootstrap failure compiling config/pa/pa.c on hppa2.0-hp-hpux10.20 3.1 MonOct 22 22:46:06 UTC 2001
- From: rbrown64 at csc dot com dot au
- Date: Tue, 23 Oct 2001 15:35:59 +1000
3.1 Mon Oct 22 22:46:06 UTC 2001 fails to build on hppa2.0-hp-hpux10.20.
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/config -I../../gcc/gcc/../include \
../../gcc/gcc/config/pa/pa.c -o pa.o
../../gcc/gcc/config/pa/pa.c:128: `default_eh_frame_section' undeclared
here (not in a function)
../../gcc/gcc/config/pa/pa.c:128: initializer element is not
constant../../gcc/gcc/config/pa/pa.c:128: (near initialization for
`targetm.asm_out.eh_f
rame_section')
../../gcc/gcc/config/pa/pa.c: In function `return_addr_rtx':
../../gcc/gcc/config/pa/pa.c:3541: warning: integer constant is unsigned in
ANSI
C, signed with -traditional
make[2]: *** [pa.o] Error 1
make[2]: Leaving directory `/devel/span/rdb/src/gcc-3.1-experimental/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/devel/span/rdb/src/gcc-3.1-experimental'
make: *** [bootstrap-lean] Error 2
121 #undef TARGET_SCHED_ADJUST_COST
122 #define TARGET_SCHED_ADJUST_COST pa_adjust_cost
123 #undef TARGET_SCHED_ADJUST_PRIORITY
124 #define TARGET_SCHED_ADJUST_PRIORITY pa_adjust_priority
125 #undef TARGET_SCHED_ISSUE_RATE
126 #define TARGET_SCHED_ISSUE_RATE pa_issue_rate
127
128 struct gcc_target targetm = TARGET_INITIALIZER;
129 ^L
130 void
131 override_options ()
132 {
133 /* Default to 7100LC scheduling. */
134 if (pa_cpu_string && ! strcmp (pa_cpu_string, "7100"))
135 {
136 pa_cpu_string = "7100";
137 pa_cpu = PROCESSOR_7100;
138 }
Maybe this change?
2001-10-22 Stan Shebs <shebs@apple.com>
* target.h (struct gcc_target): Add asm_out.exception_section,
asm_out.eh_frame_section.
* target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
(TARGET_ASM_EH_FRAME_SECTION): New.
(TARGET_INITIALIZER): Update.