This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/15331] New: Assembler error building gnatlib on IRIX 6.5 with GNU as 2.14.91


Bootstrapping the current 3.4 branch on IRIX 6.5 with GNU as from the binutils
2.15 branch fails due to what seems to be invalid assembler code:

../../xgcc -B../../ -c -g -O2      -W -Wall -gnatpg  s-mastop.adb -o s-mastop.o -v -save-temps                  
Reading specs from ../../specs
Configured with: /.vol/gcc/src/gcc-3.4-branch-dist/configure --prefix=/.vol/gcc --with-local-prefix=/.vol/gcc --disable-nls --with-gnu-as --with-as=/homes/ro/bin/gas-2.14.91 --enable-libgcj
Thread model: single
gcc version 3.4.1 20040506 (prerelease)
 ../../gnat1 -quiet -dumpbase s-mastop.adb -g -gnatpg -O2 -W -Wall -gnatO s-mastop.o s-mastop.adb -o s-mastop.s
 /homes/ro/bin/gas-2.14.91 --traditional-format -EB -O2 -g -no-mdebug -v -n32 -mips3 -o s-mastop.o s-mastop.s
GNU assembler version 2.14.91 (mips-sgi-irix6.5) using BFD version 2.14.91 20040506
s-mastop.s: Assembler messages:
s-mastop.s:108: Error: illegal operands `ld'
[...]

The file assembles ok with GNU as 2.14.90 20040209, but the affected lines seem
bogus nonetheless:

	ld $16,  16*8+ +16($4)

I'm not sure if the second `+' is interpreted as a unary plus here.  But (after
removing several instances of .[ul]eb128, even the native assembler groks this
file without problems.

Environment:
System: IRIX64 columba 6.5 10120104 IP27


	
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /.vol/gcc/src/gcc-3.4-branch-dist/configure --prefix=/.vol/gcc --with-local-prefix=/.vol/gcc --disable-nls --with-gnu-as --with-as=/homes/ro/bin/gas-2.14.91 --enable-libgcj

How-To-Repeat:
Bootstrap current 3.4 branch on IRIX 6.5 with Ada included as described above.

-- 
           Summary: Assembler error building gnatlib on IRIX 6.5 with GNU as
                    2.14.91
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15331


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]