This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Question about ld tests requiring plugins support
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Tue, 26 Aug 2014 17:02:08 +0800
- Subject: Question about ld tests requiring plugins support
- Authentication-results: sourceware.org; auth=none
Hi,
I ran into ld/lto testing failures of my arm/aarch64 toolchain. The
command and error message is like below.
Executing on host: sh -c
{/home/binche01/work/oban-work/build-aarch64-none-elf/obj/binutils/ld/../binutils/ar
-rc tmpdir/liblto-12.a tmpdir/lto-12c.o 2>&1} /dev/null ld.tmp
(timeout = 1500)
spawn [open ...]
BFD: tmpdir/lto-12c.o: plugin needed to handle lto object
BFD: tmpdir/lto-12c.o: plugin needed to handle lto object
I suppose it's necessary to specify "--plugin .../liblto_plugin.so",
but not sure how to do it. Do I need to add this option in dejagnu
stuff, or it can be done automatically by configuring binutils with
some options?
Thanks,
bin