This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on gcc-3_4-branch for powerpc-eabisim target.
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Thu, 19 Feb 2004 21:41:39 +0100 (CET)
- Subject: Re: Bootstrap failure on gcc-3_4-branch for powerpc-eabisim target.
On Thu, 19 Feb 2004, Andrew Pinski wrote:
> > The compiler and environment was configured with:
> >
> > thinkpad:/mnt/karel/gcc340-sim/obj$ ../combined/configure
> > --target=powerpc-eabisim --prefix=/mnt/karel/gcc340-sim/powerpc-eabisim
> > --with-newlib --disable-gdbtk --enable-languages=c++
>
>
> This was caused by:
> 2004-02-19 Alan Modra <amodra@bigpond.net.au>
>
> * function.c (assign_parms): When building decl_rtl for
> SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.
>
> Basically set_decl_incoming_rtl is not on the branch but on the
> mainline.
FYI: When I tried to revert last revision of function.c file, the build
still fails with:
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../combined/gcc -I../../combined/gcc/.
-I../../combined/gcc/../include ../../combined/gcc/function.c -o
function.o
../../combined/gcc/function.c: In function `aggregate_value_p':
../../combined/gcc/function.c:4269: error: `hard_regno_nregs' undeclared
(first use in this function)
../../combined/gcc/function.c:4269: error: (Each undeclared identifier is
reported only once
../../combined/gcc/function.c:4269: error: for each function it appears
in.)
../../combined/gcc/function.c: In function `assign_parms':
../../combined/gcc/function.c:4654: warning: implicit declaration of
function `set_decl_incoming_rtl'
../../combined/gcc/function.c: In function `allocate_struct_function':
../../combined/gcc/function.c:6417: warning: implicit declaration of
function `DECL_STRUCT_FUNCTION'
../../combined/gcc/function.c:6417: error: invalid lvalue in assignment
../../combined/gcc/function.c: In function `prepare_function_start':
../../combined/gcc/function.c:6443: warning: assignment makes pointer from
integer without a cast
../../combined/gcc/function.c: In function `keep_stack_depressed':
../../combined/gcc/function.c:7501: error: `hard_regno_nregs' undeclared
(first use in this function)
make[1]: *** [function.o] Error 1
make[1]: Leaving directory `/mnt/karel/gcc340-sim/obj/gcc'
make: *** [all-gcc] Error 2
Is there anything wrong with my assumption that this patch touches only
this one file?
Thanks,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com