This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: linux->a29k-coff compiling error
- To: joel dot sherrill at OARcorp dot com
- Subject: Re: linux->a29k-coff compiling error
- From: james <zhz at public1 dot sta dot net dot cn>
- Date: Thu, 06 Jan 2000 09:45:43 +0800
- Cc: gcc at gcc dot gnu dot org, help-gcc at gnu dot org, crossgcc at sourceware dot cygnus dot com
Hi joel,
At 07:30 00-1-4 -0600, Joel Sherrill wrote:
>
>Brendan is right. This error normally occurs when compiling the
>support gcc libraries cross and is indicative of using the wrong
>assembler. But this time, you are pretty far along in the
>compilation process. It looks like C++ is forcing the a29k backend
>to produce bad assembly code or the a29k binutils is not accepting
>valid a29k code. The thing to do at this point is:
>
>1. Investigate further. cd to the appropriate directory in the
> build tree and execute the command by hand adding the "-S"
> option to get an assembly file. Then assembly it by hand.
> Figure out whether the assembly language in question is good
> or bad. If it is good and binutils is not accepting it, then
> you have a binutils bug. Otherwise, gcc is producing bad
> assembly code. In that case, look at the -d options to gcc.
> The more information in your bug report the better. There are
> not many a29k users left.
>
thanks for your reply, I'll investigate later.
>2. For now, only compile C to avoid this. :)
>
your are right, I have to remove the C++ support, below is my config.status
file:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../gcc-2.95.2/configure
--with-gcc-version-trigger=/tar-files/gcc-src/gcc-2.95.2/gcc/version.c
--host=i586-pc-linux-gnu --target=a29k-coff --prefix=/sw/newtools
--with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c -v
--norecursion
#
but I got the error msg:
../../gcc-2.95.2/gcc/combine.c:3362: warning: integer overflow in expression
../../gcc-2.95.2/gcc/combine.c:3367: warning: integer overflow in expression
what does this mean ?
thanks in advance
regards/james
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/loop.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/unroll.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/flow.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/stupid.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/combine.c
../../gcc-2.95.2/gcc/combine.c: In function `simplify_rtx':
../../gcc-2.95.2/gcc/combine.c:3362: warning: integer overflow in expression
../../gcc-2.95.2/gcc/combine.c:3367: warning: integer overflow in expression
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc/varray.c
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include ../../gcc-2.95.2/gcc
>> ------
>> Want more information? See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
>> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>
>--
>Joel Sherrill, Ph.D. Director of Research & Development
>joel@OARcorp.com On-Line Applications Research
>Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
>