This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GOLD: PATCH: Support parallel build
- From: Ian Lance Taylor <iant at google dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 04 Dec 2009 21:49:28 -0800
- Subject: Re: GOLD: PATCH: Support parallel build
- References: <20091204083259.GA15735@lucon.org>
"H.J. Lu" <hongjiu.lu@intel.com> writes:
> If we don't change LDADD, we need to add $(DEPENDENCIES) to
> xxx_DEPENDENCIES. Otherwise, parallel build will fail since
> $(LDADD) will be used for link. OK to install?
>
>
> H.J.
> ---
> 2009-12-03 H.J. Lu <hongjiu.lu@intel.com>
>
> * Makefile.am (constructor_test_DEPENDENCIES): Add $(DEPENDENCIES).
> (two_file_test_DEPENDENCIES): Likewise.
> (common_test_1_DEPENDENCIES): Likewise.
> (exception_test_DEPENDENCIES) Likewise.
> (weak_test_DEPENDENCIES): Likewise.
> (many_sections_test_DEPENDENCIES): Likewise.
> (initpri1_DEPENDENCIES): Likewise.
> (script_test_1_DEPENDENCIES): Likewise.
> (script_test_2_DEPENDENCIES): Likewise.
> (justsyms_DEPENDENCIES): Likewise.
> (binary_test_DEPENDENCIES): Likewise.
> (large_DEPENDENCIES): Likewise.
> * Makefile.in: Regenerated.
This is not the right fix. These tests should not be linked against
the libraries listed in LDADD. It may be that we should avoid using
LDADD at all.
Ian