This is the mail archive of the gcc-help@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]

Continual errors in dwarf2asm.h/c on Solaris 8


I can't get gcc 3.3.3 to compile no matter what I do, no matter what
configuration I use. I'm using gcc 3.1.1 (which compiled just fine on
Solaris 8 x86) to compile gcc 3.3.3. Every time, I get the same errors
in dwarf2asm.h and dward2asm.c:

gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I/public/include -I/public/include/ncurses   -I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include ../../gcc-3.3.3/gcc/dwarf2asm.c -o dwarf2asm.o
In file included from ../../gcc-3.3.3/gcc/dwarf2asm.c:29:
../../gcc-3.3.3/gcc/dwarf2asm.h:26: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:26: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:26: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:31: parse error before "ATTRIBUTE_NULL_PRINTF_4"
../../gcc-3.3.3/gcc/dwarf2asm.h:31: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_4'
../../gcc-3.3.3/gcc/dwarf2asm.h:31: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:35: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:35: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:35: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:39: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:39: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:39: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:43: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:43: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:43: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:47: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:47: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:47: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:51: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:51: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:51: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:55: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:55: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:55: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:59: parse error before "ATTRIBUTE_NULL_PRINTF_2"
../../gcc-3.3.3/gcc/dwarf2asm.h:59: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_2'
../../gcc-3.3.3/gcc/dwarf2asm.h:59: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:63: parse error before "ATTRIBUTE_NULL_PRINTF_2"
../../gcc-3.3.3/gcc/dwarf2asm.h:63: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_2'
../../gcc-3.3.3/gcc/dwarf2asm.h:63: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:67: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:67: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:67: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.h:71: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc-3.3.3/gcc/dwarf2asm.h:71: warning: type defaults to `int' in declaration of `ATTRIBUTE_NULL_PRINTF_3'
../../gcc-3.3.3/gcc/dwarf2asm.h:71: ISO C forbids data definition with no type or storage class
../../gcc-3.3.3/gcc/dwarf2asm.c:70: warning: no previous prototype for `dw2_asm_output_data'
../../gcc-3.3.3/gcc/dwarf2asm.c:100: warning: no previous prototype for `dw2_asm_output_delta'
../../gcc-3.3.3/gcc/dwarf2asm.c:134: warning: no previous prototype for `dw2_asm_output_offset'
../../gcc-3.3.3/gcc/dwarf2asm.c:163: warning: no previous prototype for `dw2_asm_output_pcrel'
../../gcc-3.3.3/gcc/dwarf2asm.c:193: warning: no previous prototype for `dw2_asm_output_addr'
../../gcc-3.3.3/gcc/dwarf2asm.c:216: warning: no previous prototype for `dw2_asm_output_addr_rtx'
../../gcc-3.3.3/gcc/dwarf2asm.c:237: warning: no previous prototype for `dw2_asm_output_nstring'
../../gcc-3.3.3/gcc/dwarf2asm.c:510: warning: no previous prototype for `dw2_asm_output_data_uleb128'
../../gcc-3.3.3/gcc/dwarf2asm.c:572: warning: no previous prototype for `dw2_asm_output_data_sleb128'
../../gcc-3.3.3/gcc/dwarf2asm.c:636: warning: no previous prototype for `dw2_asm_output_delta_uleb128'
../../gcc-3.3.3/gcc/dwarf2asm.c:665: warning: no previous prototype for `dw2_asm_output_delta_sleb128'
../../gcc-3.3.3/gcc/dwarf2asm.c:826: warning: no previous prototype for `dw2_asm_output_encoded_addr_rtx'
make[2]: *** [dwarf2asm.o] Error 1
make[2]: Leaving directory `/sw/pgmstore/admpubsw/gcc/obj333/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/sw/pgmstore/admpubsw/gcc/obj333/gcc'
make: *** [bootstrap] Error 2

What is going on? Why won't this work? I've tried using binutils 2.14
and Sun's ld and as. I've tried different compile strings and settings
to no avail. Anyone have ideas on this and on what I can do to fix it?


-- 
Carl B. Constantine         University of Victoria
Programmer Analyst          http://www.csc.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
cconstan@csc.uvic.ca        ELW A248, 721-8766


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