This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mips-elf/rtems and binutils 2.13.1pre1
- From: Ralf Corsepius <corsepiu at faw dot uni-ulm dot de>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Joel Sherrill <joel dot sherrill at OARcorp dot com>, Binutils List <binutils at sources dot redhat dot com>
- Date: 06 Nov 2002 22:28:46 +0100
- Subject: Re: mips-elf/rtems and binutils 2.13.1pre1
- References: <3DC97387.E3E23623@OARcorp.com> <20021106200527.GA2283@nevyn.them.org>
Am Mit, 2002-11-06 um 21.05 schrieb Daniel Jacobowitz:
> On Wed, Nov 06, 2002 at 01:54:47PM -0600, Joel Sherrill wrote:
> >
> > Hi,
> >
> > I am trying to compile all the RTEMS source for all targets using
> > binutils 2.13.1 pre1 and got this new error:
> >
> > mips-rtems-gcc --pipe -isystem ../../../../../p4600/lib/include
> > -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC
> > -DBOOTP_COMPAT -O4 -fomit-frame-pointer -g -Wall -mips3 -G0 -o
> > o-optimize/in_pcb.o -c
> > ../../../../../../../current/c/src/../../cpukit/libnetworking/netinet/in_pcb.c
> > {standard input}: Assembler messages:
> > {standard input}:1884: Error: illegal operands `sd 0,112($sp)'
> >
> > I didn't get that with binutils 2.13. No other changes. Any
> > ideas?
>
> Are you _sure_ there's no other changes? What is the source line
> (-save-temps)? "sd 0,112($sp)" is certainly illegal, and 2.12.1
> rejected it so I imagine 2.13 did too.
FYI: I can reproduce this bug with binutils-2.13
mips-rtems-gcc --pipe -isystem ../../../../../p4650/lib/include -DPACKAGE_NAME=\"rtems-c-src-libnetworking\" -DPACKAGE_TARNAME=
\"rtems-c-src-libnetworking\" -DPACKAGE_VERSION=\"20021021-test\" -DPACKAGE_STRING=\"rtems-c-src-libnetworking\ 20021021-test\"
-DPACKAGE_BUGREPORT=\"rtems-bugs@OARcorp.com\" -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC -DBOOTP_COMPAT
-O4 -fomit-frame-pointer -v -g -Wall -mcpu=4650 -G0 -mips3 -o o-optimize/in_pcb.o -c ../../../../../../../../rtems.ac55/c
/src/../../cpukit/libnetworking/netinet/in_pcb.c
Reading specs from /opt/rtems/lib/gcc-lib/mips-rtems/3.2/specs
Configured with: ../gcc-3.2/configure --target=mips-rtems --with-gnu-as --with-gnu-ld --with-newlib --verbose --with-system-zli
b --disable-nls --enable-version-specific-runtime-libs --enable-threads=rtems --prefix=/opt/rtems --enable-languages=c,c++,java
Thread model: rtems
gcc version 3.2
/opt/rtems/lib/gcc-lib/mips-rtems/3.2/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSI
ON=102 -Dmips -DMIPSEB -D_mips -D_MIPSEB -D__rtems__ -D__mips__ -D__MIPSEB__ -D__mips__ -D_MIPSEB -D__rtems__ -D__mips -D__MIPS
EB -D__mips -Asystem=rtems -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C -D__SIZE_TYPE__=unsigne
d int -D__PTRDIFF_TYPE__=int -U__mips -D__mips=3 -D__mips64 -D__mips_fpr=32 -DPACKAGE_NAME="rtems-c-src-libnetworking" -DPACKAG
E_TARNAME="rtems-c-src-libnetworking" -DPACKAGE_VERSION="20021021-test" -DPACKAGE_STRING="rtems-c-src-libnetworking 20021021-te
st" -DPACKAGE_BUGREPORT="rtems-bugs@OARcorp.com" -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC -DBOOTP_COMPAT -is
ystem ../../../../../p4650/lib/include ../../../../../../../../rtems.ac55/c/src/../../cpukit/libnetworking/netinet/in_pcb.c -mf
p64 -mgp64 -G0 -quiet -dumpbase in_pcb.c -mcpu=4650 -mips3 -g -O4 -Wall -version -fomit-frame-pointer -o - |
/opt/rtems/lib/gcc-lib/mips-rtems/3.2/../../../../mips-rtems/bin/as -G0 -mips3 -g -mcpu=4650 -v -o o-optimize/in_pcb.o
GNU CPP version 3.2 (cpplib) [AL 1.1, MM 40] BSD Mips
GNU C version 3.2 (mips-rtems)
compiled by GNU C version 3.2 20020903 (Red Hat Linux 8.0 3.2-7).
ignoring nonexistent directory "/opt/rtems/mips-rtems/sys-include"
#include "..." search starts here:
#include <...> search starts here:
../../../../../p4650/lib/include
/opt/rtems/include
/opt/rtems/lib/gcc-lib/mips-rtems/3.2/include
/opt/rtems/mips-rtems/include
End of search list.
GNU assembler version 2.13 (mips-rtems) using BFD version 2.13
{standard input}: Assembler messages:
{standard input}:1966: Error: illegal operands `sd 0,112($sp)'
Ralf