public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: james <zhz@public1.sta.net.cn>
To: joel.sherrill@OARcorp.com
Cc: gcc@gcc.gnu.org, help-gcc@gnu.org, crossgcc@sourceware.cygnus.com
Subject: Re: linux->a29k-coff compiling error
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <3.0.32.20000106094119.01c4fdc4@public1.sta.net.cn> (raw)
Message-ID: <20000401000000.0b8Nerq5GmnQBmFPQK7uPrjPCTVmHkq_SG_4Cw2TNns@z> (raw)

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
>

             reply	other threads:[~2000-04-01  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-05 17:49 james [this message]
2000-04-01  0:00 ` james
  -- strict thread matches above, loose matches on Subject: below --
2000-01-03 20:57 james
2000-01-04  5:39 ` Joel Sherrill
2000-04-01  0:00   ` Joel Sherrill
2000-04-01  0:00 ` james

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.32.20000106094119.01c4fdc4@public1.sta.net.cn \
    --to=zhz@public1.sta.net.cn \
    --cc=crossgcc@sourceware.cygnus.com \
    --cc=gcc@gcc.gnu.org \
    --cc=help-gcc@gnu.org \
    --cc=joel.sherrill@OARcorp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).