[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/15227] New: test PR ld/12942(3) fails on multiple targets
From: |
janis at gcc dot gnu.org |
Subject: |
[Bug ld/15227] New: test PR ld/12942(3) fails on multiple targets |
Date: |
Tue, 05 Mar 2013 00:12:44 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15227
Bug #: 15227
Summary: test PR ld/12942(3) fails on multiple targets
Product: binutils
Version: 2.24 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
Test PR ld/12942 (3) in ld-plugins fails because the test, in
ld/testsuite/ld-plugins/lto.exp, expects output:
pr12942a.h:7: undefined reference to `link_error()
but the actual output for i686-pc-linux-gnu, arm-none-eabi,
arm-none-linux-gnueabi, and powerpc-linux-gnu is
pr12942b.cc:(.text._Z4testv[_Z4testv]+0x14): undefined reference to
`link_error()'
The expected message is output if file pr12942b.cc is named in the link line,
but the actual output is given when pr12942.o is used in the link line. Is
this a bug in the linker or in the test?
In addition, the test fails to link for arm-none-eabi with an undefined
reference to abort. This can be fixed by replacing abort with __builtin_abort
in the test source, as is done with other tests that are linked on bare-metal
targets.
The test was added by H.J. Lu.
--
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/15227] New: test PR ld/12942(3) fails on multiple targets,
janis at gcc dot gnu.org <=