MIPS port in CVS HEAD?

david daney ddaney@avtrex.com
Sun Oct 19 23:58:00 GMT 2003


First of all, appologies for the screwed up mail formatting, I am using a crappy web mail client....
 
I thought I would reply, although I don't have access to my development systems right now so this is from memory.  If you are still having problems, I can reply with more definitive information on Monday.
 
I think this error is due to an incorrect includes path.  What options did you configure with?  There are top level configure options to set the location of the system include directory.  You have to set this and also have it populated with something close to the proper files.
 
I think there may be a chicken and egg type problem with building the compiler and libc, so you might have to get creative in creating an initial set of system include files.
 
Also you need to take a look at this thread:
 
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00607.html
 
There has been no resolution to the problems outlined there.  Perhaps the MIPS maintainers will OK the patch so that we can again build from unmodified cvs sources soon.
 
David Daney.
 

	-----Original Message----- 
	From: gcc-owner@gcc.gnu.org on behalf of Daniel Egger 
	Sent: Sun 10/19/2003 12:25 PM 
	To: cgd@broadcom.com 
	Cc: GCC Developer Mailinglist 
	Subject: Re: MIPS port in CVS HEAD?
	.
	.
	.

	I'm now hanging here:
	/devel/gcc-head-i386-mipsel/gcc/xgcc -B/devel/gcc-head-i386-mipsel/gcc/ -B/opt/mipsel//mipsel-linux/bin/ -B/opt/mipsel//mipsel-linux/lib/ -isystem /opt/mipsel//mipsel-linux/include -isystem /opt/mipsel//mipsel-linux/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include  -fexceptions -c ../../gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
	../../gcc/gcc/unwind-dw2.c: In function `_Unwind_GetGR':
	
	../../gcc/gcc/unwind-dw2.c:189: warning: comparison between signed and unsigned
	../../gcc/gcc/unwind-dw2.c: In function `_Unwind_SetGR':
	
	../../gcc/gcc/unwind-dw2.c:227: warning: comparison between signed and unsigned
	../../gcc/gcc/unwind-dw2.c: In function `extract_cie_info':
	
	../../gcc/gcc/unwind-dw2.c:320: warning: implicit declaration of function `strlen'
	../../gcc/gcc/unwind-dw2.c: In function `uw_frame_state_for':
	
	../../gcc/gcc/unwind-dw2.c:1005: warning: implicit declaration of function `memset'
	../../gcc/gcc/unwind-dw2.c:1019: error: `u_int32_t' undeclared (first use in this function)
	../../gcc/gcc/unwind-dw2.c:1019: error: (Each undeclared identifier is reported only once
	../../gcc/gcc/unwind-dw2.c:1019: error: for each function it appears in.)
	../../gcc/gcc/unwind-dw2.c:1019: error: `pc_' undeclared (first use in this function)
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before ')' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before "u_int32_t"
	../../gcc/gcc/unwind-dw2.c:1019: warning: no semicolon at end of struct or union../../gcc/gcc/unwind-dw2.c:1019: warning: unused variable `sigctx'
	../../gcc/gcc/unwind-dw2.c:1019: error: `rt_' undeclared (first use in this function)
	../../gcc/gcc/unwind-dw2.c:1019: warning: unused variable `new_cfa_'
	../../gcc/gcc/unwind-dw2.c:1019: warning: unused variable `i_'
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before "else"
	../../gcc/gcc/unwind-dw2.c:1019: warning: unused variable `info'
	../../gcc/gcc/unwind-dw2.c:1019: warning: unused variable `uc'
	../../gcc/gcc/unwind-dw2.c:1019: error: `sc_' undeclared (first use in this function)
	../../gcc/gcc/unwind-dw2.c:1002: warning: unused variable `cie'
	../../gcc/gcc/unwind-dw2.c:1003: warning: unused variable `aug'
	../../gcc/gcc/unwind-dw2.c:1003: warning: unused variable `insn'
	../../gcc/gcc/unwind-dw2.c:1003: warning: unused variable `end'
	../../gcc/gcc/unwind-dw2.c: At top level:
	
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before "else"
	../../gcc/gcc/unwind-dw2.c:1019: warning: type defaults to `int' in declaration of `new_cfa_'
	../../gcc/gcc/unwind-dw2.c:1019: error: `sc_' undeclared here (not in a function)
	../../gcc/gcc/unwind-dw2.c:1019: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1019: error: syntax error before '->' token
	../../gcc/gcc/unwind-dw2.c:1030: warning: type defaults to `int' in declaration of `cie'
	../../gcc/gcc/unwind-dw2.c:1030: error: syntax error before "fde"
	../../gcc/gcc/unwind-dw2.c:1031: warning: type defaults to `int' in declaration of `insn'
	../../gcc/gcc/unwind-dw2.c:1031: error: `context' undeclared here (not in a function)
	../../gcc/gcc/unwind-dw2.c:1031: error: `fs' undeclared here (not in a function)../../gcc/gcc/unwind-dw2.c:1031: warning: passing arg 1 of `extract_cie_info' makes pointer from integer without a cast
	../../gcc/gcc/unwind-dw2.c:1031: warning: initialization makes integer from pointer without a cast
	../../gcc/gcc/unwind-dw2.c:1031: error: initializer element is not constant
	../../gcc/gcc/unwind-dw2.c:1031: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1032: error: syntax error before "if"
	../../gcc/gcc/unwind-dw2.c:1037: warning: type defaults to `int' in declaration of `end'
	../../gcc/gcc/unwind-dw2.c:1037: warning: initialization makes integer from pointer without a cast
	../../gcc/gcc/unwind-dw2.c:1037: error: initializer element is not constant
	../../gcc/gcc/unwind-dw2.c:1037: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1038: warning: type defaults to `int' in declaration of `execute_cfa_program'
	../../gcc/gcc/unwind-dw2.c:1038: warning: parameter names (without types) in function declaration
	../../gcc/gcc/unwind-dw2.c:1038: error: conflicting types for 'execute_cfa_program'
	../../gcc/gcc/unwind-dw2.c:797: error: previous declaration of 'execute_cfa_program'
	../../gcc/gcc/unwind-dw2.c:1038: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1041: warning: type defaults to `int' in declaration of `aug'
	../../gcc/gcc/unwind-dw2.c:1041: error: syntax error before "fde"
	../../gcc/gcc/unwind-dw2.c:1041: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1042: error: syntax error before '+=' token
	../../gcc/gcc/unwind-dw2.c:1043: warning: type defaults to `int' in declaration of `insn'
	../../gcc/gcc/unwind-dw2.c:1043: error: redefinition of 'insn'
	../../gcc/gcc/unwind-dw2.c:1031: error: 'insn' previously defined here
	../../gcc/gcc/unwind-dw2.c:1043: warning: initialization makes integer from pointer without a cast
	../../gcc/gcc/unwind-dw2.c:1043: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1044: error: syntax error before "if"
	../../gcc/gcc/unwind-dw2.c:1047: warning: type defaults to `int' in declaration of `aug'
	../../gcc/gcc/unwind-dw2.c:1047: error: redefinition of 'aug'
	../../gcc/gcc/unwind-dw2.c:1041: error: 'aug' previously defined here
	../../gcc/gcc/unwind-dw2.c:1047: error: `i' undeclared here (not in a function)
	../../gcc/gcc/unwind-dw2.c:1047: warning: passing arg 1 of `read_uleb128' makes pointer from integer without a cast
	../../gcc/gcc/unwind-dw2.c:1047: warning: initialization makes integer from pointer without a cast
	../../gcc/gcc/unwind-dw2.c:1047: error: initializer element is not constant
	../../gcc/gcc/unwind-dw2.c:1047: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1048: warning: type defaults to `int' in declaration of `insn'
	../../gcc/gcc/unwind-dw2.c:1048: error: redefinition of 'insn'
	../../gcc/gcc/unwind-dw2.c:1043: error: 'insn' previously defined here
	../../gcc/gcc/unwind-dw2.c:1048: error: redefinition of 'insn'
	../../gcc/gcc/unwind-dw2.c:1043: error: 'insn' previously defined here
	../../gcc/gcc/unwind-dw2.c:1048: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1049: error: syntax error before '}' token
	../../gcc/gcc/unwind-dw2.c:1057: warning: type defaults to `int' in declaration of `end'
	../../gcc/gcc/unwind-dw2.c:1057: error: redefinition of 'end'
	../../gcc/gcc/unwind-dw2.c:1037: error: 'end' previously defined here
	../../gcc/gcc/unwind-dw2.c:1057: error: syntax error before "fde"
	../../gcc/gcc/unwind-dw2.c:1057: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1058: warning: type defaults to `int' in declaration of `execute_cfa_program'
	../../gcc/gcc/unwind-dw2.c:1058: warning: parameter names (without types) in function declaration
	../../gcc/gcc/unwind-dw2.c:1058: warning: data definition has no type or storage class
	../../gcc/gcc/unwind-dw2.c:1060: error: syntax error before "return"
	../../gcc/gcc/unwind-dw2.c: In function `uw_install_context_1':
	
	../../gcc/gcc/unwind-dw2.c:1333: warning: implicit declaration of function `memcpy'
	../../gcc/gcc/unwind-dw2.c: In function `uw_frame_state_for':
	
	../../gcc/gcc/unwind-dw2.c:1019: error: break statement not within loop or switch
	../../gcc/gcc/unwind-dw2.c: At top level:
	
	../../gcc/gcc/unwind-pe.h:72: warning: 'size_of_encoded_value' defined but not used
	../../gcc/gcc/unwind-dw2.c:1038: warning: 'execute_cfa_program' defined but not used
	make[2]: *** [libgcc/./unwind-dw2.o] Error 1
	make[2]: Leaving directory `/devel/gcc-head-i386-mipsel/gcc'
	make[1]: *** [libgcc.a] Error 2
	make[1]: Leaving directory `/devel/gcc-head-i386-mipsel/gcc'
	make: *** [all-gcc] Error 2
	
	--
	Servus,
	       Daniel
	
  _____  


	<<Dies ist ein digital signierter Nachrichtenteil>> 





More information about the Gcc mailing list