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]

Problems compiling gcc-3.3.3 on Solaris 8 x86


I'm trying to compile gcc 3.3.3 on an Intel Solaris 8 box. gcc 3.1.1
compiled no problems using the same parameters but gcc 3.3.3 is barfing
on the dwarf2asm.c with errors like the following (note: I'm using gcc
3.1.1 to compile with binutils-2.14 for as, ld, et al.

Here are the errors I get, any ideas?:

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 



-- 
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]