This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Skip ld/lto tests if plugins is disabled for binutils?
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: "Bin.Cheng" <amker dot cheng at gmail dot com>, binutils at sourceware dot org
- Date: Mon, 11 Aug 2014 16:21:55 +0800
- Subject: Re: Skip ld/lto tests if plugins is disabled for binutils?
- Authentication-results: sourceware.org; auth=none
- References: <CAHFci2_KGa344-+6LONhwukBjM7ndBNJyXz+RnLtjvMsnVWRow at mail dot gmail dot com> <20140811075538 dot GE7047 at bubble dot grove dot modra dot org>
On Mon, Aug 11, 2014 at 3:55 PM, Alan Modra <amodra@gmail.com> wrote:
> On Mon, Aug 11, 2014 at 02:26:19PM +0800, Bin.Cheng wrote:
>> Hi,
>> I found there are some FAIL ld test cases with message like "sorry -
>> this program has been built without plugin support", and the program
>> in this case is ar. I think it's because I configured/built binutils
>> without "--enable-plugins", the question is:
>> should we skip these kind of tests if plugins isn't enabled?
>
> Actually the real question is why are we enabling plugins for ld
> but not ar?
Thanks Alan, is it possible for binutils to have different plugin
enabling for sub-programs? we use below configuration options, from
which I see nothing special.
.../binutils-gdb/configure
--enable-64-bit-bfd
--enable-targets=arm-none-eabi,aarch64-none-linux-gnu,aarch64-none-elf
--disable-newlib-supplied-syscalls
--enable-newlib-io-long-long
--enable-newlib-mb
--disable-gdb
--without-gdb
--target=aarch64-none-elf
--prefix=...
--with-pkgversion=unknown
--disable-nls
--without-x
--disable-gdbtk
--disable-tui
--without-python
--without-tcl
--without-tk
Thanks,
bin