[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13813] New: ld-mips-elf/comm-data.exp failures for mipsisa32r2el
From: |
hp at sourceware dot org |
Subject: |
[Bug ld/13813] New: ld-mips-elf/comm-data.exp failures for mipsisa32r2el-unknown-linux-gnu |
Date: |
Tue, 06 Mar 2012 16:31:55 +0000 |
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: address@hidden
ReportedBy: address@hidden
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 ld/13813] New: ld-mips-elf/comm-data.exp failures for mipsisa32r2el-unknown-linux-gnu,
hp at sourceware dot org <=