[Bug ld/13813] New: ld-mips-elf/comm-data.exp failures for mipsisa32r2el-unknown-linux-gnu

2012-03-06 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=13813

 Bug #: 13813
   Summary: ld-mips-elf/comm-data.exp failures for
mipsisa32r2el-unknown-linux-gnu
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sourceware.org
ReportedBy: h...@sourceware.org
Classification: Unclassified
Target: mipsisa32r2el-unknown-linux-gnu


The n32 and n64 variants in ld-mips-elf/comm-data.exp fail assembly:
Running /home/hp/binutils/src/ld/testsuite/ld-mips-elf/comm-data.exp ...
ERROR: -n32 -EB -call_shared
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data1.s: assembly
failed
ERROR: -n32 -EB -call_nonpic
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data2.s: assembly
failed
ERROR: -n32 -EB -call_shared
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data1.s: assembly
failed
ERROR: -n32 -EB -call_nonpic
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data2.s: assembly
failed
ERROR: -64 -EB -call_shared
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data1.s: assembly
failed
ERROR: -64 -EB --defsym ELF64=1 -call_nonpic
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data2.s: assembly
failed
ERROR: -64 -EB -call_shared
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data1.s: assembly
failed
ERROR: -64 -EB --defsym ELF64=1 -call_nonpic
/home/hp/binutils/src/ld/testsuite/ld-mips-elf/../ld-elf/comm-data2.s: assembly
failed

In ld.log:
Assembler messages:
Error: -march=mips32r2 is not compatible with the selected ABI
Assembler messages:
Error: -march=mips32r2 is not compatible with the selected ABI

Looking at the source, the mipsisa32r2 in the target triple is taken as the
default for the -march option, and "64-bit registers" are required.  I verified
a simple fix is adding a proper -march option to the test-cases for the 64-bit
variants.  Patch to be posted.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/3807] binutils-all/objcopy.exp test-suite failure for mips-elf

2012-03-06 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=3807

Hans-Peter Nilsson  changed:

   What|Removed |Added

URL||http://sourceware.org/ml/bi
   ||nutils/2012-03/msg00015.htm
   ||l
Summary|binutils failure for|binutils-all/objcopy.exp
   |mips-elf on HEAD|test-suite failure for
   ||mips-elf

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/3807] binutils-all/objcopy.exp test-suite failure for mipsisa32r2el-elf

2012-03-06 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=3807

Hans-Peter Nilsson  changed:

   What|Removed |Added

 Target|mips-elf|mipsisa32r2el-elf
Summary|binutils-all/objcopy.exp|binutils-all/objcopy.exp
   |test-suite failure for  |test-suite failure for
   |mips-elf|mipsisa32r2el-elf

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/3809] ld failures for mips-elf on HEAD

2012-03-06 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=3809

Hans-Peter Nilsson  changed:

   What|Removed |Added

URL||http://sourceware.org/ml/bi
   ||nutils/2012-03/msg00040.htm
   ||l

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils