This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: binutils 2.19.92 linker broke with --as-needed flag
- From: Vincent Wen <wenvincent90 at gmail dot com>
- To: Vincent Wen <wenvincent90 at gmail dot com>, binutils at sourceware dot org
- Date: Tue, 2 Apr 2013 18:51:06 -0700
- Subject: Re: binutils 2.19.92 linker broke with --as-needed flag
- References: <CAF_=-cD=32qSTx9Q=ZUPjU1OyZh-_UmRT518KzK3roW=q2Gqtg at mail dot gmail dot com> <20130328023639 dot GL14552 at bubble dot grove dot modra dot org> <CALehDX4fduBUun9a3bc99exx3B+wB1KiwkY_HpfN9ps2bUbkZg at mail dot gmail dot com> <CAF_=-cA7WYSfO0jjGCPpKcPwOEjD+7v0G6pTbtDm13Zkv8rkgA at mail dot gmail dot com> <5154E517 dot 4000409 at gmail dot com> <CALehDX77XzF6hGxT82y+Ofe+ypwG64uZmrfj+e4ZZm-nSEhgOA at mail dot gmail dot com> <CAF_=-cAo_+bni4N++ynNcYQ5RKkMBg1i7aNcXZ-aCJPVb3ub8Q at mail dot gmail dot com> <CALehDX5F_WXmKS9K+EipTw5uGkM37cOc2K+Zqxpe8XwBtzaTxg at mail dot gmail dot com> <CAF_=-cDsPpAs8=D3dH1ho1NRDJ+W5VVhug8HU1fJmusDq_aNAQ at mail dot gmail dot com> <CAF_=-cDJDPPzhh7TF2-rcro=PnL1iBkMv8jvV1BU7EO7En5zbg at mail dot gmail dot com> <20130402232743 dot GA23282 at bubble dot grove dot modra dot org>
Here is the first FAIL. I can attach the ld.log file if you want me to
do it. Thanks.
Executing on host: sh -c
{/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld/ld-new
-m elf_x86_64 -o tmpdir/ld-partial.o -r ldgram.o ldlex-wrapper.o
lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o
ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_x86_64.o
eelf32_x86_64.o eelf_i386.o ei386linux.o eelf_l1om.o eelf_k1om.o
2>&1} /dev/null ld.tmp (timeout = 300)
/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld/ld-new:
Relocatable linking with relocations from format elf32-i386 (ldgram.o)
to format elf64-x86-64 (tmpdir/ld-partial.o) is not supported
/projects/bseswev_nonos/vwen/support/swlinux-2378/dejagnu/pc/binutils-2.23.2/ld/ld-new:
Relocatable linking with relocations from format elf32-i386 (ldgram.o)
to format elf64-x86-64 (tmpdir/ld-partial.o) is not supported
FAIL: bootstrap
On Tue, Apr 2, 2013 at 4:27 PM, Alan Modra <amodra@gmail.com> wrote:
> On Tue, Apr 02, 2013 at 11:47:15AM -0700, Vincent Wen wrote:
>> === ld Summary ===
>>
>> # of expected passes 476
>> # of unexpected failures 76
>> # of expected failures 7
>> # of unresolved testcases 155
>> # of untested testcases 4
>
> Something has gone wrong well before this point, but the information
> you show here doesn't help to determine the problem. Please show a
> dozen or so lines before the first failure in ld/ld.log, ie. lines
> before a line starting with "FAIL:", "UNTESTED:" or "ERROR:".
>
> --
> Alan Modra
> Australia Development Lab, IBM