This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Controlling winding library
- From: Mangal <nitin dot mangal at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 19:49:51 +0530
- Subject: Controlling winding library
Hi,
I am working on a port and currently using gcc3.4.1 as the base
platform for development.
Currently, I am able to get the cc1build but the GCC driver is not
build due to an error in building libgcc (Please see at the end the
output).
It is trying to build unwind-dw2-fde.c and there is an error thrown in
simplify_rtx.c
On further inspection I found that it is due to some floating point
error concerning subregs.
- Am I missing any declarations or includes?
- Is there a mechanism to control the driver from building unwind libraries?
- Is it possible that this error is triggered by some other thing?
Thanks for the help.
~M
output:
============================================================
/home/mangal/WorkArea/objs/gcc/xgcc -B/home/mangal/WorkArea/objs/gcc/
-B/home/mangal/WorkArea/install/target2k4/bin/
-B/home/mangal/WorkArea/install/target2k4/lib/ -isystem
/home/mangal/WorkArea/install/target2k4/include -isystem
/home/mangal/WorkArea/install/target2k4/sys-include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I
-I../../gcc-3.4.1/gcc -I../../gcc-3.4.1/gcc/
-I../../gcc-3.4.1/gcc/../include -mall-errata -fexceptions -c
../../gcc-3.4.1/gcc/unwind-dw2-fde.c -o libgcc/./unwind-dw2-fde.o
In file included from ../../gcc-3.4.1/gcc/config/target2k4/xm-target2k4.h:52,
from ./tconfig.h:5,
from ../../gcc-3.4.1/gcc/unwind-dw2-fde.c:32:
../../gcc-3.4.1/gcc/config/target2k4/target2k4.h:1230: warning:
parameter names (without types) in function declaration
In file included from ../../gcc-3.4.1/gcc/unwind-dw2-fde.c:39:
../../gcc-3.4.1/gcc/unwind-pe.h: In function `read_encoded_value_with_base':
../../gcc-3.4.1/gcc/unwind-pe.h:202: warning: cast from pointer to
integer of different size
../../gcc-3.4.1/gcc/unwind-pe.h:204: warning: cast to pointer from
integer of different size
../../gcc-3.4.1/gcc/unwind-pe.h:205: warning: cast to pointer from
integer of different size
../../gcc-3.4.1/gcc/unwind-pe.h:212: warning: cast from pointer to
integer of different size
../../gcc-3.4.1/gcc/unwind-pe.h:265: warning: cast from pointer to
integer of different size
../../gcc-3.4.1/gcc/unwind-pe.h:267: warning: cast to pointer from
integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c: In function `base_from_object':
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:254: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:256: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c: In function `classify_object_over_fdes':
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:645: warning: cast to pointer
from integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:646: warning: cast to pointer
from integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c: In function `linear_search_fdes':
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:828: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c: In function
`binary_search_single_encoding_fdes':
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:884: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:886: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c: In function
`binary_search_mixed_encoding_fdes':
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:915: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-dw2-fde.c:917: warning: cast from pointer
to integer of different size
../../gcc-3.4.1/gcc/unwind-pe.h: In function `size_of_encoded_value':
../../gcc-3.4.1/gcc/unwind-pe.h:89: internal compiler error: in
simplify_gen_subreg, at simplify-rtx.c:3444